-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misaligned pointer dereference #11
Comments
Seems like this is a bug that I introduced. Interestingly in my other PR for NEON SIMD, I was aware of the unaligned load, weird that I missed it on WASM. I'll do a PR. |
@stephanemagnenat this fix is in [email protected]. You'll have to temporarily target that version. I believe the cargo.patch config might get what you need until the entire dependency chain gets updated. |
You just need |
Right, it's a minor version change. |
Thank you very much for the fast reaction! |
Using Rust 1.71 on a Wasm target, I am getting the following error in debug mode:
I am using
simd-adler32
indirectly through several dependencies of theimage
crate (for examplepng
), 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
The text was updated successfully, but these errors were encountered: