]> git.pld-linux.org Git - packages/rust.git/blame - 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
CommitLineData
5ee06aa0
JR
1From 35f8a2065b7d17d39481a75cefa739df7a061084 Mon Sep 17 00:00:00 2001
2From: Josh Stone <jistone@redhat.com>
3Date: Wed, 30 Aug 2017 18:20:59 -0700
4Subject: [PATCH] rustbuild: update the rust-src filter for compiler-rt
5
6We wanted `src/compiler-rt/test` filtered from the `rust-src` package,
7but that path is now `src/libcompiler_builtins/compiler-rt/test`. This
8saves 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
13diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
14index 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--
272.13.5
28
This page took 0.028331 seconds and 4 git commands to generate.