diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-30 20:38:31 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-07 08:13:56 -0700 |
| commit | 17cb238ee80726c057a16c90b8c4e7e8bfd25c9d (patch) | |
| tree | 4f992bdfc4bd4331ec1ca29b2e5e3c8245b469dc | |
| parent | 8ed728babb057c0f736a63a69ba772e45278148f (diff) | |
core: Inherit the raw module
| -rw-r--r-- | src/libcore/lib.rs | 1 | ||||
| -rw-r--r-- | src/libcore/raw.rs (renamed from src/libstd/raw.rs) | 1 | ||||
| -rw-r--r-- | src/libstd/lib.rs | 3 |
3 files changed, 3 insertions, 2 deletions
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 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 */ |
