Skip to content

Rollup of 5 pull requests#157028

Open
JonathanBrouwer wants to merge 40 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-2vZDpJu
Open

Rollup of 5 pull requests#157028
JonathanBrouwer wants to merge 40 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-2vZDpJu

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

arpitjain099 and others added 30 commits May 15, 2026 00:23
Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
…turn

rename set_last_error_and_return helper to make it clear what we return
This updates the rust-version file to 1f8e04d.
restrict vendor intrinsics to little-endian targets
Co-authored-by: Ralf Jung <post@ralfj.de>
Support running no_core Linux programs
Updates the description in the `tests/fail/tree_borrows/implicit_writes/as_mut_ptr.rs` test. The referenced file no longer exists.

Co-authored-by: Ralf Jung <post@ralfj.de>
as_mut_ptr test update description
…allocate-tmp-buffer-readv

Fix deallocating temporary buffer on failed `readv`
…ill-buffer-windows

Fix skipping TCP write buffer filling on Windows hosts
Per @RalfJung's review at rust-lang#5040, adding the same permissions block to ci.yml as the sysroots PR.

Signed-off-by: Arpit Jain <arpitjain099@gmail.com>
mkstemp: do not silently do the wrong thing on non-Unix/Windows hosts
…rmissions

ci: declare contents:read on Tier 2 sysroots workflow
…rite-timeout

Add network socket read and write timeout
RalfJung and others added 10 commits May 27, 2026 13:11
…sts-for-native-hosts

Fix socket tests to run on native host
This ensures that the readiness of host-backed file descriptions are
up-to-date before executing a foreign function on it.
…oreign-item

Perform host I/O poll before foreign item invocation
…imulacrum

Bootstrap update

- Replace version placeholders with 1.97.0
- Bump stage0 to 1.97.0-beta.1
- Update `cfg(bootstrap)` for the new stage0
- Drop `-Zwarnings` since cargo `build.warnings` is now stable
- Reformat with the new stage0
resolve: Partially convert `ambiguous_glob_imports` lint into a hard error

I'm tired of this logic interfering with any attempts to fix or refactor glob imports.

Change description for lang team: rust-lang#149195 (comment).
Part of rust-lang#114095.
…li-obk

MIR inlining: allow backends to opt-in to inlining intrinsics

This is the same as rust-lang#156398. Github stopped processing updates on that other branch.

r? @oli-obk
…val, r=RalfJung

Fix const-eval of shared generic reborrows

`Rvalue::Reborrow` const-eval now handles shared generic reborrows produced by `CoerceShared`. Those reborrows intentionally copy from the source ADT into a distinct same-layout target ADT, so the interpreter uses the transmute-capable copy path for `Mutability::Not`.

Promotion is intentionally kept conservative: promotion candidates whose validated temporary graph contains `Rvalue::Reborrow` are rejected, so generic/user-defined reborrows are not promoted.

Fixes rust-lang#156313.
cc @aapoalas
Tracking: rust-lang#145612
@rustbot label F-reborrow
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label May 27, 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-release Relevant to the release subteam, which will review and decide on the PR/issue. labels May 27, 2026
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-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. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-release Relevant to the release subteam, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants