blade icon indicating copy to clipboard operation
blade copied to clipboard

Can't use run-wasm

Open Codys-Wright opened this issue 5 months ago • 2 comments

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

Codys-Wright avatar Aug 12 '25 05:08 Codys-Wright

tested on my linux machine as well, same issue

Codys-Wright avatar Aug 12 '25 06:08 Codys-Wright

What error are you getting?

On Linux, I just tried simply calling

 cargo run-wasm --example bunnymark

And it builds and runs.

kvark avatar Aug 21 '25 06:08 kvark