Skip to content
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

Support for Windows 32 bit #47

Open
schumjo opened this issue Apr 25, 2023 · 3 comments
Open

Support for Windows 32 bit #47

schumjo opened this issue Apr 25, 2023 · 3 comments

Comments

@schumjo
Copy link

schumjo commented Apr 25, 2023

Hi,

is Windows 32bit supported in future?

Best regards!

@kawamuray
Copy link
Owner

Not planned, but contributions welcome and it might be easy to support if cargo build with --target stable-i686-pc-windows-msvc works in windows-latest os in github actions.

@schumjo
Copy link
Author

schumjo commented Apr 26, 2023

Thanks for your quick response!

Building for target stable-i686-pc-windows-msvc causes following Error:

error: unsupported architecture
  --> ...\.cargo\registry\src\deagxartifactory.sickcn.net-f27b0f4b4f96cba8\wasmtime-runtime-5.0.1\src\trampolines.rs:58:9
   |
58 |         compile_error!("unsupported architecture");
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: unsupported architecture
  --> ...\.cargo\registry\src\deagxartifactory.sickcn.net-f27b0f4b4f96cba8\wasmtime-runtime-5.0.1\src\traphandlers\backtrace.rs:49:9
   |
49 |         compile_error!("unsupported architecture");
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Do you know any workaround?

@kawamuray
Copy link
Owner

kawamuray commented Apr 26, 2023

Ah, looks like wasmtime isn't supporting 32bit architecture at all: https://github.com/bytecodealliance/wasmtime/blob/main/crates/runtime/src/traphandlers/backtrace.rs#L49 . So inherently wasmtime-java can't support 32bit arch either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants