]> git.proxmox.com Git - rustc.git/blobdiff - src/librustc_back/target/x86_64_pc_windows_gnu.rs
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / librustc_back / target / x86_64_pc_windows_gnu.rs
index 2bd363e46bb1cf7c711880ced70b8e8b44c514e2..3e8438539156f02f0909616abfe820be230e77b0 100644 (file)
@@ -13,10 +13,7 @@ use target::Target;
 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(),