Skip to content

Commit ed34a6c

Browse files
Activate force-soft-floats feature in build.rs
1 parent 2207206 commit ed34a6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ fn main() {
5151
println!("cargo:compiler-rt={}", cwd.join("compiler-rt").display());
5252

5353
// Activate libm's unstable features to make full use of Nightly.
54-
println!("cargo::rustc-check-cfg=cfg(feature, values(\"unstable\"))");
54+
println!("cargo::rustc-check-cfg=cfg(feature, values(\"unstable\", \"force-soft-floats\"))");
5555
println!("cargo:rustc-cfg=feature=\"unstable\"");
56+
println!("cargo:rustc-cfg=feature=\"force-soft-floats\"");
5657

5758
// Emscripten's runtime includes all the builtins
5859
if target.os == "emscripten" {

0 commit comments

Comments
 (0)