Uh oh!
There was an error while loading. Please reload this page.
Rename librustc to librustc_middle - #70536
Conversation
There was a problem hiding this comment.
Is this accurate? Some stuff has been moved out into separate crates.
There was a problem hiding this comment.
rustc_middle::ty::layout (which IMO should be rustc_middle::ty::abi or rustc_middle::abi but I've never gotten around to it)
There was a problem hiding this comment.
Is that file still there? But also I'm suspicious of rustc_middle::middle existing, in general.
There was a problem hiding this comment.
Does this module even exist anymore, it looks off.
There was a problem hiding this comment.
Yeah I don't think it does.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Is that still there, wasn't InferCtxt moved?
There was a problem hiding this comment.
Was moved to rustc_infer::infer::InferCtxt says rustdoc nightly docs.
There was a problem hiding this comment.
Again, I'm not sure infer is really there anymore.
There was a problem hiding this comment.
rustc_middle::infer exists, but it's only 3 small modules.
There was a problem hiding this comment.
NB: this said "librustc crates". It could now be "librustc_* crates" or just "rustc crates".
There was a problem hiding this comment.
This should probably say librustc_driver, if it refers to the dynamic library (since it's the only one left).
There was a problem hiding this comment.
The two mentions of "passed" in this file should refer to the same thing, no?
There was a problem hiding this comment.
This is the other "passed to" (GH won't let me do multi-line comments on this diff).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
eddyb
commented
Mar 29, 2020
cc @rust-lang/compiler I'm approving this now because it's easier to revert it than to land it. (long-term, I'd like "type/trait-system is part of MIR", which is why the @bors r+ p=123 |
bors
commented
Mar 29, 2020
📌 Commit aaad8e77c07bad1db5aae2a40ed4d09e439c7ef5 has been approved by |
bors
commented
Mar 29, 2020
⌛ Testing commit aaad8e77c07bad1db5aae2a40ed4d09e439c7ef5 with merge 4119b5a1717ea70c38981c45b8ba9d4d8d986364... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
RalfJung
commented
Mar 30, 2020
So now we have |
Centril
commented
Mar 30, 2020
Yep, and |
rustup rust-lang/rust#70536 changelog: none
Changes: ```` rustup rust-lang#70536 Rustup to rust-lang#70449 readme: move "how to run single lint" instructions to "Allowing/denying lints" section. git attribute macros not allowed in submodules Deprecate REPLACE_CONSTS lint Bump itertools ```` Fixesrust-lang#70554
submodules: update clippy from 70b93aa to e170c84 Changes: ```` rustup rust-lang#70536 Rustup to rust-lang#70449 readme: move "how to run single lint" instructions to "Allowing/denying lints" section. git attribute macros not allowed in submodules Deprecate REPLACE_CONSTS lint Bump itertools ```` Fixesrust-lang#70554
"rustc" package was renamed to "rustc_middle" in rust-lang/rust#70536 (>=1.42.0)
5220: Fix stdlib detection when working with rust-lang/rust project r=vlad20012 a=ortem Our analysis is broken on the latest nightly rustc (1.42.0) because "rustc" package was renamed to "rustc_middle" in rust-lang/rust#70536 and now "rust-lang/rust" is not detected by the plugin. Co-authored-by: ortem <ortem00@gmail.com>
Changes: ```` rustup rust-lang/rust#70536 Rustup to rust-lang/rust#70449 readme: move "how to run single lint" instructions to "Allowing/denying lints" section. git attribute macros not allowed in submodules Deprecate REPLACE_CONSTS lint Bump itertools ```` Fixes #70554
Here we rename
librustctolibrustc_middle.This crate is not nearly as large or central as it was previously and so it doesn't make much sense to give it such a central name as
librustc("the entry point to the compiler"). Moreover, there is already arustccrate which is has the actualfn mainofrustc, so havinglibrustcis confusing relative to that.r? @eddyb