core: Inherit the intrinsics module

This commit is contained in:
Alex Crichton
2014-04-30 20:04:56 -07:00
parent 836d4b96a9
commit 5b75e44fb0
5 changed files with 25 additions and 4 deletions

View File

@@ -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 */