Skip to content

Commit bf3aa10

Browse files
authored
Rollup merge of #106867 - sunfishcode:sunfishcode/std-os-fd-stable-version, r=m-ou-se
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]: rust-lang/rust#98368 (comment)
2 parents 626ad28 + c360ede commit bf3aa10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

std/src/os/fd/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//! This module is supported on Unix platforms and WASI, which both use a
44
//! similar file descriptor system for referencing OS resources.
55
6-
#![stable(feature = "io_safety", since = "1.63.0")]
6+
#![stable(feature = "os_fd", since = "1.66.0")]
77
#![deny(unsafe_op_in_unsafe_fn)]
88

99
// `RawFd`, `AsRawFd`, etc.
@@ -19,7 +19,7 @@ mod net;
1919
mod tests;
2020

2121
// Export the types and traits for the public API.
22-
#[unstable(feature = "os_fd", issue = "98699")]
22+
#[stable(feature = "os_fd", since = "1.66.0")]
2323
pub use owned::*;
24-
#[unstable(feature = "os_fd", issue = "98699")]
24+
#[stable(feature = "os_fd", since = "1.66.0")]
2525
pub use raw::*;

0 commit comments

Comments
 (0)