alexisvincent opened issue #9882:
Now that we have Pulley, we're keen to get wasmtime working on 32 bit Windows. My assumption here is that this is in roadmap?
Today, if you build wasmtime and target i686-pc-windows-msvc or i686-pc-windows-gnu, the compiler complains. I'm assuming that the fix should be relatively minimal but I'm not familiar with wasmtime internals.
What is the lift here?
cargo run --target=i686-pc-windows-gnu Compiling wasmtime v29.0.0 (/XXX/wasmtime/crates/wasmtime) error: unsupported platform --> /XXX/wasmtime/crates/wasmtime/src/runtime/vm/sys/windows/traphandlers.rs:113:17 | 113 | compile_error!("unsupported platform"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0432]: unresolved import `crate::runtime::vm::HostAlignedByteCount` --> /XXX/wasmtime/crates/wasmtime/src/runtime/vm/sys/windows/mmap.rs:3:26 | 3 | use crate::runtime::vm::{HostAlignedByteCount, SendSyncPtr}; | ^^^^^^^^^^^^^^^^^^^^ no `HostAlignedByteCount` in `runtime::vm` error[E0425]: cannot find value `regs` in this scope --> /XXX/wasmtime/crates/wasmtime/src/runtime/vm/sys/windows/traphandlers.rs:126:33 | 126 | match info.test_if_trap(regs, faulting_addr, |handler| handler(exception_info)) { | ^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `RtlAddFunctionTable` in this scope --> /XXX/wasmtime/crates/wasmtime/src/runtime/vm/sys/windows/unwind.rs:30:12 | 30 | if RtlAddFunctionTable( | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function, tuple struct or tuple variant `RtlDeleteFunctionTable` in this scope --> /XXX/wasmtime/crates/wasmtime/src/runtime/vm/sys/windows/unwind.rs:48:13 | 48 | RtlDeleteFunctionTable(self.functions as _); | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. error: could not compile `wasmtime` (lib) due to 5 previous errors
Last updated: Dec 23 2024 at 13:07 UTC