Skip to content

Commit 9e1e390

Browse files
committed
Also don't build floatdixf and floatundixf
1 parent 3426186 commit 9e1e390

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

build.rs

+1-18
Original file line numberDiff line numberDiff line change
@@ -347,29 +347,12 @@ mod c {
347347
]);
348348
}
349349

350-
if target_env == "msvc" {
351-
if target_arch == "x86_64" {
352-
sources.extend(&[("__floatdixf", "x86_64/floatdixf.c")]);
353-
}
354-
} else {
355-
// None of these seem to be used on x86_64 windows, and they've all
356-
// got the wrong ABI anyway, so we want to avoid them.
357-
if target_os != "windows" {
358-
if target_arch == "x86_64" {
359-
sources.extend(&[
360-
("__floatdixf", "x86_64/floatdixf.c"),
361-
("__floatundixf", "x86_64/floatundixf.S"),
362-
]);
363-
}
364-
}
365-
350+
if target_env != "msvc" {
366351
if target_arch == "x86" {
367352
sources.extend(&[
368353
("__ashldi3", "i386/ashldi3.S"),
369354
("__ashrdi3", "i386/ashrdi3.S"),
370355
("__divdi3", "i386/divdi3.S"),
371-
("__floatdixf", "i386/floatdixf.S"),
372-
("__floatundixf", "i386/floatundixf.S"),
373356
("__lshrdi3", "i386/lshrdi3.S"),
374357
("__moddi3", "i386/moddi3.S"),
375358
("__muldi3", "i386/muldi3.S"),

0 commit comments

Comments
 (0)