wasmer icon indicating copy to clipboard operation
wasmer copied to clipboard

Dos not compile for x86

Open xNxExOx opened this issue 2 years ago • 1 comments

Describe the bug

Just having the wasmer crate referenced, without doing anything causes compilation errors.

Steps to reproduce

1, Cargo.toml add wasmer = "4.2.2" 2. cargo build (If you are on different platform use i686-pc-windows-msvc as target)

Expected behavior

Build passes without errors.

Actual behavior

error[E0609]: no field `Rip` on type `&winapi::um::winnt::CONTEXT`
   --> D:\rs\wasmer\lib\vm\src\trap\traphandlers.rs:532:34
    |
532 |                     pc = context.Rip as usize;
    |                                  ^^^ help: a field with a similar name exists: `Eip`

Additional context

Resolving this error leads to more and more errors.

xNxExOx avatar Oct 06 '23 17:10 xNxExOx

There is no build support for 32bits platform for now. Adding 32bits support would require many change in the memory management, so it's not planned for now.

ptitSeb avatar Oct 06 '23 20:10 ptitSeb

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 13 '25 00:09 stale[bot]

Feel free to reopen the issue if it has been closed by mistake.

stale[bot] avatar Oct 13 '25 10:10 stale[bot]