diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-07-15 03:10:35 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2022-07-15 03:10:35 -0700 |
| commit | d6b7480c2a086d9284cfd4ed3f3e3612880a75d7 (patch) | |
| tree | c1f2b79c6238ac28ca97480c5044ed6a9daa5408 /library/alloc/src/lib.rs | |
| parent | 522abf6d88a45f9f49a1b2217426eef1c3a09b52 (diff) | |
| download | rust-d6b7480c2a086d9284cfd4ed3f3e3612880a75d7.tar.gz rust-d6b7480c2a086d9284cfd4ed3f3e3612880a75d7.zip | |
Stabilize `core::ffi::CStr`, `alloc::ffi::CString`, and friends
Stabilize the `core_c_str` and `alloc_c_string` feature gates. Change `std::ffi` to re-export these types rather than creating type aliases, since they now have matching stability.
Diffstat (limited to 'library/alloc/src/lib.rs')
| -rw-r--r-- | library/alloc/src/lib.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 541de5c9029..315469387e5 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -86,7 +86,6 @@ #![allow(explicit_outlives_requirements)] // // Library features: -#![cfg_attr(not(no_global_oom_handling), feature(alloc_c_string))] #![feature(alloc_layout_extra)] #![feature(allocator_api)] #![feature(array_chunks)] @@ -106,7 +105,6 @@ #![feature(const_maybe_uninit_write)] #![feature(const_maybe_uninit_as_mut_ptr)] #![feature(const_refs_to_cell)] -#![feature(core_c_str)] #![feature(core_intrinsics)] #![feature(const_eval_select)] #![feature(const_pin)] |
