1 use crate::spec::TargetOptions;
3 pub fn opts() -> TargetOptions {
5 os: "vxworks".to_string(),
6 env: "gnu".to_string(),
7 vendor: "wrs".to_string(),
8 linker: Some("wr-c++".to_string()),
9 exe_suffix: ".vxe".to_string(),
10 dynamic_linking: true,
12 os_family: Some("unix".to_string()),
16 crt_static_default: true,
17 crt_static_respected: true,
18 crt_static_allows_dylibs: true,
19 // VxWorks needs to implement this to support profiling
20 mcount: "_mcount".to_string(),