Lokathor преди 5 години
родител
ревизия
0a3e283c7c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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") {