rustc_target/spec/base/managarm_mlibc.rs
1use crate::spec::{RelroLevel, TargetOptions, cvs};
2
3pub(crate) fn opts() -> TargetOptions {
4 TargetOptions {
5 os: "managarm".into(),
6 env: "mlibc".into(),
7 dynamic_linking: true,
8 executables: true,
9 families: cvs!["unix"],
10 has_rpath: true,
11 position_independent_executables: true,
12 relro_level: RelroLevel::Full,
13 has_thread_local: true,
14 crt_static_respected: true,
15 ..Default::default()
16 }
17}