Files
rust/compiler/rustc_target/src/spec/haiku_base.rs

15 lines
378 B
Rust
Raw Normal View History

2019-12-22 17:42:04 -05:00
use crate::spec::{RelroLevel, TargetOptions};
pub fn opts() -> TargetOptions {
TargetOptions {
target_os: "haiku".to_string(),
dynamic_linking: true,
executables: true,
2017-04-22 13:47:36 +12:00
has_rpath: false,
2016-12-22 22:20:47 -07:00
target_family: Some("unix".to_string()),
relro_level: RelroLevel::Full,
linker_is_gnu: true,
2019-12-22 17:42:04 -05:00
..Default::default()
}
}