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

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
}