Skip to content

Commit

Permalink
Rollup merge of rust-lang#69631 - RalfJung:rust-src, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
remove non-sysroot sources from rust-src component

See rust-lang#69592 (comment): these were likely added in rust-lang#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](rust-lang#58269 (comment))

> 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
  • Loading branch information
Centril authored Mar 8, 2020
2 parents 1d5241c + cbf52b1 commit b3c405c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b3c405c

Please sign in to comment.