Ver código fonte

Update build.rs

Lokathor 5 anos atrás
pai
commit
0a3e283c7c
1 arquivos alterados com 1 adições e 1 exclusões
  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") {