Selaa lähdekoodia

Update build.rs

Lokathor 5 vuotta sitten
vanhempi
commit
0a3e283c7c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      build.rs

+ 1 - 1
build.rs

@@ -9,7 +9,7 @@ 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");
+    println!("cargo:rustc-cfg=feature=\"unstable\"");
 
     // Emscripten's runtime includes all the builtins
     if target.contains("emscripten") {