1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use crate::spec::TargetOptions;
pub fn opts() -> TargetOptions {
let base = super::msvc_base::opts();
TargetOptions {
os: "windows".to_string(),
env: "msvc".to_string(),
vendor: "pc".to_string(),
dynamic_linking: true,
dll_prefix: String::new(),
dll_suffix: ".dll".to_string(),
exe_suffix: ".exe".to_string(),
staticlib_prefix: String::new(),
staticlib_suffix: ".lib".to_string(),
os_family: Some("windows".to_string()),
crt_static_allows_dylibs: true,
crt_static_respected: true,
requires_uwtable: true,
no_default_libraries: false,
..base
}
}