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
Rust 1.70 enabled the sign-ext feature for codegen for Wasm targets which results in instructions like i32.extend16_s being emitted. wasm-opt downloads version 109 of wasm-opt which does not include support for these instructions. This results in a compilation failure when running cargo wasi build --release when running Rust 1.70 for some Rust programs.
Updating the version of wasm-opt downloaded by cargo-wasi to at least version 111 seems to resolve the issue.
The text was updated successfully, but these errors were encountered:
Rust 1.70 enabled the
sign-ext
feature for codegen for Wasm targets which results in instructions likei32.extend16_s
being emitted.wasm-opt
downloads version 109 ofwasm-opt
which does not include support for these instructions. This results in a compilation failure when runningcargo wasi build --release
when running Rust 1.70 for some Rust programs.Updating the version of
wasm-opt
downloaded bycargo-wasi
to at least version 111 seems to resolve the issue.The text was updated successfully, but these errors were encountered: