Skip to content

Commit 1be538b

Browse files
committed
Disable empty intrinsics on i686-apple-darwin
These all currently just produce empty object files
1 parent 4d9df62 commit 1be538b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4112,7 +4112,9 @@ mod c {
41124112
]);
41134113
}
41144114

4115-
if target_os != "ios" {
4115+
// On iOS and 32-bit OSX these are all just empty intrinsics, no need to
4116+
// include them.
4117+
if target_os != "ios" && (target_vendor != "apple" || target_arch != "x86") {
41164118
sources.extend(
41174119
&[
41184120
"absvti2.c",

0 commit comments

Comments
 (0)