We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3426186 commit 9e1e390Copy full SHA for 9e1e390
build.rs
@@ -347,29 +347,12 @@ mod c {
347
]);
348
}
349
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
359
- sources.extend(&[
360
- ("__floatdixf", "x86_64/floatdixf.c"),
361
- ("__floatundixf", "x86_64/floatundixf.S"),
362
- ]);
363
364
365
-
+ if target_env != "msvc" {
366
if target_arch == "x86" {
367
sources.extend(&[
368
("__ashldi3", "i386/ashldi3.S"),
369
("__ashrdi3", "i386/ashrdi3.S"),
370
("__divdi3", "i386/divdi3.S"),
371
- ("__floatdixf", "i386/floatdixf.S"),
372
- ("__floatundixf", "i386/floatundixf.S"),
373
("__lshrdi3", "i386/lshrdi3.S"),
374
("__moddi3", "i386/moddi3.S"),
375
("__muldi3", "i386/muldi3.S"),
0 commit comments