Skip to content

Commit 3426186

Browse files
committed
Remove 80-bit builtins entirely
It turns out that these also don't build on x86 + MSVC. Rather than fixing up the condition, I'm just deleting them entirely. As far as I know, Rust does not support 80-bit floats and has no plan to support them, so we shouldn't need them.
1 parent 8f778e4 commit 3426186

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

build.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -296,15 +296,6 @@ mod c {
296296
("__truncdfhf2", "truncdfhf2.c"),
297297
("__truncsfhf2", "truncsfhf2.c"),
298298
]);
299-
300-
if target_arch == "x86" || target_arch == "x86_64" {
301-
// Only add 80-bit long double sources on x86.
302-
sources.extend(&[
303-
("__divxc3", "divxc3.c"),
304-
("__mulxc3", "mulxc3.c"),
305-
("__powixf2", "powixf2.c"),
306-
]);
307-
}
308299
}
309300

310301
// When compiling in rustbuild (the rust-lang/rust repo) this library

0 commit comments

Comments
 (0)