Skip to content

Commit

Permalink
Merge pull request #663 from GuillaumeGomez/soft-floats
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu authored Aug 8, 2024
2 parents 6652b65 + ed34a6c commit af92df3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ fn main() {
println!("cargo:compiler-rt={}", cwd.join("compiler-rt").display());

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

// Emscripten's runtime includes all the builtins
if target.os == "emscripten" {
Expand Down
2 changes: 1 addition & 1 deletion libm

0 comments on commit af92df3

Please sign in to comment.