core: Inherit the intrinsics module
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user