浏览代码

Update build.rs

Lokathor 5 年之前
父节点
当前提交
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;