Skip to content

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Aug 2, 2025

This is an automated PR to merge library subtree updates from 2025-07-31 (rust-lang/rust@3048886) to 2025-08-01 (rust-lang/rust@adcb3d3), inclusive. This is a clean merge, no conflicts were detected. Do not remove or edit the following annotations:
git-subtree-dir: library
git-subtree-split: 158ca24

RalfJung and others added 30 commits July 11, 2025 17:57
This will let people make calls like random(1..=6), and allows for
future expansion to non-uniform distributions, as well as
floating-point.

For now, this is only implemented for `RangeFull`, to get the interface
in place. Subsequent commits will implement it for other range types.
Clarify and expand documentation for std::sys_common dependency structure

This PR makes a minor improvement to the module-level documentation of std::sys_common:

Replaces the lowercase “dag” with the more standard and explicit form “DAG (Directed Acyclic Graph)” for clarity.
…erators

aarch64: use `core::intrinsics::simd` for integer min/max
…-static

`stdarch-gen-arm`: remove `lazy_static`, use `LazyLock` instead
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#142391 (rust: library: Add `setsid` method to `CommandExt` trait)
 - rust-lang#143302 (`tests/ui`: A New Order [27/N])
 - rust-lang#143303 (`tests/ui`: A New Order [28/28] FINAL PART)
 - rust-lang#143568 (std: sys: net: uefi: tcp4: Add timeout support)
 - rust-lang#143611 (Mention more APIs in `ParseIntError` docs)
 - rust-lang#143661 (chore: Improve how the other suggestions message gets rendered)
 - rust-lang#143708 (fix: Include frontmatter in -Zunpretty output )
 - rust-lang#143718 (Make UB transmutes really UB in LLVM)

r? `@ghost`
`@rustbot` modify labels: rollup

try-job: i686-gnu-nopt-1
try-job: test-various
…iaskrgr

Rollup of 9 pull requests

Successful merges:

 - rust-lang#143403 (Port several trait/coherence-related attributes the new attribute system)
 - rust-lang#143633 (fix: correct assertion to check for 'noinline' attribute presence before removal)
 - rust-lang#143647 (Clarify and expand documentation for std::sys_common dependency structure)
 - rust-lang#143716 (compiler: doc/comment some codegen-for-functions interfaces)
 - rust-lang#143747 (Add target maintainer information for aarch64-unknown-linux-musl)
 - rust-lang#143759 (Fix typos in function names in the `target_feature` test)
 - rust-lang#143767 (Bump `src/tools/x` to Edition 2024 and some cleanups)
 - rust-lang#143769 (Remove support for SwitchInt edge effects in backward dataflow)
 - rust-lang#143770 (build-helper: clippy fixes)

r? `@ghost`
`@rustbot` modify labels: rollup
This CI workflow will run the https://github.com/rust-lang/josh-sync
tool on Mondays and Thursdays. It will try to do a pull (sync stdarch
changes from rust-lang/rust into this repository). When it runs, three
things can happen:
- There are no rustc changes to be pulled, the bot does nothing.
- There are some new changes to be pulled. In that case, the bot will
either open or update an existing PR titled "Rustc pull update" on this
repository with the changes. After the PR is merged, we should ideally
do the opposite sync (push) manually.
- The pull fails (usually because of a merge conflict), or the bot
determines that a pull PR has been opened for more than a week without
being merged. In that case, it will post a ping to
https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/compiler-builtins.20subtree.20sync.20automation/with/528482375.
std: move NuttX to use arc4random for random number generation

arc4random support in libc merged in rust-lang/libc#4464, so:

* Move `target_os = "nuttx"` from unix_legacy to arc4random section
* This aligns NuttX with other POSIX-compliant systems that support arc4random
* Improves random number generation quality on NuttX by using the system's built-in arc4random implementation instead of legacy fallback methods

NuttX supports arc4random_buf which provides better entropy and security compared to the legacy random number generation methods.
…ompiler-errors

New tracking issues for const_ops and const_cmp

Let's do a clean start with new tracking issues to avoid mixing things up with the previous constification.

I assume the fact that the `PartialEq` *trait* and *impls* used different feature names  was a mistake (the feature name on the impl is entirely irrelevant anyway).

Part of rust-lang#143800, rust-lang#143802

r? ``@oli-obk``
Signed-off-by: xizheyin <[email protected]>
Zalathar and others added 15 commits July 29, 2025 23:50
Fix typo in `DropGuard` doc

Follows-up rust-lang#144236 (I happened to see the typo yesterday but didn’t think it should delay the PR’s merge so I kept quiet, sorryyyyy).
Faster equality compare

Add tests

Add missing files for tests
LoongArch64 LSX fast-path for `str.contains(&str)`

Benchmark results with LLVM 21 on LA664:

```
OLD:
test bench_is_contained_in ... bench:          43.63 ns/iter (+/- 0.04)

NEW:
test bench_is_contained_in ... bench:          12.81 ns/iter (+/- 0.01)
```
Fix Ord, Eq and Hash implementation of panic::Location

Fixes rust-lang#144486.

Now properly compares/hashes the filename rather than the pointer to the string.
Rollup of 8 pull requests

Successful merges:

 - rust-lang#144034 (tests: Test line number in debuginfo for diverging function calls)
 - rust-lang#144510 (Fix Ord, Eq and Hash implementation of panic::Location)
 - rust-lang#144583 (Enable T-compiler backport nomination)
 - rust-lang#144586 (Update wasi-sdk to 27.0 in CI)
 - rust-lang#144605 (Resolve: cachify `ExternPreludeEntry.binding` through a `Cell`)
 - rust-lang#144632 (Update some tests for LLVM 21)
 - rust-lang#144639 (Update rustc-perf submodule)
 - rust-lang#144640 (Add support for the m68k architecture in 'object_architecture')

r? `@ghost`
`@rustbot` modify labels: rollup
It adds feature detection of 1 extension (new in std_detect).

New RISC-V Extension:

1.  "Zabha"
…Amanieu

Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in rustdoc

I think it's better to make this constant public so it can be used by crates using `libtest` as dependency.

As a side-note, I will update rust-lang#143900 to make use of this constant once this is current PR is merged.
…manieu

`std_detect`: Linux 6.16 support for RISC-V

It adds feature detection of 1 extension (new in `std_detect`).

New RISC-V Extension:

1.  "Zabha"
@github-actions github-actions bot requested a review from a team as a code owner August 2, 2025 14:11
@tautschnig tautschnig closed this Aug 4, 2025
@tautschnig tautschnig reopened this Aug 4, 2025
@tautschnig tautschnig enabled auto-merge August 6, 2025 07:59
@tautschnig tautschnig added this pull request to the merge queue Aug 6, 2025
Merged via the queue into main with commit ca5f7b8 Aug 6, 2025
25 of 26 checks passed
@tautschnig tautschnig deleted the sync-2025-08-01 branch August 6, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet