Skip to content

Commit

Permalink
fix needless borrow clippy warning for gcc on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Mar 24, 2024
1 parent 609bcb0 commit c93cbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snmalloc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ fn main() {

if cfg!(all(windows, target_env = "gnu")) {
let stdout = std::process::Command::new("gcc")
.args(&["-print-search-dirs"])
.args(["-print-search-dirs"])
.output()
.unwrap_or_else(|_| {
eprintln!("Cannot run gcc.exe");
Expand Down

0 comments on commit c93cbce

Please sign in to comment.