Skip to content

Commit 7a3145c

Browse files
committed
Stabilise c_str_module
1 parent a36adc4 commit 7a3145c

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

alloc/src/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ pub use self::c_str::CString;
8787
#[stable(feature = "alloc_c_string", since = "1.64.0")]
8888
pub use self::c_str::{FromVecWithNulError, IntoStringError, NulError};
8989

90-
#[unstable(feature = "c_str_module", issue = "112134")]
90+
#[stable(feature = "c_str_module", since = "CURRENT_RUSTC_VERSION")]
9191
pub mod c_str;

core/src/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub use self::c_str::FromBytesUntilNulError;
2020
pub use self::c_str::FromBytesWithNulError;
2121
use crate::fmt;
2222

23-
#[unstable(feature = "c_str_module", issue = "112134")]
23+
#[stable(feature = "c_str_module", since = "CURRENT_RUSTC_VERSION")]
2424
pub mod c_str;
2525

2626
#[unstable(

std/src/ffi/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
162162
#![stable(feature = "rust1", since = "1.0.0")]
163163

164-
#[unstable(feature = "c_str_module", issue = "112134")]
164+
#[stable(feature = "c_str_module", since = "CURRENT_RUSTC_VERSION")]
165165
pub mod c_str;
166166

167167
#[stable(feature = "core_c_void", since = "1.30.0")]

std/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@
327327
#![feature(array_chunks)]
328328
#![feature(bstr)]
329329
#![feature(bstr_internals)]
330-
#![feature(c_str_module)]
331330
#![feature(char_internals)]
332331
#![feature(clone_to_uninit)]
333332
#![feature(core_intrinsics)]

0 commit comments

Comments
 (0)