Skip to content

Commit 22e8ced

Browse files
author
aspen
committed
Also document iphoneos-version-min.
1 parent 4fd1c77 commit 22e8ced

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/native.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ fn configure_cmake(
423423
if let Some(ref s) = builder.config.llvm_cflags {
424424
cflags.push_str(&format!(" {}", s));
425425
}
426+
// Some compiler features used by LLVM (such as thread locals) will not work on a min version below iOS 10.
426427
if target.contains("apple-ios") {
427428
if target.contains("86-") {
428429
cflags.push_str(" -miphonesimulator-version-min=10.0");

0 commit comments

Comments
 (0)