Mark std::os::wasi::io::AsFd etc. as stable. by sunfishcode · Pull Request #103308 · rust-lang/rust (original) (raw)

sunfishcode

io_safety was stabilized in Rust 1.63, so mark the io_safety exports in std::os::wasi::io as stable.

Fixes #103306.

@sunfishcode

io_safety was stabilized in Rust 1.63, so mark the io_safety exports in std::os::wasi::io as stable.

Fixes rust-lang#103306.

@rustbot rustbot added the T-libs

Relevant to the library team, which will review and decide on the PR/issue.

label

Oct 20, 2022

@rust-highfive

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rustbot

Hey! It looks like you've submitted a new PR for the library teams!

If this PR contains changes to any rust-lang/rust public library APIs then please comment with @rustbot label +T-libs-api -T-libs to tag it appropriately. If this PR contains changes to any unstable APIs please edit the PR description to add a link to the relevant API Change Proposal or create one if you haven't already. If you're unsure where your change falls no worries, just leave it as is and the reviewer will take a look and make a decision to forward on if necessary.

Examples of T-libs-api changes:

@compiler-errors

This probably should also be beta (and stable?) nominated, so doing that now.

@joshtriplett

@bors

📌 Commit e56b84e has been approved by joshtriplett

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Oct 20, 2022

joshtriplett

@@ -2,5 +2,5 @@
#![unstable(feature = "wasi_ext", issue = "71213")]

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?

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.

@sunfishcode

@joshtriplett

@bors

📌 Commit 7ac645a has been approved by joshtriplett

It is now in the queue for this repository.

@bors

@bors

@rust-timer

Finished benchmarking commit (b1ab3b7): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

This benchmark run did not return any relevant results for this metric.

Cycles

This benchmark run did not return any relevant results for this metric.

@m-ou-se

Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request

Oct 29, 2022

@Mark-Simulacrum

This was referenced

Oct 29, 2022

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 29, 2022

@bors

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Nov 15, 2022

@matthiaskrgr

…ized, r=JohnTitor

Adjust stabilization version to 1.65.0 for wasi fds

See rust-lang#103308 (comment) for this ask.

Backport of that PR to beta (1.65.0) will include a similar patch.

thomcc pushed a commit to tcdi/postgrestd that referenced this pull request

Feb 10, 2023

@Mark-Simulacrum

thomcc pushed a commit to tcdi/postgrestd that referenced this pull request

Feb 10, 2023

@matthiaskrgr

…ohnTitor

Adjust stabilization version to 1.65.0 for wasi fds

See rust-lang/rust#103308 (comment) for this ask.

Backport of that PR to beta (1.65.0) will include a similar patch.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Jan 19, 2025

@GuillaumeGomez

…_through_unstable_modules, r=Mark-Simulacrum

Remove dead rustc_allowed_through_unstable_modules for std::os::fd contents

As far as I was able to reconstruct, the history here is roughly as follows:

I did a grep for pub use crate::os::fd and all the re-exports I could find are in stable modules. So given all that, we can remove the rustc_allowed_through_unstable_modules (hoping they are not also re-exported somewhere else, it's really hard to be sure about this).

I have checked that std still builds after this PR on the wasm32-wasip2 target.

GuillaumeGomez added a commit to GuillaumeGomez/rust that referenced this pull request

Jan 19, 2025

@GuillaumeGomez

…_through_unstable_modules, r=Mark-Simulacrum

Remove dead rustc_allowed_through_unstable_modules for std::os::fd contents

As far as I was able to reconstruct, the history here is roughly as follows:

I did a grep for pub use crate::os::fd and all the re-exports I could find are in stable modules. So given all that, we can remove the rustc_allowed_through_unstable_modules (hoping they are not also re-exported somewhere else, it's really hard to be sure about this).

I have checked that std still builds after this PR on the wasm32-wasip2 target.

jieyouxu added a commit to jieyouxu/rust that referenced this pull request

Jan 20, 2025

@jieyouxu

…_through_unstable_modules, r=Mark-Simulacrum

Remove dead rustc_allowed_through_unstable_modules for std::os::fd contents

As far as I was able to reconstruct, the history here is roughly as follows:

I did a grep for pub use crate::os::fd and all the re-exports I could find are in stable modules. So given all that, we can remove the rustc_allowed_through_unstable_modules (hoping they are not also re-exported somewhere else, it's really hard to be sure about this).

I have checked that std still builds after this PR on the wasm32-wasip2 target.

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Jan 20, 2025

@rust-timer

Rollup merge of rust-lang#135491 - RalfJung:remove-dead-rustc_allowed_through_unstable_modules, r=Mark-Simulacrum

Remove dead rustc_allowed_through_unstable_modules for std::os::fd contents

As far as I was able to reconstruct, the history here is roughly as follows:

I did a grep for pub use crate::os::fd and all the re-exports I could find are in stable modules. So given all that, we can remove the rustc_allowed_through_unstable_modules (hoping they are not also re-exported somewhere else, it's really hard to be sure about this).

I have checked that std still builds after this PR on the wasm32-wasip2 target.

github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request

Mar 11, 2025

@jieyouxu

…_through_unstable_modules, r=Mark-Simulacrum

Remove dead rustc_allowed_through_unstable_modules for std::os::fd contents

As far as I was able to reconstruct, the history here is roughly as follows:

I did a grep for pub use crate::os::fd and all the re-exports I could find are in stable modules. So given all that, we can remove the rustc_allowed_through_unstable_modules (hoping they are not also re-exported somewhere else, it's really hard to be sure about this).

I have checked that std still builds after this PR on the wasm32-wasip2 target.