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 families: vec!["unix".to_string()],
15 crt_static_default: true,
16 crt_static_respected: true,
17 crt_static_allows_dylibs: true,
18 // VxWorks needs to implement this to support profiling
19 mcount: "_mcount".to_string(),