rustc_target/spec/base/
linux_ohos.rs

1use crate::spec::{TargetOptions, TlsModel, base};
2
3pub(crate) fn opts() -> TargetOptions {
4    TargetOptions {
5        env: "ohos".into(),
6        crt_static_default: false,
7        tls_model: TlsModel::Emulated,
8        has_thread_local: false,
9        ..base::linux::opts()
10    }
11}