Closed
Description
Using Rust 1.71 on a Wasm target, I am getting the following error in debug mode:
book_web_advanced.js:470 panicked at 'misaligned pointer dereference: address must be a multiple of 0x10 but is 0x3cabc8',
.cargo/registry/src/index.crates.io-6f17d22bba15001f/simd-adler32-0.3.5/src/imp/wasm.rs:103
I am using simd-adler32
indirectly through several dependencies of the image
crate (for example png
), and I am compiling the wasm with the following flag: RUSTFLAGS="-C target-feature=+simd128"
.
My understanding is that we are hitting the recently-merged (1.70) safety check: rust-lang/rust#98112
Metadata
Metadata
Assignees
Labels
No labels