]> git.lizzy.rs Git - rust.git/blob - compiler/rustc_target/src/spec/dragonfly_base.rs
Rollup merge of #95446 - notseanray:master, r=Mark-Simulacrum
[rust.git] / compiler / rustc_target / src / spec / dragonfly_base.rs
1 use crate::spec::{cvs, RelroLevel, TargetOptions};
2
3 pub fn opts() -> TargetOptions {
4     TargetOptions {
5         os: "dragonfly".into(),
6         dynamic_linking: true,
7         executables: true,
8         families: cvs!["unix"],
9         has_rpath: true,
10         position_independent_executables: true,
11         relro_level: RelroLevel::Full,
12         dwarf_version: Some(2),
13         ..Default::default()
14     }
15 }