Skip to content

Commit

Permalink
vendor: don't use canonical path in .cargo/config
Browse files Browse the repository at this point in the history
Use the user-specified path as-is, so it remains relative if specified as relative.
Should also address Windows path canonicalization issues.

Resolves issue #7316
  • Loading branch information
jsgf committed Nov 25, 2019
1 parent 750cb14 commit 4c67a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/vendor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ fn sync(
config.insert(
merged_source_name.to_string(),
VendorSource::Directory {
directory: canonical_destination.to_path_buf(),
directory: opts.destination.to_path_buf(),
},
);

Expand Down

0 comments on commit 4c67a2d

Please sign in to comment.