-
Notifications
You must be signed in to change notification settings - Fork 80
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
Could not verify LLVM version
with Emscripten on NixOS
#230
Comments
You can try to run |
Thank you, I was reading the source code as well and I just stumbled on that flag! I was thinking it should be more prominent in the docs (I don't know why I didn't think of checking the I'll test that and post back here. |
Well it's not the same error so that's progress I guess?
|
Same error for me. What's going on? did |
@elichai Are you sure it's the same error? If you're referring to the |
Nope, Don't think it's the same anymore, sorry: #233 |
@elichai Actually, you were right! For my second error it's indeed the rust compiler I have successfully compiled the minimal example with version For the record:
|
When trying to compile the minimal example from stdweb to emscripten target, I get the following error:
cargo web start --target=wasm32-unknown-emscripten
(some output elided)
My best guess is that emscripten can't find llvm (It should be discoverable at least through
pkg-config
).Additionally, I noticed cargo-web downloaded its own version of emscripten.
I believe providing my own version of emscripten would solve the issue (from my system's packages), how can I do that?
Misc information:
This error is the same regardless of what I try to compile. I gave the minimal example for illustration and reproducibility, but I can actually reproduce with any other example project and a few other projects.
Also of note is that the
wasm32-unknown-unknown
target successfully compiled for every example I tried.The text was updated successfully, but these errors were encountered: