Skip to content

Commit fa0aa50

Browse files
committed
update
1 parent 35bb083 commit fa0aa50

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/symbol-check/src/main.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,13 @@ fn verify_no_duplicates(path: impl AsRef<Path>) {
169169
if !dups.is_empty() {
170170
dups.sort_unstable_by(|a, b| a.name.cmp(&b.name));
171171

172-
Command::new("bash")
172+
let bash = if cfg!(windows) {
173+
r#"C:\Program Files\Git\bin\bash.EXE"#
174+
} else {
175+
"bash"
176+
};
177+
178+
Command::new(bash)
173179
.arg("run-rust-nm.sh")
174180
.arg(std::env::var("TARGET").unwrap())
175181
.arg(path.as_ref())

0 commit comments

Comments
 (0)