Skip to content

Commit

Permalink
Refactor: Mv OsStr/OsStrExt to core, OsString/OsStringExt to …
Browse files Browse the repository at this point in the history
…alloc

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu committed Aug 25, 2024
1 parent 717aec0 commit 43db21c
Show file tree
Hide file tree
Showing 29 changed files with 4,829 additions and 3,163 deletions.
15 changes: 15 additions & 0 deletions library/alloc/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,18 @@ pub use self::c_str::{FromVecWithNulError, IntoStringError, NulError};

#[unstable(feature = "c_str_module", issue = "112134")]
pub mod c_str;

#[stable(feature = "rust1", since = "1.0.0")]
#[doc(inline)]
pub use self::os_str::OsString;

#[unstable(feature = "os_str_display", issue = "120048")]
pub mod os_str;

#[unstable(
feature = "os_str_internals",
reason = "internal details of the implementation of os str",
issue = "none"
)]
#[doc(hidden)]
pub mod wtf8;
Loading

0 comments on commit 43db21c

Please sign in to comment.