Skip to content

Commit 4c67a2d

Browse files
committed
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
1 parent 750cb14 commit 4c67a2d

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)