Skip to content

Commit

Permalink
Fix compiling on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jul 22, 2022
1 parent 646d79c commit cc0aa1c
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 @@ -565,7 +565,7 @@ fn write_linker_wrapper(path: &Path, command: &str, args: &str) -> Result<()> {
env::current_exe()?
};
let current_exe = if is_mingw_shell() {
current_exe.to_slash_lossy()
current_exe.to_slash_lossy().to_string()
} else {
current_exe.display().to_string()
};
Expand Down

0 comments on commit cc0aa1c

Please sign in to comment.