We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e1735 commit 88e8892Copy full SHA for 88e8892
src/cargo/ops/vendor.rs
@@ -298,6 +298,9 @@ fn sync(
298
config.insert(
299
merged_source_name.to_string(),
300
VendorSource::Directory {
301
+ // Windows-flavour paths are valid here on Windows but Unix.
302
+ // This backslash normalization is for making output paths more
303
+ // cross-platform compatible.
304
directory: opts.destination.to_string_lossy().replace("\\", "/"),
305
},
306
);
0 commit comments