File tree Expand file tree Collapse file tree 3 files changed +7
-20
lines changed
library/std/src/os/wasi/io Expand file tree Collapse file tree 3 files changed +7
-20
lines changed Original file line number Diff line number Diff line change 11//! Owned and borrowed file descriptors.
22
3- #![ unstable ( feature = "wasi_ext " , issue = "71213 " ) ]
3+ #![ stable ( feature = "io_safety_wasi " , since = "1.65.0 " ) ]
44
55// Tests for this module
66#[ cfg( test) ]
77mod tests;
88
9+ #[ stable( feature = "io_safety_wasi" , since = "1.65.0" ) ]
910pub use crate :: os:: fd:: owned:: * ;
Original file line number Diff line number Diff line change 11//! WASI-specific extensions to general I/O primitives.
22
33#![ deny( unsafe_op_in_unsafe_fn) ]
4- #![ unstable ( feature = "wasi_ext " , issue = "71213 " ) ]
4+ #![ stable ( feature = "io_safety_wasi " , since = "1.65.0 " ) ]
55
66mod fd;
77mod raw;
88
9- #[ unstable ( feature = "wasi_ext " , issue = "71213 " ) ]
9+ #[ stable ( feature = "io_safety_wasi " , since = "1.65.0 " ) ]
1010pub use fd:: * ;
11- #[ unstable ( feature = "wasi_ext " , issue = "71213 " ) ]
11+ #[ stable ( feature = "io_safety_wasi " , since = "1.65.0 " ) ]
1212pub use raw:: * ;
Original file line number Diff line number Diff line change 11//! WASI-specific extensions to general I/O primitives.
22
3- #![ unstable ( feature = "wasi_ext " , issue = "71213 " ) ]
3+ #![ stable ( feature = "io_safety_wasi " , since = "1.65.0 " ) ]
44
5- // NOTE: despite the fact that this module is unstable,
6- // stable Rust had the capability to access the stable
7- // re-exported items from os::fd::raw through this
8- // unstable module.
9- // In PR #95956 the stability checker was changed to check
10- // all path segments of an item rather than just the last,
11- // which caused the aforementioned stable usage to regress
12- // (see issue #99502).
13- // As a result, the items in os::fd::raw were given the
14- // rustc_allowed_through_unstable_modules attribute.
15- // No regression tests were added to ensure this property,
16- // as CI is not configured to test wasm32-wasi.
17- // If this module is stabilized,
18- // you may want to remove those attributes
19- // (assuming no other unstable modules need them).
5+ #[ stable( feature = "io_safety_wasi" , since = "1.65.0" ) ]
206pub use crate :: os:: fd:: raw:: * ;
You can’t perform that action at this time.
0 commit comments