Skip to content

How to compile Wasmer as 32-bit for Windows platform? #5499

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

Open
Kanerudaisuki opened this issue Apr 2, 2025 · 3 comments
Open

How to compile Wasmer as 32-bit for Windows platform? #5499

Kanerudaisuki opened this issue Apr 2, 2025 · 3 comments
Labels
❓ question I've a question!

Comments

@Kanerudaisuki
Copy link

Kanerudaisuki commented Apr 2, 2025

Summary

How to compile Wasmer as 32-bit for Windows platform?

Additional details

I've force set the --target to '--target i686-pc-windows-msvc',and force change the "IS_AMD64" to 0.

So the final command is:

cargo build --target i686-pc-windows-msvc --release --manifest-path lib/cli/Cargo.toml --features cranelift,wasmer-artifact-create,static-artifact-create,wasmer-artifact-load,static-artifact-load --bin wasmer --locked

Image

but:

Image

Image

after that:

Image

Image

then I got:

Image

So how can I successfully make Wasmer work for 32 bit? I really need it.

@Kanerudaisuki Kanerudaisuki added the ❓ question I've a question! label Apr 2, 2025
@xdoardo
Copy link
Contributor

xdoardo commented Apr 4, 2025

Hi! Thanks for the report. We currently don't have any machine available to test it, but we welcome any PR.

@syrusakbary
Copy link
Member

Related: #5516

@Kanerudaisuki
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❓ question I've a question!
Projects
None yet
Development

No branches or pull requests

3 participants