about summary refs log tree commit diff
path: root/src/librlibc/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librlibc/lib.rs')
-rw-r--r--src/librlibc/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librlibc/lib.rs b/src/librlibc/lib.rs
index 706b5c33255..739ec2cf43f 100644
--- a/src/librlibc/lib.rs
+++ b/src/librlibc/lib.rs
@@ -28,13 +28,16 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/master/")]
 
-#![feature(intrinsics, phase)]
+#![feature(import_shadowing, intrinsics, phase)]
 #![no_std]
 
 // This library defines the builtin functions, so it would be a shame for
 // LLVM to optimize these function calls to themselves!
 #![no_builtins]
 
+// NOTE(stage0, pcwalton): Remove after snapshot.
+#![allow(unknown_features)]
+
 #[cfg(test)] extern crate native;
 #[cfg(test)] extern crate test;
 #[cfg(test)] extern crate debug;