about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-04-30 20:04:56 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-07 08:12:48 -0700
commit5b75e44fb01f0eda10ce8d8df92b80945d894768 (patch)
tree5d8a2300e8eacc5afa7d1f98a562c125c5189f92 /src/libstd/lib.rs
parent836d4b96a91cd6a36228d757004655e26e3f2c46 (diff)
downloadrust-5b75e44fb01f0eda10ce8d8df92b80945d894768.tar.gz
rust-5b75e44fb01f0eda10ce8d8df92b80945d894768.zip
core: Inherit the intrinsics module
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index bf24bf405a0..2c971542960 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -122,8 +122,8 @@
 // Make and rand accessible for benchmarking/testcases
 #[cfg(test)] extern crate rand;
 
-// we wrap some libc stuff
 extern crate libc;
+extern crate core;
 
 // Make std testable by not duplicating lang items. See #2912
 #[cfg(test)] extern crate realstd = "std";
@@ -133,6 +133,8 @@ extern crate libc;
 #[cfg(test)] pub use ty = realstd::ty;
 #[cfg(test)] pub use owned = realstd::owned;
 
+pub use core::intrinsics;
+
 // Run tests with libgreen instead of libnative.
 //
 // FIXME: This egregiously hacks around starting the test runner in a different
@@ -255,8 +257,6 @@ pub mod reflect;
 #[unstable]
 pub mod unstable;
 #[experimental]
-pub mod intrinsics;
-#[experimental]
 pub mod raw;
 
 /* For internal use, not exported */