]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/haiku_base.rs
Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup
[rust.git] / compiler / rustc_target / src / spec / haiku_base.rs
1 use crate::spec::{RelroLevel, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "haiku".to_string(),
6         dynamic_linking: true,
7         executables: true,
8         os_family: Some("unix".to_string()),
9         relro_level: RelroLevel::Full,
10         linker_is_gnu: true,
11         ..Default::default()
12     }
13 }