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 0ce02f3 commit c68e159Copy full SHA for c68e159
build.rs
@@ -489,6 +489,11 @@ mod c {
489
sources.remove(&["__aeabi_cdcmp", "__aeabi_cfcmp"]);
490
}
491
492
+ // Android uses emulated TLS so we need a runtime support function.
493
+ if target_os == "android" {
494
+ sources.extend(&[("__emutls_get_address", "emutls.c")]);
495
+ }
496
+
497
// When compiling the C code we require the user to tell us where the
498
// source code is, and this is largely done so when we're compiling as
499
// part of rust-lang/rust we can use the same llvm-project repository as
0 commit comments