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