summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorTilmann Meyer <allescrafterx@gmail.com>2021-05-29 13:20:55 +0200
committerTilmann Meyer <allescrafterx@gmail.com>2021-06-01 21:37:50 +0200
commit965997b369a3c5c46e998e522333aadb7881237b (patch)
tree70d502083744f3b7822e83d44d6f9d136a2e8522 /library/std/src/sys
parent971a3f15f02752017e4d067acc01d3793dc72c40 (diff)
downloadrust-965997b369a3c5c46e998e522333aadb7881237b.tar.gz
rust-965997b369a3c5c46e998e522333aadb7881237b.zip
Support Android ndk versions `r23-beta3` and up
Since android ndk version `r23-beta3`, `libgcc` has been replaced with
`libunwind`. This moves the linking of `libgcc`/`libunwind` into the
`unwind` crate where we check if the system compiler can find
`libunwind` and fall back to `libgcc` if needed.
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/unix/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/mod.rs b/library/std/src/sys/unix/mod.rs
index 57d91441b6f..ca9cc8ca7ba 100644
--- a/library/std/src/sys/unix/mod.rs
+++ b/library/std/src/sys/unix/mod.rs
@@ -210,7 +210,6 @@ cfg_if::cfg_if! {
     if #[cfg(target_os = "android")] {
         #[link(name = "dl")]
         #[link(name = "log")]
-        #[link(name = "gcc")]
         extern "C" {}
     } else if #[cfg(target_os = "freebsd")] {
         #[link(name = "execinfo")]