浏览代码

Fix duplicate floatdisf symbol on Windows MSVC

Alex Crichton 6 年之前
父节点
当前提交
80a998df92
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/float/conv.rs

+ 1 - 0
src/float/conv.rs

@@ -83,6 +83,7 @@ intrinsics! {
     #[use_c_shim_if(any(
         all(target_arch = "x86", not(target_env = "msvc")),
         all(target_arch = "x86_64", not(windows)),
+        all(target_arch = "x86_64", target_env = "msvc"),
     ))]
     #[arm_aeabi_alias = __aeabi_l2f]
     pub extern "C" fn __floatdisf(i: i64) -> f32 {