Skip to content

Commit

Permalink
Quote executable path on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Oct 9, 2024
1 parent ddb18fa commit 22117b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ fn write_linker_wrapper(path: &Path, command: &str, args: &str) -> Result<()> {
};
writeln!(
&mut buf,
"{} zig {} -- {} %*",
"\"{}\" zig {} -- {} %*",
adjust_canonicalization(current_exe),
command,
args
Expand Down

0 comments on commit 22117b6

Please sign in to comment.