Closed
Description
cargo build --manifest-path <very-long-path>
doesn't work on Windows: reports
error: manifest path `<very-long-path>` does not exist
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.