Skip to content

Commit a41c8ea

Browse files
committed
Auto merge of #7629 - jsgf:vendor-path, r=alexcrichton
vendor: don't use canonical path in .cargo/config 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
2 parents 79d845b + 4c67a2d commit a41c8ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/vendor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fn sync(
240240
config.insert(
241241
merged_source_name.to_string(),
242242
VendorSource::Directory {
243-
directory: canonical_destination.to_path_buf(),
243+
directory: opts.destination.to_path_buf(),
244244
},
245245
);
246246

0 commit comments

Comments
 (0)