]> git.pld-linux.org Git - packages/rust.git/blob - rust-1.21.0-44203-exclude-compiler-rt-test.patch
- up to 1.21.0
[packages/rust.git] / rust-1.21.0-44203-exclude-compiler-rt-test.patch
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
5
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)
9 ---
10  src/bootstrap/dist.rs | 2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
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",
19          ];
20          let std_src_dirs_exclude = [
21 -            "src/compiler-rt/test",
22 +            "src/libcompiler_builtins/compiler-rt/test",
23              "src/jemalloc/test/unit",
24          ];
25  
26 -- 
27 2.13.5
28
This page took 0.052692 seconds and 3 git commands to generate.