-
Notifications
You must be signed in to change notification settings - Fork 13.3k
std::os::wasi::io::AsFd regression on Rust 1.64 #103306
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
Comments
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 21, 2022
…ty, r=joshtriplett 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 rust-lang#103306.
lyming2007
pushed a commit
to lyming2007/rust
that referenced
this issue
Oct 21, 2022
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.
Mark-Simulacrum
pushed a commit
to Mark-Simulacrum/rust
that referenced
this issue
Oct 29, 2022
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.
waywardmonkeys
added a commit
to waywardmonkeys/criterion.rs
that referenced
this issue
Aug 10, 2023
This results in an error when building with 1.64 despite `AsFd` having been added in 1.63. It was fixed in 1.66: rust-lang/rust#103306
lemmih
pushed a commit
to bheisler/criterion.rs
that referenced
this issue
Aug 10, 2023
* plot/Cargo.toml: Remove outdated CI badges. crates.io doesn't support this and they're outdated anyway. * ci: Update actions. Use `actions/checkout@v3` to remove a warning about old versions of node. Use `dtolay/rust-toolchain` instead of `actions-rs/toolchain` as it is maintained (and `actions-rs` actions are not). This also resolves a number of warnings about deprecated functionality within the GitHub Actions UI. Update one usage of `Swatimem/rust-cache` to v2. The other already was updated. Use `cargo` directly instead of using `actions-rs/cargo` as that action is also unmaintained. * ci: Disable wasi test except on stable. This results in an error when building with 1.64 despite `AsFd` having been added in 1.63. It was fixed in 1.66: rust-lang/rust#103306
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-stable
Performance or correctness regression from one stable version to another.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: it compiles
Instead, this happened:
With Rust 1.63, it compiles. With Rust 1.64 and Rust nightly, it gets this error:
The text was updated successfully, but these errors were encountered: