Skip to content

Commit 43db21c

Browse files
committed
Refactor: Mv OsStr/OsStrExt to core, OsString/OsStringExt to alloc
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
1 parent 717aec0 commit 43db21c

File tree

29 files changed

+4829
-3163
lines changed

29 files changed

+4829
-3163
lines changed

Diff for: library/alloc/src/ffi/mod.rs

+15
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,18 @@ pub use self::c_str::{FromVecWithNulError, IntoStringError, NulError};
8989

9090
#[unstable(feature = "c_str_module", issue = "112134")]
9191
pub mod c_str;
92+
93+
#[stable(feature = "rust1", since = "1.0.0")]
94+
#[doc(inline)]
95+
pub use self::os_str::OsString;
96+
97+
#[unstable(feature = "os_str_display", issue = "120048")]
98+
pub mod os_str;
99+
100+
#[unstable(
101+
feature = "os_str_internals",
102+
reason = "internal details of the implementation of os str",
103+
issue = "none"
104+
)]
105+
#[doc(hidden)]
106+
pub mod wtf8;

0 commit comments

Comments
 (0)