about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-08 16:53:35 +0100
committerGitHub <noreply@github.com>2020-03-08 16:53:35 +0100
commitb3c405cf46f47ff175be2670e15569f4693df1bf (patch)
tree46300ca48c34b3544942f0299dcd3958ed10a9a6 /src/bootstrap
parent1d5241c96208ca7d925442b1a5fa45ad18717a6f (diff)
parentcbf52b16758dd17fd60b5b73feb803d1ffc1654b (diff)
downloadrust-b3c405cf46f47ff175be2670e15569f4693df1bf.tar.gz
rust-b3c405cf46f47ff175be2670e15569f4693df1bf.zip
Rollup merge of #69631 - RalfJung:rust-src, r=Mark-Simulacrum
remove non-sysroot sources from rust-src component

See https://github.com/rust-lang/rust/pull/69592#discussion_r386238725: these were likely added in https://github.com/rust-lang/rust/pull/58269 for the sake of compiler plugins, but those are being entirely phased out, so there is no good reason to ship these sources.

OTOH, @eddyb [wrote](https://github.com/rust-lang/rust/pull/58269#issuecomment-463408918)

> Yeah, my question is why librustc_plugin specifically? Everything else makes sense.

So maybe there is some good reason to keep these? Then we should have a comment explaining that reason.

Cc @eddyb @taeguk @Mark-Simulacrum
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/dist.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 76478abd0de..8215211ea1c 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -1002,8 +1002,6 @@ impl Step for Src {
             "src/tools/rustc-std-workspace-core",
             "src/tools/rustc-std-workspace-alloc",
             "src/tools/rustc-std-workspace-std",
-            "src/librustc",
-            "src/librustc_ast",
         ];
 
         copy_src_dirs(builder, &std_src_dirs[..], &[], &dst_src);