Skip to content

Commit

Permalink
Remove 80-bit builtins entirely
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
nikic committed Jan 31, 2024
1 parent 8f778e4 commit 3426186
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,6 @@ mod c {
("__truncdfhf2", "truncdfhf2.c"),
("__truncsfhf2", "truncsfhf2.c"),
]);

if target_arch == "x86" || target_arch == "x86_64" {
// Only add 80-bit long double sources on x86.
sources.extend(&[
("__divxc3", "divxc3.c"),
("__mulxc3", "mulxc3.c"),
("__powixf2", "powixf2.c"),
]);
}
}

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

0 comments on commit 3426186

Please sign in to comment.