mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-22 04:27:33 +00:00
19 lines
530 B
Rust
19 lines
530 B
Rust
![]() |
use crate::spec::{cvs, RelroLevel, TargetOptions};
|
||
|
|
||
|
pub fn opts() -> TargetOptions {
|
||
|
TargetOptions {
|
||
|
crt_static_respected: true,
|
||
|
dynamic_linking: true,
|
||
|
executables: true,
|
||
|
families: cvs!["unix"],
|
||
|
has_rpath: true,
|
||
|
has_thread_local: false,
|
||
|
linker: Some("qcc".into()),
|
||
|
os: "nto".into(),
|
||
|
position_independent_executables: true,
|
||
|
static_position_independent_executables: true,
|
||
|
relro_level: RelroLevel::Full,
|
||
|
..Default::default()
|
||
|
}
|
||
|
}
|