Skip to content

The wasm2c command has no effect #2609

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
JoeanAmier opened this issue May 26, 2025 · 5 comments · May be fixed by #2611
Open

The wasm2c command has no effect #2609

JoeanAmier opened this issue May 26, 2025 · 5 comments · May be fixed by #2611

Comments

@JoeanAmier
Copy link

windows 11, Download 1.0.37 from release, there is no response when running commands, while commands from other tools are normal.

Image

Image

@sbc100
Copy link
Member

sbc100 commented May 27, 2025

No idea what could cause that. They are all built in the same way as far as I know.

Can you confirm you are running the correct binary? What does where wasm2c show?

@JoeanAmier
Copy link
Author

Image

Only wasm2c has problems

@sbc100
Copy link
Member

sbc100 commented May 29, 2025

Thats quite a mystery. I don't know enough about windows to know how to start debugging. If you build from source does it have the same behaviour?

@silbinarywolf
Copy link

silbinarywolf commented May 31, 2025

I'm also on Windows 11. When I try to run the via the command-line, I get nothing happening as above.

However if I just run the exe via File Explorer I get the following error:
Image

The other binaries don't have this issue.
This makes me think that compiling the WIndows binary with USE_INTERNAL_SHA256 -> ON instead might work better.

@silbinarywolf
Copy link

I've put up a PR to resolve the issue.

In the meantime if you don't have the know-how to build from source but want to use wasm2c on Windows, here's a release build:
wasm2c.zip
Commit: 6d4abfd

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