Skip to content

Rollup of 5 pull requests#156535

Open
JonathanBrouwer wants to merge 41 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-9oxBSQK
Open

Rollup of 5 pull requests#156535
JonathanBrouwer wants to merge 41 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-9oxBSQK

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

cijiugechu and others added 30 commits May 8, 2026 22:13
(f)chmod: add missing isolation checks
readme: clarify that isolation is not a proper sandbox
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`
CI: fix passing --feature flags to `./miri test` invocation
Zalathar and others added 8 commits May 13, 2026 14:54
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
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
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label May 13, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels May 13, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=1000

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 13, 2026

📌 Commit f6faa05 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot 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 May 13, 2026
@rust-bors

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)
@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels May 13, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 13, 2026

💔 Test for 9be3564 failed: CI. Failed job:

@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors retry

@rust-bors rust-bors Bot 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 May 13, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 13, 2026

⌛ 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)
@rust-log-analyzer
Copy link
Copy Markdown
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)
74221b8302ea: Pushed
5f70bf18a086: Layer already exists
1942ea288299: Pushed
c55e4ffaa732: Pushed
toomanyrequests: retry-after: 552.751914ms, allowed: 6/minute
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"
echo "disk usage:"
df -h
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}

@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors retry

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 13, 2026

❗ 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 @bors cancel.

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

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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.