1
Fork 0
rust/compiler/rustc_target/src/spec/solaris_base.rs

18 lines
453 B
Rust
Raw Normal View History

2019-02-08 21:00:07 +09:00
use crate::spec::TargetOptions;
2016-01-21 19:30:22 +03:00
pub fn opts() -> TargetOptions {
TargetOptions {
os: "solaris".to_string(),
vendor: "sun".to_string(),
2016-01-21 19:30:22 +03:00
dynamic_linking: true,
executables: true,
has_rpath: true,
os_family: Some("unix".to_string()),
2016-01-28 14:02:31 +03:00
is_like_solaris: true,
limit_rdylib_exports: false, // Linker doesn't support this
eh_frame_header: false,
2016-01-21 19:30:22 +03:00
2019-12-22 17:42:04 -05:00
..Default::default()
2016-01-21 19:30:22 +03:00
}
}