Skip to content

Commit 5d370bb

Browse files
committed
Don't build multc3 on AArch64 MSVC
Apparently it doesn't compile due to an odd compiler error! This intrinsic has to do with complex arithmetic anyway and we shouldn't need it.
1 parent ec413b2 commit 5d370bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,14 @@ mod c {
415415
"floatsitf.c",
416416
"floatunditf.c",
417417
"floatunsitf.c",
418-
"multc3.c",
419418
"trunctfdf2.c",
420419
"trunctfsf2.c",
421420
],
422421
);
422+
423+
if target_os != "windows" {
424+
sources.extend(&["multc3.c"]);
425+
}
423426
}
424427

425428
// Remove the assembly implementations that won't compile for the target

0 commit comments

Comments
 (0)