Skip to content

Commit 3f680b3

Browse files
committed
Support long double intrinsics in any aarch64 linux
Expands the support added in rust-lang#377 from just musl to any linux. Fixes rust-lang#428
1 parent f26cf72 commit 3f680b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,11 @@ mod c {
419419
("__floatunsitf", "floatunsitf.c"),
420420
("__trunctfdf2", "trunctfdf2.c"),
421421
("__trunctfsf2", "trunctfsf2.c"),
422+
("__addtf3", "addtf3.c"),
423+
("__multf3", "multf3.c"),
424+
("__subtf3", "subtf3.c"),
425+
("__divtf3", "divtf3.c"),
426+
("__powitf2", "powitf2.c"),
422427
]);
423428

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

428433
if target_env == "musl" {
429434
sources.extend(&[
430-
("__addtf3", "addtf3.c"),
431-
("__multf3", "multf3.c"),
432-
("__subtf3", "subtf3.c"),
433-
("__divtf3", "divtf3.c"),
434-
("__powitf2", "powitf2.c"),
435435
("__fe_getround", "fp_mode.c"),
436436
("__fe_raise_inexact", "fp_mode.c"),
437437
]);

0 commit comments

Comments
 (0)