From 22e8ced9fd3ca7767c1ed479d736358b190bf22d Mon Sep 17 00:00:00 2001 From: aspen Date: Wed, 1 Jul 2020 12:21:48 -0400 Subject: [PATCH] Also document iphoneos-version-min. --- src/bootstrap/native.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index fe1891f3ddf5..70c292e229da 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -423,6 +423,7 @@ fn configure_cmake( if let Some(ref s) = builder.config.llvm_cflags { cflags.push_str(&format!(" {}", s)); } + // Some compiler features used by LLVM (such as thread locals) will not work on a min version below iOS 10. if target.contains("apple-ios") { if target.contains("86-") { cflags.push_str(" -miphonesimulator-version-min=10.0");