about summary refs log tree commit diff
path: root/src/libnative
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-06 09:26:47 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-06 09:26:47 -0800
commit6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8 (patch)
treea9c895d3360c6d8997b173b2106765b0256c06c8 /src/libnative
parentb6a1fde1c6a13691f21cf739a9e4b6706c6c49c9 (diff)
downloadrust-6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8.tar.gz
rust-6b2a6cb3fe241d6e27fc685a72dd05c3a55d1ea8.zip
Register new snapshots
Diffstat (limited to 'src/libnative')
-rw-r--r--src/libnative/lib.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libnative/lib.rs b/src/libnative/lib.rs
index 9c30e94194d..7691f0b5567 100644
--- a/src/libnative/lib.rs
+++ b/src/libnative/lib.rs
@@ -19,9 +19,6 @@
 #[crate_type = "rlib"];
 #[crate_type = "dylib"];
 
-// Allow check-stage0-native for now
-#[cfg(stage0, test)] extern mod green;
-
 // NB this crate explicitly does *not* allow glob imports, please seriously
 //    consider whether they're needed before adding that feature here (the
 //    answer is that you don't need them)
@@ -34,7 +31,7 @@ pub mod io;
 pub mod task;
 
 // XXX: this should not exist here
-#[cfg(stage0)]
+#[cfg(stage0, nativestart)]
 #[lang = "start"]
 pub fn lang_start(main: *u8, argc: int, argv: **u8) -> int {
     use std::cast;