Browse Source

Update build.rs

Lokathor 5 years ago
parent
commit
095f020122
1 changed files with 3 additions and 0 deletions
  1. 3 0
      build.rs

+ 3 - 0
build.rs

@@ -8,6 +8,9 @@ fn main() {
 
     println!("cargo:compiler-rt={}", cwd.join("compiler-rt").display());
 
+    // Activate libm's unstable features to make full use of Nightly.
+    println!("rustc-cfg=libm/unstable");
+
     // Emscripten's runtime includes all the builtins
     if target.contains("emscripten") {
         return;