Couple of driver interface improvements#153778
Merged
rust-bors[bot] merged 2 commits intorust-lang:mainfrom Mar 18, 2026
Merged
Couple of driver interface improvements#153778rust-bors[bot] merged 2 commits intorust-lang:mainfrom
rust-bors[bot] merged 2 commits intorust-lang:mainfrom
Conversation
Collaborator
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy The Miri subtree was changed cc @rust-lang/miri |
Collaborator
|
r? @TaKO8Ki rustbot has assigned @TaKO8Ki. Use Why was this reviewer chosen?The reviewer was selected based on:
|
bjorn3
commented
Mar 12, 2026
| @@ -337,11 +336,14 @@ pub struct Config { | |||
| /// This is a callback from the driver that is called when [`ParseSess`] is created. | |||
| pub psess_created: Option<Box<dyn FnOnce(&mut ParseSess) + Send>>, | |||
Member
Author
There was a problem hiding this comment.
The only remaining users of this callback I'm aware of use it to set a different diagnostic emitter. bjorn3/rust@b219d18 replaces this with a diagnostic emitter builder. I don't have strong opinion on whether to do this or not.
bjorn3
commented
Mar 12, 2026
| /// runs the incremental cache will be cleared. | ||
| /// | ||
| /// The hashing functionality has no known user. FIXME should this be removed? | ||
| pub track_state: Option<Box<dyn FnOnce(&Session, &mut StableHasher) + Send>>, |
Member
Author
There was a problem hiding this comment.
Should the hashing functionality be removed?
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.
Member
|
@bors r+ rollup |
Contributor
TaKO8Ki
approved these changes
Mar 18, 2026
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this pull request
Mar 19, 2026
Rollup of 3 pull requests Successful merges: - rust-lang/rust#153998 (Move query-stack-frame spans into `QueryStackFrame`) - rust-lang/rust#153778 (Couple of driver interface improvements) - rust-lang/rust#154026 (Remove unused types `UnusedGenericParams` and `FiniteBitSet`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
make_codegen_backendcallback. This simplifies some code in miri.