]> git.lizzy.rs Git - rust.git/blob - src/librustc_target/spec/haiku_base.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / haiku_base.rs
1 use crate::spec::{RelroLevel, TargetOptions};
2 use std::default::Default;
3
4 pub fn opts() -> TargetOptions {
5     TargetOptions {
6         dynamic_linking: true,
7         executables: true,
8         has_rpath: false,
9         target_family: Some("unix".to_string()),
10         relro_level: RelroLevel::Full,
11         linker_is_gnu: true,
12         ..Default::default()
13     }
14 }