1 use crate::spec::{LinkArgs, LinkerFlavor, TargetOptions};
2 use std::default::Default;
4 pub fn opts() -> TargetOptions {
5 let mut args = LinkArgs::new();
10 "/NXCOMPAT".to_string(),
11 "/APPCONTAINER".to_string(),
12 "mincore.lib".to_string(),
17 function_sections: true,
18 dynamic_linking: true,
20 dll_prefix: String::new(),
21 dll_suffix: ".dll".to_string(),
22 exe_suffix: ".exe".to_string(),
23 staticlib_prefix: String::new(),
24 staticlib_suffix: ".lib".to_string(),
25 target_family: Some("windows".to_string()),
26 is_like_windows: true,
29 crt_static_allows_dylibs: true,
30 crt_static_respected: true,
31 abi_return_struct_as_int: true,
32 emit_debug_gdb_scripts: false,
33 requires_uwtable: true,