diff --git a/src/libcore/lib.rs b/src/libcore/lib.rs index 08b0434d827..fe4809a5001 100644 --- a/src/libcore/lib.rs +++ b/src/libcore/lib.rs @@ -39,4 +39,5 @@ pub mod container; pub mod any; pub mod finally; +pub mod raw; pub mod char; diff --git a/src/libstd/raw.rs b/src/libcore/raw.rs similarity index 99% rename from src/libstd/raw.rs rename to src/libcore/raw.rs index 9b0463089d0..d6caa145ae9 100644 --- a/src/libstd/raw.rs +++ b/src/libcore/raw.rs @@ -9,6 +9,7 @@ // except according to those terms. #![allow(missing_doc)] +#![experimental] //! Contains struct definitions for the layout of compiler built-in types. //! diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 356b653281e..4485da81969 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -144,6 +144,7 @@ pub use core::container; pub use core::intrinsics; pub use core::mem; pub use core::ptr; +pub use core::raw; // Run tests with libgreen instead of libnative. // @@ -255,8 +256,6 @@ pub mod reflect; // Private APIs #[unstable] pub mod unstable; -#[experimental] -pub mod raw; /* For internal use, not exported */