Open fbecart opened 6 years ago
@fbecart This also fails on my machine.
When I run:
$ cargo build --target=wasm32-unknown-emscripten --release --verbose
I get this output:
error: dep-info invalid
I have no idea how to fix this.
Things I have tried: a) adding the compilation target: "$ rustup target add wasm32-unknown-emscripten" b) ensuring emsdk is installed and activated, and it is ( "$ emcc -v" ) c) google searches for the meaning of "error: dep-info invalid"... tho still no idea what it means d) checking the rust code for any errors. I'm using the cloned repo, so I don't think this is the case. e) crying. felt a lot better, but the build still fails.
Did you get this to work? Any ideas or suggestions?
Thanks for your time in reading this, and otherwise have a great day :)
Hi @robitwtms, I won't be able to help you on this topic, which could be quite specific to your environment.
Given the pace at which this space has been evolving in the past couple years and the inactivity of this repo, I would move on to other resources.
For instance, it's now possible to bypass emscripten using the wasm32-unknown-unknown
toolchain. About a year ago I was exploring that space and eventually ended up experimenting with https://github.com/koute/cargo-web and https://github.com/yewstack/yew. Depending on what you're trying to achieve, these resources might be helpful.
Hm, gonna do a further investigation for your issue @robitwtms. Have you tried @fbecart approach for his issue (re-adding target)?
Following the instructions in
README.md
, the following step failed on my machine:I had to add the target (once again) to make it work:
The instructions ask to add the target, but somehow it gets invalidated later. Maybe because we switch to nightly afterwards? I'm new to Rust, so this is just a guess. Once the issue understood, I'll be happy to submit a PR to fix it.