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

It seems that cargo wasi uses an outdated version of wasm-opt #49

Open
0x7CFE opened this issue May 2, 2020 · 3 comments
Open

It seems that cargo wasi uses an outdated version of wasm-opt #49

0x7CFE opened this issue May 2, 2020 · 3 comments

Comments

@0x7CFE
Copy link

0x7CFE commented May 2, 2020

I was trying to build parts of the rustc using cargo wasi and found that librustc_expand causes wasm-opt to crash.

I filed an issue WebAssembly/binaryen#2821 but it seems that the most recent version does fine.

Any ideas on why this happens?

@alexcrichton
Copy link
Member

This updated quite recently, although there has been one more release since then. Is the fix for your issue in that commit range?

@0x7CFE
Copy link
Author

0x7CFE commented May 5, 2020

Honestly, I don't know. My experience is that wasm-opt compiled form master works, but the one that is executed by cargo wasi v0.1.22 does not.

I assume that the fix was introduced less than 2 weeks ago.

@alexcrichton
Copy link
Member

Can you try running the binary releases from binaryen itself? If that doesn't work then this is likely an issue with binaryen's binary releases I think?

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