Skip to content

Commit d20fd62

Browse files
Add missing stability attributes in libstd
1 parent 5ab4d46 commit d20fd62

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

library/std/src/os/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub use crate::sys::windows_ext as windows;
2323
pub mod linux;
2424

2525
#[cfg(doc)]
26+
#[stable(feature = "wasi_ext_doc", since = "1.35.0")]
2627
pub use crate::sys::wasi_ext as wasi;
2728

2829
// If we're not documenting libstd then we just expose the main modules as we otherwise would.

library/std/src/sys/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ cfg_if::cfg_if! {
111111
cfg_if::cfg_if! {
112112
if #[cfg(target_os = "wasi")] {
113113
// On WASI we'll document what's already available
114-
#[stable(feature = "rust1", since = "1.0.0")]
114+
#[stable(feature = "wasi_ext_doc", since = "1.35.0")]
115115
pub use self::ext as wasi_ext;
116116
} else if #[cfg(any(target_os = "hermit",
117117
target_arch = "wasm32",
@@ -125,6 +125,7 @@ cfg_if::cfg_if! {
125125
} else {
126126
// On other platforms like Windows document the bare bones of WASI
127127
#[path = "wasi/ext/mod.rs"]
128+
#[stable(feature = "wasi_ext_doc", since = "1.35.0")]
128129
pub mod wasi_ext;
129130
}
130131
}

0 commit comments

Comments
 (0)