Skip to content

Commit

Permalink
Support long double intrinsics in any aarch64 linux
Browse files Browse the repository at this point in the history
Expands the support added in rust-lang#377 from just musl to any linux.

Fixes rust-lang#428
  • Loading branch information
richkadel committed Jul 14, 2021
1 parent f26cf72 commit 3f680b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,11 @@ mod c {
("__floatunsitf", "floatunsitf.c"),
("__trunctfdf2", "trunctfdf2.c"),
("__trunctfsf2", "trunctfsf2.c"),
("__addtf3", "addtf3.c"),
("__multf3", "multf3.c"),
("__subtf3", "subtf3.c"),
("__divtf3", "divtf3.c"),
("__powitf2", "powitf2.c"),
]);

if target_os != "windows" {
Expand All @@ -427,11 +432,6 @@ mod c {

if target_env == "musl" {
sources.extend(&[
("__addtf3", "addtf3.c"),
("__multf3", "multf3.c"),
("__subtf3", "subtf3.c"),
("__divtf3", "divtf3.c"),
("__powitf2", "powitf2.c"),
("__fe_getround", "fp_mode.c"),
("__fe_raise_inexact", "fp_mode.c"),
]);
Expand Down

0 comments on commit 3f680b3

Please sign in to comment.