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 ffdf356 commit c0f2118Copy full SHA for c0f2118
src/lib.rs
@@ -3464,7 +3464,11 @@ impl Build {
3464
if arch_str == Some("aarch64") {
3465
"11.0"
3466
} else {
3467
- "10.7"
+ if self.cpp {
3468
+ "10.9"
3469
+ } else {
3470
+ "10.7"
3471
+ }
3472
}
3473
.into()
3474
}),
tests/test.rs
@@ -343,11 +343,9 @@ fn gnu_flag_if_supported() {
343
.must_not_have("-std=c++11");
344
345
346
+#[cfg(not(windows))]
347
#[test]
348
fn gnu_flag_if_supported_cpp() {
- if cfg!(windows) {
349
- return;
350
- }
351
let test = Test::gnu();
352
test.gcc()
353
.cpp(true)
0 commit comments