Skip to content
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

Windows: hangs in workspace_root() #215

Open
liigo opened this issue Apr 19, 2018 · 2 comments
Open

Windows: hangs in workspace_root() #215

liigo opened this issue Apr 19, 2018 · 2 comments
Labels

Comments

@liigo
Copy link
Contributor

liigo commented Apr 19, 2018

cargo run always hangs in workspace_root().
to be clear, it hangs in the first line of that function:

fn workspace_root() -> String {
    let output = Command::new("cargo").args(&["metadata", "--format-version", "1"]).output();
    ...
}

After runing cargo metadata --format-version 1 manually, it runs well.

cargo metadata --format-version 1
 Downloading winapi-i686-pc-windows-gnu v0.4.0
{"packages":[{"name":"cargo-src","version":"0.1.0","id":"cargo-src 0.1.0 ...

cargo run

my rustc:

rustc -Vv
rustc 1.27.0-nightly (ac3c2288f 2018-04-18)
binary: rustc
commit-hash: ac3c2288f9f9d977acb46406ba60033d65165a7b
commit-date: 2018-04-18
host: x86_64-pc-windows-msvc
release: 1.27.0-nightly
LLVM version: 6.0
@ErichDonGubler
Copy link
Contributor

I'm not getting this behavior on either of my Windows 10 machines. @liigo, do you have more environment info about the box you're reproducing this on?

@liigo
Copy link
Contributor Author

liigo commented Apr 21, 2018

no more info, sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants