Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark std::os::wasi::io::AsFd etc. as stable. #103308

Merged
merged 2 commits into from
Oct 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Mark std::os::wasi::io::AsFd etc. as stable.
io_safety was stabilized in Rust 1.63, so mark the io_safety exports in
`std::os::wasi::io` as stable.

Fixes #103306.
  • Loading branch information
sunfishcode committed Oct 20, 2022
commit e56b84e8440bedfa7854ed027324552035601114
2 changes: 1 addition & 1 deletion library/std/src/os/wasi/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

#![unstable(feature = "wasi_ext", issue = "71213")]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you also need the module itself to be stable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you're right. Fixed now.


#[unstable(feature = "wasi_ext", issue = "71213")]
#[stable(feature = "io_safety", since = "1.63.0")]
pub use crate::os::fd::*;