pub fn target() -> Target {
let mut base = super::windows_base::opts();
base.cpu = "x86-64".to_string();
- // On Win64 unwinding is handled by the OS, so we can link libgcc statically.
- base.pre_link_args.push("-static-libgcc".to_string());
base.pre_link_args.push("-m64".to_string());
- base.custom_unwind_resume = true;
Target {
llvm_target: "x86_64-pc-windows-gnu".to_string(),