blade
blade copied to clipboard
Can't use run-wasm
As the title says, I can't use any of the run-wasm examples
I've tried pulling in libEGL.dylib, and v2,
I also tried setting the flags in the command line and in
[target.wasm32-unknown-unknown] rustflags = ["--cfg", 'getrandom_backend="wasm_js"']
following: https://docs.rs/getrandom/latest/getrandom/#webassembly-support
Am i doing something wrong?
Is there a way to make it work by just running cargo run-wasm --example bunnymark?
-edit: on M1 Max Macbook Pro Macos: Sequoia
tested on my linux machine as well, same issue
What error are you getting?
On Linux, I just tried simply calling
cargo run-wasm --example bunnymark
And it builds and runs.