about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraspen <luxx4x@protonmail.com>2020-07-01 12:21:48 -0400
committeraspen <luxx4x@protonmail.com>2020-07-01 12:21:48 -0400
commit22e8ced9fd3ca7767c1ed479d736358b190bf22d (patch)
tree0386acadd348514559eb85f5a7aea08f43c02e45
parent4fd1c77a24288383600b02a7e3f11bf5eb718a32 (diff)
downloadrust-22e8ced9fd3ca7767c1ed479d736358b190bf22d.tar.gz
rust-22e8ced9fd3ca7767c1ed479d736358b190bf22d.zip
Also document iphoneos-version-min.
-rw-r--r--src/bootstrap/native.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs
index fe1891f3ddf..70c292e229d 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");