Failure to load dependencies with long file names on Windows #7420
Labels
A-git
Area: anything dealing with git
C-bug
Category: bug
O-windows
OS: Windows
S-needs-design
Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Problem
When trying to build a crate on Windows that has dependencies with long file names,
cargo
fails to pull dependencies with a "path too long" error. This issue does not seem to appear on Linux (tested with WSL).The output I got from
cargo build
Steps
Possible Solution(s)
core.longpaths
on Windows libgit2/libgit2#3053. If so, pushing for a fix in libgit2 may resolve this issue.cargo
use the system's git command, or add an option to use another binary instead of libgit2.Notes
Output of
cargo version
:cargo 1.37.0-nightly (4c1fa54 2019-06-24)
As of today, libra is locked on rust nightly-2019-07-08.
The text was updated successfully, but these errors were encountered: