-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
assertion when using cargo run
with wasm32-unknown-emscripten
#4689
Comments
cc @tatsuya6502 mind taking a look at this? I think it was caused by #4570 |
@alexcrichton Sure. I will take a look. |
The problem is that cargo expects a single file (exe) to be output, but for wasm 2 files are produced, hence the 2 != 1 assertion error. It would be cool if cargo could run node when you do |
As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it. I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect? The team would be especially grateful if such a comment included details such as:
Thank you for contributing! (The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.) If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
As I didn't see any updates in 30 days I'm going to close this. Please see the previous comment for more information! |
This issue is still relevant. Running the described commands produces the error:
|
This appears to be fixed, can someone confirm? |
STR
nightly-2017-10-24
works fine. You getHello, world!
.It seems that the difference is that with
nightly-2017-10-24
Cargo produces a single.js
file:But with
nightly-2017-10-28
Cargo produces a.js
and a.wasm
file.Cross is using the Cargo runner feature under the hood (set to
node-wasm
) so that could be related.The text was updated successfully, but these errors were encountered: