ozgrakkurt opened issue #6639:
Hello!
I am trying to test a library with
RUSTFLAGS="-C target-feature=+simd128" cargo +nightly wasi test --release -- --nocapture
But it crashes on runtime without any diagnostic info:
https://github.com/ozgrakkurt/sbbf-rs/actions/runs/5363148176/jobs/9730524096?pr=4It works without
simd
so I am thinking it is because ofsimd
. I installed wasmtime and cargo-wasi via the recommended commands:
curl https://wasmtime.dev/install.sh -sSf | bash
cargo install cargo-wasi
and the file that uses simd intrinsics is here:
https://github.com/ozgrakkurt/sbbf-rs/blob/4648a9c72ccf51c68ed8ee3dd610a0fa7f2b69de/src/arch/wasm.rsNot sure if I am misusing something related to
simd
or if this is a bug
ozgrakkurt commented on issue #6639:
seems like the crash only happens when I run it locally on my
aarch64
pc, works on a PC with avx2 (github actions)
ozgrakkurt closed issue #6639:
Hello!
I am trying to test a library with
RUSTFLAGS="-C target-feature=+simd128" cargo +nightly wasi test --release -- --nocapture
But it crashes on runtime without any diagnostic info:
https://github.com/ozgrakkurt/sbbf-rs/actions/runs/5363148176/jobs/9730524096?pr=4It works without
simd
so I am thinking it is because ofsimd
. I installed wasmtime and cargo-wasi via the recommended commands:
curl https://wasmtime.dev/install.sh -sSf | bash
cargo install cargo-wasi
and the file that uses simd intrinsics is here:
https://github.com/ozgrakkurt/sbbf-rs/blob/4648a9c72ccf51c68ed8ee3dd610a0fa7f2b69de/src/arch/wasm.rsNot sure if I am misusing something related to
simd
or if this is a bug
Last updated: Dec 23 2024 at 13:07 UTC