We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e053a7 commit 503383eCopy full SHA for 503383e
src/lib.rs
@@ -310,9 +310,9 @@ impl Config {
310
// If make.exe isn't found, that means we may be using a MinGW
311
// toolchain instead of a MSYS2 toolchain. If neither is found,
312
// the build cannot continue.
313
- let has_msys2 = Command::new("make").spawn().err()
+ let has_msys2 = Command::new("make").arg("--version").spawn().err()
314
.map(|e| e.kind() != ErrorKind::NotFound).unwrap_or(true);
315
- let has_mingw32 = Command::new("mingw32-make").spawn().err()
+ let has_mingw32 = Command::new("mingw32-make").arg("--version").spawn().err()
316
317
318
let generator = match (has_msys2, has_mingw32) {
0 commit comments