-
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
cargo-web tet fails, no .js file found #243
Comments
Are you running on the nightly builds? I noticed this start to occur when the nightly build updated to a 1.44 version from 1.43. |
I root caused this to the .wasm artifact that is generated now gets put under the /target/deps/ folder whereas previously it was just under /target/. This causes it to be explicitly filtered out by cargo-web as they do some modifications to the wasm as a post-process step. I'll report the details on cargo-web and see if I can put together a PR for a fix. For reference see cargo-web - src\build.rs:
|
It looks like for emscripten you will also need this change: #244 There are several assumptions around not dealing with .wasm files under the deps folder for cdylib crates. I am not familiar enough with the code base to identify the right fix here without causing breakage to other tests. This commit from last April is now unfortunatley not compaible with the changes made by the build tools: 0f6c482#diff-9300feef84bdf7e5ab58b05fa4eb0794 |
@koute is this project still alive? |
Right now "cargo web test" is broken due to upstream changes. We will disable stdweb tests until the stdweb project fixes things. See: koute/cargo-web#243 Signed-off-by: Joe Richey <joerichey@google.com>
We had to remove stdweb from our CI (rust-random/getrandom#154) due to this. Is there a way to work around this issue? |
Right now "cargo web test" is broken due to upstream changes. We will disable stdweb tests until the stdweb project fixes things. See: koute/cargo-web#243 Signed-off-by: Joe Richey <joerichey@google.com>
Right now "cargo web test" is broken due to upstream changes. We will disable stdweb tests until the stdweb project fixes things. See: koute/cargo-web#243 Signed-off-by: Joe Richey <joerichey@google.com>
I setup a empty repository with no tests and cargo-web complains that it can not find a .js file. I have chromium installed and I am running on ubuntu 20.04
The text was updated successfully, but these errors were encountered: