]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_target/src/spec/linux_base.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_target / src / spec / linux_base.rs
CommitLineData
5e7ed085 1use crate::spec::{cvs, RelroLevel, TargetOptions};
1a4d82fc
JJ
2
3pub fn opts() -> TargetOptions {
4 TargetOptions {
5e7ed085 5 os: "linux".into(),
1a4d82fc
JJ
6 dynamic_linking: true,
7 executables: true,
5e7ed085 8 families: cvs!["unix"],
1a4d82fc 9 has_rpath: true,
1a4d82fc 10 position_independent_executables: true,
3b2f2976 11 relro_level: RelroLevel::Full,
a2a8927a 12 has_thread_local: true,
29967ef6 13 crt_static_respected: true,
dfeec247 14 ..Default::default()
1a4d82fc
JJ
15 }
16}