Skip to content

Commit

Permalink
Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel-daniel committed Nov 29, 2023
1 parent 9ea97f6 commit dac957c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ impl Build {
if host.contains("pc-windows-gnu") {
configure.arg(&format!("--prefix={}", sanitize_sh(&install_dir)));
} else if host.contains("pc-windows-msvc") {
configure.arg(&format!("--prefix={}", install_dir.to_str().unwrap().replace("\\", "/")));
configure.arg(&format!(
"--prefix={}",
install_dir.to_str().unwrap().replace("\\", "/")
));
} else {
configure.arg(&format!("--prefix={}", install_dir.display()));
}
Expand Down

0 comments on commit dac957c

Please sign in to comment.