Fix the stability attributes for std::os::fd
.
As @bjorn3 pointed out [here], I used the wrong stability attribute in #98368 when making `std::os::fd` public. I set it to Rust 1.63, which was when io-safety was stabilized, but it should be Rust 1.66, which was when `std::os::fd` was stabilized. [here]: https://github.com/rust-lang/rust/pull/98368#discussion_r1063721420
This commit is contained in:
parent
44a500c8c1
commit
287c65838c
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
//! This module is supported on Unix platforms and WASI, which both use a
|
//! This module is supported on Unix platforms and WASI, which both use a
|
||||||
//! similar file descriptor system for referencing OS resources.
|
//! similar file descriptor system for referencing OS resources.
|
||||||
|
|
||||||
#![stable(feature = "io_safety", since = "1.63.0")]
|
#![stable(feature = "os_fd", since = "1.66.0")]
|
||||||
#![deny(unsafe_op_in_unsafe_fn)]
|
#![deny(unsafe_op_in_unsafe_fn)]
|
||||||
|
|
||||||
// `RawFd`, `AsRawFd`, etc.
|
// `RawFd`, `AsRawFd`, etc.
|
||||||
|
@ -19,7 +19,7 @@ mod net;
|
||||||
mod tests;
|
mod tests;
|
||||||
|
|
||||||
// Export the types and traits for the public API.
|
// Export the types and traits for the public API.
|
||||||
#[unstable(feature = "os_fd", issue = "98699")]
|
#[stable(feature = "os_fd", since = "1.66.0")]
|
||||||
pub use owned::*;
|
pub use owned::*;
|
||||||
#[unstable(feature = "os_fd", issue = "98699")]
|
#[stable(feature = "os_fd", since = "1.66.0")]
|
||||||
pub use raw::*;
|
pub use raw::*;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue