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