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

Multiple "warning: could not canonicalize path" at start of any tool invocation #999

Closed
xaquseg opened this issue Mar 20, 2017 · 1 comment

Comments

@xaquseg
Copy link

xaquseg commented Mar 20, 2017

Whenever I run any tool (rustup itself, rustc, cargo, seems to impact everything) I get two copies of "warning: could not canonicalize path" for the folder I'm in, and then one for each parent directory, excluding the drive root. This only happens when the current folder is on C:, it doesn't happen for other drives. println!("{:?}", std::fs::canonicalize(r"C:\Users")) doesn't error in a test program, but rustup prints an error for that path.

The tools themselves run properly after the warnings print, and directly running the binaries under .rustup/toolchains/*/bin doesn't print the warnings.

I'm on Windows 7 64 bit.

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

No branches or pull requests

2 participants