-
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
cargo build --manifest-path <long-path> doesn't work on Windows #8965
Labels
C-bug
Category: bug
Comments
There are several issues open for this (such as #7986, which explains a little why this is very difficult), and recent PRs such as #8874, #8881, #8964. Last time I checked, the MSVC linker didn't support long paths, so even if Cargo supported them, it would likely still not work. |
Closing as a duplicate of #7986. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn't work on Windows: reports
Script which reproduces the problem: https://github.com/stepancheg/test-win-long-paths/blob/master/test.sh
Failed job on GitHub actions: https://github.com/stepancheg/test-win-long-paths/runs/1532597301
Why it is important
rustc has certain problems with long paths on Windows, which I need to reproduce. I tried to reproduce them with cargo and encountered this issue.
In certain build systems and certain CI environments build paths may be quite long. It is constant pain on Windows.
The text was updated successfully, but these errors were encountered: