summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/spec/android_base.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /compiler/rustc_target/src/spec/android_base.rs
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'compiler/rustc_target/src/spec/android_base.rs')
-rw-r--r--compiler/rustc_target/src/spec/android_base.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/rustc_target/src/spec/android_base.rs b/compiler/rustc_target/src/spec/android_base.rs
deleted file mode 100644
index 9c1df1a06..000000000
--- a/compiler/rustc_target/src/spec/android_base.rs
+++ /dev/null
@@ -1,16 +0,0 @@
-use crate::spec::{SanitizerSet, TargetOptions};
-
-pub fn opts() -> TargetOptions {
- let mut base = super::linux_base::opts();
- base.os = "android".into();
- base.is_like_android = true;
- base.default_dwarf_version = 2;
- base.has_thread_local = false;
- base.supported_sanitizers = SanitizerSet::ADDRESS;
- // This is for backward compatibility, see https://github.com/rust-lang/rust/issues/49867
- // for context. (At that time, there was no `-C force-unwind-tables`, so the only solution
- // was to always emit `uwtable`).
- base.default_uwtable = true;
- base.crt_static_respected = true;
- base
-}