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 {
|
2020-11-08 14:57:55 +03:00
|
|
|
os: "solaris".to_string(),
|
|
|
|
vendor: "sun".to_string(),
|
2016-01-21 19:30:22 +03:00
|
|
|
dynamic_linking: true,
|
|
|
|
executables: true,
|
|
|
|
has_rpath: true,
|
2020-11-08 14:57:55 +03:00
|
|
|
os_family: Some("unix".to_string()),
|
2016-01-28 14:02:31 +03:00
|
|
|
is_like_solaris: true,
|
2019-04-14 19:05:21 +02:00
|
|
|
limit_rdylib_exports: false, // Linker doesn't support this
|
2020-07-22 15:49:04 +03:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|