Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

beepster4096
Copy link
Contributor

@beepster4096 beepster4096 commented Sep 9, 2025

With this PR, the paths MIR dump filters and that are printed at the start of a dump file are no longer trimmed. They don't include the crate that is being compiled, however.

@rustbot
Copy link
Collaborator

rustbot commented Sep 9, 2025

r? @saethlin

rustbot has assigned @saethlin.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@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 Sep 9, 2025
@saethlin
Copy link
Member

Looks good. I'm surprised we don't have more diff in the mir-opt tests, but I suppose that's more because our tests are based on tiny programs that mostly don't use the sysroot.

@bors r+

@bors
Copy link
Collaborator

bors commented Sep 10, 2025

📌 Commit 90e74de has been approved by saethlin

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 10, 2025
@beepster4096
Copy link
Contributor Author

I think its because most tests have no need to check the MIR of std's functions. Its always better to just copy that code into the test itself. drop_in_place is a special case because it lives in core but its body is generated by the compiler and we want to test that. Not sure if we have any other functions like that, aside from maybe async_drop_in_place.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 10, 2025
Trim paths less in MIR dumping

With this PR, the paths MIR dump filters and that are printed at the start of a dump file are no longer trimmed. They don't include the crate that is being compiled, however.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 10, 2025
Trim paths less in MIR dumping

With this PR, the paths MIR dump filters and that are printed at the start of a dump file are no longer trimmed. They don't include the crate that is being compiled, however.
bors added a commit that referenced this pull request Sep 10, 2025
Rollup of 6 pull requests

Successful merges:

 - #144765 (inclusive `Range`s: change `end` to `last`)
 - #145177 (std: move `thread` into `sys`)
 - #146178 (Implement `#[rustc_align_static(N)]` on `static`s)
 - #146368 (CI: rfl: move job forward to Linux v6.17-rc5 to remove temporary commits)
 - #146378 (Update wasm-component-ld to 0.5.17)
 - #146391 (Trim paths less in MIR dumping)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Sep 10, 2025
Rollup of 5 pull requests

Successful merges:

 - #144765 (inclusive `Range`s: change `end` to `last`)
 - #146178 (Implement `#[rustc_align_static(N)]` on `static`s)
 - #146368 (CI: rfl: move job forward to Linux v6.17-rc5 to remove temporary commits)
 - #146378 (Update wasm-component-ld to 0.5.17)
 - #146391 (Trim paths less in MIR dumping)

r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit that referenced this pull request Sep 10, 2025
Rollup of 5 pull requests

Successful merges:

 - #144765 (inclusive `Range`s: change `end` to `last`)
 - #146178 (Implement `#[rustc_align_static(N)]` on `static`s)
 - #146368 (CI: rfl: move job forward to Linux v6.17-rc5 to remove temporary commits)
 - #146378 (Update wasm-component-ld to 0.5.17)
 - #146391 (Trim paths less in MIR dumping)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 212baec into rust-lang:master Sep 10, 2025
10 checks passed
rust-timer added a commit that referenced this pull request Sep 10, 2025
Rollup merge of #146391 - beepster4096:trimnt, r=saethlin

Trim paths less in MIR dumping

With this PR, the paths MIR dump filters and that are printed at the start of a dump file are no longer trimmed. They don't include the crate that is being compiled, however.
@rustbot rustbot added this to the 1.91.0 milestone Sep 10, 2025
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Sep 11, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#144765 (inclusive `Range`s: change `end` to `last`)
 - rust-lang/rust#146178 (Implement `#[rustc_align_static(N)]` on `static`s)
 - rust-lang/rust#146368 (CI: rfl: move job forward to Linux v6.17-rc5 to remove temporary commits)
 - rust-lang/rust#146378 (Update wasm-component-ld to 0.5.17)
 - rust-lang/rust#146391 (Trim paths less in MIR dumping)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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