-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
C-bugCategory: bugCategory: bugE-hardExperience: HardExperience: HardO-windowsOS: WindowsOS: WindowsS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
Problem
Running a command, e.g. cargo metadata or cargo check with the --manifest-path set to equal an absolute Windows long-style path causes an error:
The filename, directory name, or volume label syntax is incorrect. (os error 123)
Steps
- Create a project anywhere and note its path. Let's pretend it's
C:\Path - Run a cargo command with mainfest-path set to that path as a long absolute path:
cargo metadata --manifest-path \\?\C:\Path\Cargo.toml - Note the failure.
Notes
Output of cargo version: cargo 1.47.0-nightly (ab32ee8 2020-08-10)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-bugCategory: bugCategory: bugE-hardExperience: HardExperience: HardO-windowsOS: WindowsOS: WindowsS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.