Stream: git-wasmtime

Topic: wasmtime / issue #1173 arm32 support


view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 21:39):

squillace commented on issue #1173:

Yup, some issues here and there remain for 32-bit builds:

error[E0308]: mismatched types
--> crates/environ/src/tunables.rs:65:34
|
65 | static_memory_bound: (10 * (1 << 20)) / crate::WASM_PAGE_SIZE,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u64, found u32

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 21:49):

bjorn3 commented on issue #1173:

Not just that, I believe the arm32 backend is too incomplete to do much useful.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 21 2021 at 21:50):

cfallin commented on issue #1173:

Indeed, the high-order bit is that the compiler backend on arm32 can only generate code for 32-bit operators right now, not 64-bit ones, and in general is pretty incomplete. There is some hope that the new isel framework could make this work easier to complete, but until then, mismatching types in the runtime are the least of our worries :-)

view this post on Zulip Wasmtime GitHub notifications bot (Jan 26 2022 at 20:04):

akirilov-arm commented on issue #1173:

Note (@jmkrauz in particular) that in issue #3721 we are discussing potential removal of the 32-bit Arm backend.

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:44):

cfallin labeled issue #1173:

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:44):

cfallin labeled issue #1173:

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:46):

cfallin commented on issue #1173:

For completeness to keep this issue up-to-date: we indeed removed the halfway-complete ARM32 backend because, unfortunately, no one had the resources to bring it up to a Wasm-MVP level of completeness, nor maintain it as we continue to evolve the compiler. However, we would absolutely welcome a new contribution of ARM32 support, as long as (i) it starts at a relatively complete state, i.e., is usable to run wasmtime as-is; and (ii) has an active and interested community of contributors willing to help maintain it and resolve issues.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 03 2023 at 04:02):

alexcrichton added the wasmtime:platform-support label to Issue #1173.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 20 2024 at 19:31):

alexcrichton commented on issue #1173:

For those following this issue Wasmtime now supports 32-bit ARM via the Pulley interpreter which should now be able to run most wasm programs. Pulley is not 100% finished yet in that we still have some polish to do, but it should be suitable for testing at this time.

In the meantime I'm going to rename this issue to clarify that the request is to add a Cranelift backend for 32-bit ARM architectures. General support for Wasmtime on 32-bit ARM architectures should be "solved" now and if there are any issues please feel free to open a new issue.


Last updated: Dec 23 2024 at 12:05 UTC