Skip to content

Conversation

@RalfJung
Copy link
Member

r? @nnethercote
Is emit_stashed_diagnostics the right advice to give? The other option seems to be to call finish_diagnostics. That's what I ended up doing (for now) in rust-lang/miri#4702 because it best matches what happens during normal compilation.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 17, 2025
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-20-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@RalfJung
Copy link
Member Author

Turns out finish_diagnostics is not the right call for Miri (we then see "aborting due to previous errors" multiple times). So emit_stashed_diagnostics seems to be the better choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants