Skip to content

Commit 9f18784

Browse files
authored
Remove __multc3
This C file doesn't seem to be compiled correctly, as it creates a reference to the x86 specific `__builtin_copysignq` on ARM. This intrinsic is unused and unavailable on Windows because it's for complex numbers Rust doesn't support, so it should be fine to remove. The inclusion of the file seems to be the cause of some downstream link errors: rust-lang/rust#125619
1 parent c04eb9e commit 9f18784

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

build.rs

-4
Original file line numberDiff line numberDiff line change
@@ -533,10 +533,6 @@ mod c {
533533
("__fe_getround", "fp_mode.c"),
534534
("__fe_raise_inexact", "fp_mode.c"),
535535
]);
536-
537-
if target_os != "windows" {
538-
sources.extend(&[("__multc3", "multc3.c")]);
539-
}
540536
}
541537

542538
if target_arch == "mips" || target_arch == "riscv32" || target_arch == "riscv64" {

0 commit comments

Comments
 (0)