-
Notifications
You must be signed in to change notification settings - Fork 824
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
Error with create-exe on Windows 11 #3374
Comments
I also have that issue, and it kinda stops me from testing it for windows. |
Hmm, I hope this has nothing to do with UNC path?
|
Now I got another error using LLVM...
|
@stevefan1999-personal @koduki It does have to do with UNC paths :/ The cross-compile test only runs on Mac and Linux in the CI, I do not remember why it's disabled for Windows. The UNC bug can be fixed with The Regarding the |
Thank you for your replay and actions. I got it. I'm looking forward to resolved version. |
Cross compiling to any OS using the llvm compiler currently fails: wasmer/tests/integration/cli/tests/run.rs Lines 44 to 50 in cdd71d3
We need a new ticket for this before closing current ticket @fschutt |
Seems like this bug is still not solved in 3.1, despite it working in the CI. |
#3430 will mostly fix this issue, except for compiling from Windows to Windows. Basically we currently have no way to link with So: generating a Linux binary from Windows will work now, only creating a Windows binary on Windows will fail (as a workaround, use Linux in a Docker container). |
Describe the bug
I tried to build executable file via create-exe for my wasm file. It works on Docker/Linux.
But when I tried it on Windows 11, i got below error.
Wasmer version is 3.0.1
I can't find
libwasmer
under .wasmer directory. There are only wasmer.dll. Do I need something extra install?Steps to reproduce
iwr https://win.wasmer.io -useb | iex
winget install rustlang.rustup
vcvars64.bat
wasmer.exe create-exe -o .\hello.exe .\hello.wasm
hello.wasm was build via Rust and it was confirmed
wamer run
Linux(Docker) / Windows, and success create-exe on Linux.Expected behavior
Success build and create executable file
Actual behavior
Additional context
The text was updated successfully, but these errors were encountered: