Rename librustc to librustc_middle#70536
Conversation
src/libcore/clone.rs
Outdated
There was a problem hiding this comment.
Is this accurate? Some stuff has been moved out into separate crates.
src/libcore/raw.rs
Outdated
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)
src/libstd/alloc.rs
Outdated
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.
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.
src/librustc_passes/stability.rs
Outdated
There was a problem hiding this comment.
NB: this said "librustc crates". It could now be "librustc_* crates" or just "rustc crates".
src/librustc_session/filesearch.rs
Outdated
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).
src/librustc_session/lint.rs
Outdated
There was a problem hiding this comment.
The two mentions of "passed" in this file should refer to the same thing, no?
src/librustc_session/lint.rs
Outdated
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).
src/librustc_ty/instance.rs
Outdated
|
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 |
|
📌 Commit aaad8e77c07bad1db5aae2a40ed4d09e439c7ef5 has been approved by |
|
⌛ 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.
|
So now we have |
|
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 ```` Fixes rust-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 ```` Fixes rust-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