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

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

    base.env = "ohos".into();
    base.crt_static_default = false;
    base.tls_model = TlsModel::Emulated;
    base.has_thread_local = false;

    base
}