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 c22bcb0 commit 5f3dbd8Copy full SHA for 5f3dbd8
src/bootstrap/native.rs
@@ -421,7 +421,11 @@ fn configure_cmake(
421
cflags.push_str(&format!(" {}", s));
422
}
423
if target.contains("apple-ios") {
424
- cflags.push_str(" -miphoneos-version-min=10.0");
+ if target.contains("86-") {
425
+ cflags.push_str(" -miphonesimulator-version-min=10.0");
426
+ } else {
427
+ cflags.push_str(" -miphoneos-version-min=10.0");
428
+ }
429
430
cfg.define("CMAKE_C_FLAGS", cflags);
431
let mut cxxflags = builder.cflags(target, GitRepo::Llvm).join(" ");
0 commit comments