mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
653 B
653 B
I’m trying to activate the wasm_syscall feature in Rust’s stdlib for WebAssembly.
Here is my Cargo.toml and my Xargo.toml. But even with this setup the generated wasm file is still hard-coded to panic.
HELP?
My current command to compile is:
xargo build --target wasm32-unknown-unknown --release
If you have wasm2wat installed, you can verify the generate code via
wasm2wat target/wasm32-unknown-unknown/release/loltest.wasm | grep -A5 perform::