Uh oh!
There was an error while loading. Please reload this page.
Rename libsyntax to librustc_ast - #69592
Conversation
Centril
commented
Feb 29, 2020
bors
commented
Feb 29, 2020
📌 Commit e08c279 has been approved by |
Centril
commented
Mar 1, 2020
Let's bump this cause this will be massively bitrotty: @bors p=10 |
bors
commented
Mar 1, 2020
bors
commented
Mar 1, 2020
☀️ Test successful - checks-azure |
rust-highfive
commented
Mar 1, 2020
📣 Toolstate changed by #69592! Tested on commit 2917d99. 💔 clippy-driver on windows: test-fail → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq). |
Tested on commit rust-lang/rust@2917d99. Direct link to PR: <rust-lang/rust#69592> 💔 clippy-driver on windows: test-fail → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq). 💔 clippy-driver on linux: test-fail → build-fail (cc @mcarton@oli-obk@Manishearth@flip1995@yaahc@phansch@llogiq). 💔 miri on windows: test-fail → build-fail (cc @oli-obk@eddyb@RalfJung). 💔 miri on linux: test-fail → build-fail (cc @oli-obk@eddyb@RalfJung).
| "src/librustc", | ||
| "src/libsyntax", | ||
| "src/librustc_ast", |
There was a problem hiding this comment.
I don't understand why these are included here, is this left over from when src/libproc_macro had a dependency on these two crates? If so, we've shipping a lot of pointless rustc source code for a while now.
There was a problem hiding this comment.
Huh, but why these crates specifically? #58268 doesn't explain why those vs the entire source distribution (which is still available.. somehow, right?)
There was a problem hiding this comment.
My best guess: intellij-rust/intellij-rust#2623 (referenced by that issue) mentions compiler plugins.
I don't think the entire source distribution is otherwise available as a rustup component.
There was a problem hiding this comment.
Well, this list is probably missing a couple crates in terms of plugin development and nobody brought this up, maybe it's time to remove them. I'll bring this up on the existing issue.
eddyb
commented
Mar 2, 2020
@petrochenkov@Centril Do we plan to remove the redudancy of It would also be nice to be able to write paths like |
Fix plugin tests for latest nightly. Crate was renamed in rust-lang/rust#69592.
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
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
…crichton Fix plugin tests for latest nightly. Crate was renamed in rust-lang/rust#69592.
This was the last rustc crate that wasn't following the
rustc_*naming convention.Follow-up to #67763.