소스 검색

Auto merge of #195 - alexcrichton:32-darwin-empty, r=alexcrichton

Disable empty intrinsics on i686-apple-darwin

These all currently just produce empty object files
bors 7 년 전
부모
커밋
67e0908d7f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      build.rs

+ 3 - 1
build.rs

@@ -4112,7 +4112,9 @@ mod c {
             ]);
         }
 
-        if target_os != "ios" {
+        // On iOS and 32-bit OSX these are all just empty intrinsics, no need to
+        // include them.
+        if target_os != "ios" && (target_vendor != "apple" || target_arch != "x86") {
             sources.extend(
                 &[
                     "absvti2.c",