浏览代码

Update build.rs

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") {