Skip to content

Commit da118e8

Browse files
committed
Snapshot cleanup
1 parent cafb7ed commit da118e8

File tree

5 files changed

+1
-18
lines changed

5 files changed

+1
-18
lines changed

src/compiletest/compiletest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#[feature(phase)];
1313

1414
#[allow(non_camel_case_types)];
15-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
1615
#[deny(warnings)];
1716

1817
extern crate test;

src/driver/driver.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,4 @@ extern crate this = "rustdoc";
1414
#[cfg(rustc)]
1515
extern crate this = "rustc";
1616

17-
#[cfg(not(stage0))]
1817
fn main() { this::main() }
19-
20-
#[cfg(stage0)]
21-
#[start]
22-
fn start(argc: int, argv: **u8) -> int { native::start(argc, argv, this::main) }

src/libgreen/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,6 @@ pub mod sleeper_list;
207207
pub mod stack;
208208
pub mod task;
209209

210-
#[lang = "start"]
211-
#[cfg(not(test), stage0)]
212-
pub fn lang_start(main: *u8, argc: int, argv: **u8) -> int {
213-
use std::cast;
214-
start(argc, argv, proc() {
215-
let main: extern "Rust" fn() = unsafe { cast::transmute(main) };
216-
main();
217-
})
218-
}
219-
220210
/// Set up a default runtime configuration, given compiler-supplied arguments.
221211
///
222212
/// This function will block until the entire pool of M:N schedulers have

src/libnative/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static OS_DEFAULT_STACK_ESTIMATE: uint = 1 << 20;
6969
static OS_DEFAULT_STACK_ESTIMATE: uint = 2 * (1 << 20);
7070

7171
#[lang = "start"]
72-
#[cfg(not(test), not(stage0))]
72+
#[cfg(not(test))]
7373
pub fn lang_start(main: *u8, argc: int, argv: **u8) -> int {
7474
use std::cast;
7575
start(argc, argv, proc() {

src/libstd/intrinsics.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ pub trait TyVisitor {
164164
fn visit_self(&mut self) -> bool;
165165
}
166166

167-
168167
extern "rust-intrinsic" {
169168

170169
// NB: These intrinsics take unsafe pointers because they mutate aliased

0 commit comments

Comments
 (0)