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
We currently use hack #4247 to solve this issue. This hack results in end user having to install rust-src component, -Zbuild-std increases build time, removing -Clinker-plugin-lto increases binary sizes, and RUSTC_BOOTSTRAP=1 reduces stability since the user may be using nightly features in WASMs.
Steps
No response
Possible Solution
Update wasmi executor
TODO: update sandbox-wasmi to >=0.24
Support multi-value and reference-types parsing in our parity-wasm fork
StackOverflowExcept1on
changed the title
wasm-builder: can't build contracts/runtime with beta version of rust
wasm-builder uses hacks to build WASMs
Sep 25, 2024
Problem
Starting with Rust 1.82 WASMs contain
multi-value
andreference-types
features: https://blog.rust-lang.org/2024/09/24/webassembly-targets-change-in-default-target-features.html.We currently use hack #4247 to solve this issue. This hack results in end user having to install
rust-src
component,-Zbuild-std
increases build time, removing-Clinker-plugin-lto
increases binary sizes, andRUSTC_BOOTSTRAP=1
reduces stability since the user may be using nightly features in WASMs.Steps
No response
Possible Solution
sandbox-wasmi
to>=0.24
multi-value
andreference-types
parsing in ourparity-wasm
forkreference-types
multi-value
andreference-types
inparity-wasm-instrument
reference-types
Notes
No response
Relevant Log Output
No response
The text was updated successfully, but these errors were encountered: