Skip to content

Commit af92df3

Browse files
authored
Merge pull request #663 from GuillaumeGomez/soft-floats
2 parents 6652b65 + ed34a6c commit af92df3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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)