summary refs log tree commit diff
path: root/compiler/rustc_target/src/spec/linux_ohos_base.rs
blob: 4ad4c837336f85438c8bf3d676d9559a94191f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use crate::spec::TargetOptions;

pub fn opts() -> TargetOptions {
    let mut base = super::linux_base::opts();

    base.env = "ohos".into();
    base.crt_static_default = false;
    base.force_emulated_tls = true;
    base.has_thread_local = false;

    base
}