-
Notifications
You must be signed in to change notification settings - Fork 37
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
Weird situation where cargo hangs. #50
Comments
I can confirm I'm seeing this behaviour too, but on Windows only. Running the command which hangs ( MSVC toolchain |
Looks like it's this issue with piping stdout in |
*groans* Alright, so if this is an issue with "More correct" doesn't help when it's also "really stupidly broken". Since this only appears to be a problem on Windows, what I will do is change it so that |
Ok, 0.2.8 is up and reverts back to the old heuristic on Windows. I'm leaving this issue open until the work-around can be removed and the problem is fixed properly. |
If the issue is that |
Also seeing the hanging issue on Linux: probably the same #67 |
For some reason
cargo script --dep rand --dep rand_derive -e '1+2'
will cause one of cargo-script's children to hang on my system (using process explorer I can see 0 cpu time is being usedI believe this could be a bug in cargo, rather than cargo-script, but a regular crate with those dependencies compiles just fine, and I'm not sure what cargo-script is doing differently to trigger this, as with
RUST_LOG=trace
it looks like the hanging subcommand is called incargo_target_by_message
, but manually running the same command that shows up in the trace output completes fine.Trace output.
ETA:
Gnu toolchain
cargo 0.23.0-nightly (e447ac7e9 2017-09-27)
rustc 1.22.0-nightly (8493813cd 2017-10-22)
cargo-script 0.2.7
Windows 10 v1607
The text was updated successfully, but these errors were encountered: