Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
compiler
/
rustc_target
/
src
/
spec
/
base
/
linux_ohos.rs
blob: 273e6a98dd4d2590c8214395435deb1ea3763113 [
file
] [
log
] [
blame
]
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
}