-
Notifications
You must be signed in to change notification settings - Fork 80
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
Compilation failure on 32-bit systems #199
Comments
Thanks for the report! While this should be fixed, I'll also note that currently Wasmtime does not have support for any 32-bit systems. Which platform would you like to target? |
We have a system that uses WasmTime. One of our community members was trying to run it on Android. |
Just made a PR that should fix this: #200. It uses a new-ish API that sidesteps the issue. |
* use unsafe.Slice in Memory.UnsafeData (#199) * bump bazel build's Go to 1.21.1
In memory.go:
The 1 << 32 results in an overflow because uintptr type is 32bit on 32bit systems.
I suggest replacing it with 0xffffffff instead. That should remove the compilation error.
The text was updated successfully, but these errors were encountered: