rustc_target/spec/base/
linux_ohos.rs

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