1 use crate::spec::TargetOptions;
3 pub fn opts() -> TargetOptions {
4 let mut base = super::linux_base::opts();
5 base.os = "android".into();
6 base.default_dwarf_version = 2;
7 base.has_thread_local = false;
8 // This is for backward compatibility, see https://github.com/rust-lang/rust/issues/49867
9 // for context. (At that time, there was no `-C force-unwind-tables`, so the only solution
10 // was to always emit `uwtable`).
11 base.default_uwtable = true;
12 base.crt_static_respected = true;