Skip to content

Commit 8f89148

Browse files
authored
Merge pull request #464 from m-ou-se/floatconv2
2 parents 32c0477 + b941399 commit 8f89148

File tree

2 files changed

+274
-219
lines changed

2 files changed

+274
-219
lines changed

build.rs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -280,21 +280,15 @@ mod c {
280280

281281
if target_env == "msvc" {
282282
if target_arch == "x86_64" {
283-
sources.extend(&[
284-
("__floatdisf", "x86_64/floatdisf.c"),
285-
("__floatdixf", "x86_64/floatdixf.c"),
286-
]);
283+
sources.extend(&[("__floatdixf", "x86_64/floatdixf.c")]);
287284
}
288285
} else {
289286
// None of these seem to be used on x86_64 windows, and they've all
290287
// got the wrong ABI anyway, so we want to avoid them.
291288
if target_os != "windows" {
292289
if target_arch == "x86_64" {
293290
sources.extend(&[
294-
("__floatdisf", "x86_64/floatdisf.c"),
295291
("__floatdixf", "x86_64/floatdixf.c"),
296-
("__floatundidf", "x86_64/floatundidf.S"),
297-
("__floatundisf", "x86_64/floatundisf.S"),
298292
("__floatundixf", "x86_64/floatundixf.S"),
299293
]);
300294
}
@@ -305,11 +299,7 @@ mod c {
305299
("__ashldi3", "i386/ashldi3.S"),
306300
("__ashrdi3", "i386/ashrdi3.S"),
307301
("__divdi3", "i386/divdi3.S"),
308-
("__floatdidf", "i386/floatdidf.S"),
309-
("__floatdisf", "i386/floatdisf.S"),
310302
("__floatdixf", "i386/floatdixf.S"),
311-
("__floatundidf", "i386/floatundidf.S"),
312-
("__floatundisf", "i386/floatundisf.S"),
313303
("__floatundixf", "i386/floatundixf.S"),
314304
("__lshrdi3", "i386/lshrdi3.S"),
315305
("__moddi3", "i386/moddi3.S"),

0 commit comments

Comments
 (0)