Explorar el Código

Update build.rs

Lokathor hace 5 años
padre
commit
095f020122
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;