-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc_driver cleanup #83610
rustc_driver cleanup #83610
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Rebased and added two extra commits. |
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.
This comment has been minimized.
This comment has been minimized.
ff2af40cd7d4d3373bfdc247f2ad8847213aea51 should be functionally identical. Can it be a spurious error? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a few comments.
The CI will re-run with the additional commits. We will see then if the failure is spurious.
This is one step towards separating the linking code from codegen backends
This allows removing a confusing mem::replace in create_global_ctxt
This comment has been minimized.
This comment has been minimized.
CI passed. |
@bors r+ |
📌 Commit 163b480 has been approved by |
☀️ Test successful - checks-actions |
Performance triage indicates that this PR introduced a 1.7% regression when fully compiling I don't think any performance hit was expected. However, it also seems like this may be just noise. |
@@ -967,7 +967,7 @@ pub struct GlobalCtxt<'tcx> { | |||
export_map: ExportMap<LocalDefId>, | |||
|
|||
pub(crate) untracked_crate: &'tcx hir::Crate<'tcx>, | |||
pub(crate) definitions: &'tcx Definitions, | |||
pub(crate) definitions: Definitions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only change I can think of that could caused the regression if it isn't just noise.
rustc_driver cleanup Best reviewed one commit at a time.
Best reviewed one commit at a time.