You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression on nightly when compiling mio for wasm32-wasi #99502
@yaahc Using your suggested fix, I have a simple PR to address this, if you'd like to review: #99723 . I've confirmed locally that a toolchain built with this patch fixes the regression.
Activity
ehuss commentedon Jul 20, 2022
This seems to be caused by #95956.
I was thinking #99292 might address this, but I tried that PR and it doesn't seem to work. Maybe @Aaron1011 can confirm.
cc @yaahc
yaahc commentedon Jul 20, 2022
Looks like another case of #99288,
AsRawFdis stable but thestd::os::wasi::iomodule it lives in is not: https://doc.rust-lang.org/stable/std/os/wasi/io/index.htmlJust need to add
#[cfg_attr(not(bootstrap), rustc_allowed_through_unstable_modules)]and it should work.bstrie commentedon Jul 21, 2022
I'll work on this.
bstrie commentedon Jul 25, 2022
@yaahc Using your suggested fix, I have a simple PR to address this, if you'd like to review: #99723 . I've confirmed locally that a toolchain built with this patch fixes the regression.
Allow using stable os::fd::raw items through unstable os::wasi module
Rollup merge of rust-lang#99723 - bstrie:wasifd, r=yaahc
Rollup merge of rust-lang#99723 - bstrie:wasifd, r=yaahc
Rollup merge of rust-lang#99723 - bstrie:wasifd, r=yaahc
Rollup merge of rust-lang#99723 - bstrie:wasifd, r=yaahc
Rollup merge of rust-lang#135491 - RalfJung:remove-dead-rustc_allowed…
Rollup merge of rust-lang#135491 - RalfJung:remove-dead-rustc_allowed…
Rollup merge of rust-lang#135491 - RalfJung:remove-dead-rustc_allowed…
Unrolled build for rust-lang#135491
Rollup merge of rust-lang#135491 - RalfJung:remove-dead-rustc_allowed…