-
Notifications
You must be signed in to change notification settings - Fork 992
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
Fix wasm pointer misalignment issues on Apple silicon #1778
Conversation
The stack limiter tests are still failing locally, but not because of pointer misalignment issues. It complains about hitting the stack limit... 🤔 At least signals are correctly caught, now. |
81cdb58
to
ab73d6c
Compare
Fixed the stack limiter unit tests on Apple silicon by reducing the number of loops before tripping the limiter. For some reason, we have ~200 bytes less stack space at our disposal. 😬 |
CI failed to look-up my custom revision. The url on cargo probably needs to point to https://github.com/heliaxdev/wasmer, but I don't have write access on that repository. |
Sry, should be fixed now |
@tzemanovic I'm still not entirely sure if the changes introduced by this PR are correct, given the issues with the stack limiter unit tests. Regardless, it's probably better to have something that works vs. something that is broken. lmk what you think |
3aa2eac
to
5c16c97
Compare
5c16c97
to
1f4387b
Compare
1f4387b
to
c430d37
Compare
Co-authored-by: Tomáš Zemanovič <tomas@heliax.dev>
c430d37
to
9f0f946
Compare
* origin/tiago/fix-wasm-vm-aarch64-mac: Add changelog for #1778 Document reason for disabling wasm stack limiter tests Temporarily disable the stack limiter tests on Apple silicon Replace wasmer with a heliaxdev fork of v2.3.0
* origin/tiago/fix-wasm-vm-aarch64-mac: Add changelog for #1778 Document reason for disabling wasm stack limiter tests Temporarily disable the stack limiter tests on Apple silicon Replace wasmer with a heliaxdev fork of v2.3.0
* origin/tiago/fix-wasm-vm-aarch64-mac: Add changelog for #1778 Document reason for disabling wasm stack limiter tests Temporarily disable the stack limiter tests on Apple silicon Replace wasmer with a heliaxdev fork of v2.3.0
Switch to a wasmer revision based on 2.3.0 that fixes pointer misalignment issues on Apple silicon
Describe your changes
Fixes wasmerio/wasmer#4072
Indicate on which release or other PRs this topic is based on
v0.21.1
Checklist before merging to
draft