Lokathor 5 жил өмнө
parent
commit
095f020122
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  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;