浏览代码

libcompiler_builtins: Don't build emutls.c

Rather than improving the check, let's ditch emutls.c entirely.

rust-lang/rust#38877
Jorge Aparicio 8 年之前
父节点
当前提交
6d3cab2ba0
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      build.rs

+ 0 - 4
build.rs

@@ -223,10 +223,6 @@ fn main() {
                              "atomic_thread_fence.c"]);
         }
 
-        if target_os != "windows" && target_os != "none" {
-            sources.extend(&["emutls.c"]);
-        }
-
         if target_env == "msvc" {
             if target_arch == "x86_64" {
                 sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);