Rollup of 5 pull requests#156535
Open
JonathanBrouwer wants to merge 41 commits into
Open
Conversation
(f)chmod: add missing isolation checks
readme: clarify that isolation is not a proper sandbox
bump most dependencies
default all unknown weak extern statics to null
Also add tests about socket readiness after calling `shutdown`
…utdown Remove `TcpStream::peer_addr` check for network sockets, test epoll readiness for `shutdown`
add support for env::temp_dir
Add _mm512_permutex2var_epi8 shim support
CI: fix passing --feature flags to `./miri test` invocation
This function doesn't have an obvious home, but there's little reason for it to be in mir-transform, and having it in `rustc_driver_impl::pretty` at least puts it near other callers of `write_mir_pretty`.
MIR dumped before/after the dummy `PreCodegen` pass should be identical to MIR dumped after the phase transition to `runtime-optimized`.
This dummy pass is not needed, because the `runtime-optimized` phase transition can be used to dump the final pre-codegen MIR.
… r=nikomatsakis Add support for Zprint-codegen-stats-json Add a flag `-Zprint-codegen-stats-json=<file>` to collect and write LLVM statistics in JSON format. It makes use of the function `llvm::PrintStatisticsJSON` in LLVM. The flag currently only obtains LLVM statistics for now, but could be used to collect more front-end statistics in the future.
… r=bjorn3 bootstrap: remap windows-style OUT_DIR paths ### problem: on windows, some paths embedded into debuginfo / metadata may internally use `\` separators, while the existing `RUSTC_DEBUGINFO_MAP` remapping only covers the `/` form of `self.build.out`. ### fix: add an additional remap entry for the windows style `\` variant of `self.build.out`. ### result: improves path remapping consistency on windows, in turn helping with reproducibility. r? @bjorn3
miri subtree update Unblocks rust-lang#156493. --- Subtree update of `miri` to rust-lang/miri@f273082. Created using https://github.com/rust-lang/josh-sync. r? @ghost
Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead - Alternative to rust-lang#156358. The `PreCodegen` pass doesn't do anything on its own; it was only serving as a marker to allow `-Zdump-mir` and mir-opt tests to easily dump the final MIR just before codegen. However, rust-lang#156358 (comment) pointed out that the `runtime-optimized` phase transition should dump the same MIR, so there shouldn't be any need for a separate *PreCodegen* pass. --- r? oli-obk (or compiler)
… r=BoxyUwU Don't treat const param default as projection Avoid treating const param default as associated const projection. Closes rust-lang#156293
Contributor
Author
|
@bors r+ rollup=never p=1000 |
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…uwer Rollup of 5 pull requests Successful merges: - #156472 (Add support for Zprint-codegen-stats-json) - #156504 (bootstrap: remap windows-style OUT_DIR paths) - #156513 (miri subtree update) - #156524 (Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead) - #156325 (Don't treat const param default as projection)
Contributor
|
💔 Test for 9be3564 failed: CI. Failed job:
|
Contributor
Author
|
@bors retry |
Contributor
|
⌛ Testing commit f6faa05 with merge eab3d97... Workflow: https://github.com/rust-lang/rust/actions/runs/25791925027 |
rust-bors Bot
pushed a commit
that referenced
this pull request
May 13, 2026
…uwer Rollup of 5 pull requests Successful merges: - #156472 (Add support for Zprint-codegen-stats-json) - #156504 (bootstrap: remap windows-style OUT_DIR paths) - #156513 (miri subtree update) - #156524 (Remove the dummy `PreCodegen` mir-opt pass, and use `runtime-optimized` instead) - #156325 (Don't treat const param default as projection)
Collaborator
|
A job failed! Check out the build log: (web) (plain enhanced) (plain) Click to see the possible cause of the failure (guessed by this bot) |
Contributor
Author
|
@bors retry |
Contributor
|
❗ You can only retry pull requests that are approved and have a previously failed auto build. Hint: There is currently a pending auto build on this PR. To cancel it, run |
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.
Successful merges:
PreCodegenmir-opt pass, and useruntime-optimizedinstead #156524 (Remove the dummyPreCodegenmir-opt pass, and useruntime-optimizedinstead)r? @ghost
Create a similar rollup