]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/redox_base.rs
Auto merge of #87869 - thomcc:skinny-io-error, r=yaahc
[rust.git] / compiler / rustc_target / src / spec / redox_base.rs
1 use crate::spec::{RelroLevel, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "redox".to_string(),
6         env: "relibc".to_string(),
7         dynamic_linking: true,
8         executables: true,
9         families: vec!["unix".to_string()],
10         has_rpath: true,
11         position_independent_executables: true,
12         relro_level: RelroLevel::Full,
13         has_thread_local: true,
14         crt_static_default: true,
15         crt_static_respected: true,
16         ..Default::default()
17     }
18 }