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
Currently wasm2js does not support multiple tables. This is problematic for anyone that has WASM binaries compiled from Rust 1.82+ because the reference-types LLVM feature was enabled by default which results in multiple tables.
The text was updated successfully, but these errors were encountered:
Yes thank you! Should have shared that I have read those discussions and some other threads and right now the best solution for me seems to be stripping symbols when building for wasm2js. I did this by adding -C strip=symbols to my RUSTFLAGS when running wasm-pack for wasm2js. Full build script can be seen here. Stripping symbols, however, is a bit opaque to me and I don't have confidence in the stability of this solution going forward, but that's mostly due to my lack of knowledge on how wasm-bindgen and the Rust compiler work.
Alternatively you could rebuild std with reference types disabled, but I do not want to rely on nightly toolchain for a feature that is seemingly not close to standardization.
Currently
wasm2js
does not support multiple tables. This is problematic for anyone that has WASM binaries compiled from Rust 1.82+ because thereference-types
LLVM feature was enabled by default which results in multiple tables.The text was updated successfully, but these errors were encountered: