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

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

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

    base
}