We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b0850 commit e73d05bCopy full SHA for e73d05b
src/lib.rs
@@ -2472,7 +2472,7 @@ impl Build {
2472
let target = self.get_target()?;
2473
2474
let (mut cmd, program, any_flags) = self.get_ar()?;
2475
- if target.contains("msvc") && !program.to_string_lossy().contains("llvm-") {
+ if target.contains("msvc") && !program.to_string_lossy().contains("llvm-ar") {
2476
// NOTE: -out: here is an I/O flag, and so must be included even if $ARFLAGS/ar_flag is
2477
// in use. -nologo on the other hand is just a regular flag, and one that we'll skip if
2478
// the caller has explicitly dictated the flags they want. See
0 commit comments