Marc BK

Results 26 comments of Marc BK

Yes I am, at the top of the workflow I have this: ```yaml env: CARGO_TERM_COLOR: always RUSTFLAGS: -D warnings RUSTDOCFLAGS: -D warnings RUST_BACKTRACE: 1 RUST_LOG: debug ``` That's very unfortunate...

Okay but that's not an unusual configuration to have in a workflow, it's fine if you don't want to fix it but it's a bug.

I'm stuck with this issue for latest trunk and `wasm-opt-version_123` ```text [wasm-validator error in function 2607] unexpected false: all used features should be allowed, on (i32.trunc_sat_f64_u (f64.neg (call $2366 (call...

It was fixed for me by downgrading to Rust v1.86. 1.87+ all error with the same bulk memory related error

I fixed it by adding `data-wasm-opt-params="--enable-bulk-memory --enable-nontrapping-float-to-int"` like this ```html ``` And adding this to `.cargo/config.toml` ```toml [target.wasm32-unknown-unknown] rustflags = ['--cfg=web_sys_unstable_apis', '--cfg=getrandom_backend="wasm_js"'] ```

Or we could use https://github.com/google/osv-scanner