]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/dragonfly_base.rs
Rollup merge of #83571 - a1phyr:feature_const_slice_first_last, r=dtolnay
[rust.git] / compiler / rustc_target / src / spec / dragonfly_base.rs
1 use crate::spec::{RelroLevel, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "dragonfly".to_string(),
6         dynamic_linking: true,
7         executables: true,
8         os_family: Some("unix".to_string()),
9         linker_is_gnu: true,
10         has_rpath: true,
11         position_independent_executables: true,
12         relro_level: RelroLevel::Full,
13         dwarf_version: Some(2),
14         ..Default::default()
15     }
16 }