Skip to content

Commit c887852

Browse files
committed
Remove a mention of force-soft-float in build.rs
`libm` no longer uses this directly in `cfg`, it is only for setting other configuration in the `libm` `build.rs`. Clean up this configuration in `compiler-builtins` since it is unused.
1 parent 1901c41 commit c887852

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: compiler-builtins/build.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@ fn configure_libm(target: &Target) {
101101
println!("cargo:rustc-cfg=intrinsics_enabled");
102102

103103
// The arch module may contain assembly.
104-
if cfg!(feature = "no-asm") {
105-
println!("cargo:rustc-cfg=feature=\"force-soft-floats\"");
106-
} else {
104+
if !cfg!(feature = "no-asm") {
107105
println!("cargo:rustc-cfg=arch_enabled");
108106
}
109107

0 commit comments

Comments
 (0)