6eec89
From 35f8a2065b7d17d39481a75cefa739df7a061084 Mon Sep 17 00:00:00 2001
6eec89
From: Josh Stone <jistone@redhat.com>
6eec89
Date: Wed, 30 Aug 2017 18:20:59 -0700
6eec89
Subject: [PATCH] rustbuild: update the rust-src filter for compiler-rt
6eec89
6eec89
We wanted `src/compiler-rt/test` filtered from the `rust-src` package,
6eec89
but that path is now `src/libcompiler_builtins/compiler-rt/test`.  This
6eec89
saves over half of the installed rust-src size. (50MB -> 22MB)
6eec89
---
6eec89
 src/bootstrap/dist.rs | 2 +-
6eec89
 1 file changed, 1 insertion(+), 1 deletion(-)
6eec89
6eec89
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
6eec89
index 746f85a9d59d..05d59e7d5956 100644
6eec89
--- a/src/bootstrap/dist.rs
6eec89
+++ b/src/bootstrap/dist.rs
dbb950
@@ -754,7 +754,7 @@ impl Step for Src {
dbb950
             "src/libprofiler_builtins",
dbb950
         ];
dbb950
         let std_src_dirs_exclude = [
dbb950
-            "src/compiler-rt/test",
dbb950
+            "src/libcompiler_builtins/compiler-rt/test",
dbb950
             "src/jemalloc/test/unit",
dbb950
         ];
6eec89
 
6eec89
-- 
6eec89
2.13.5
6eec89