forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 57
Merge subtree update for toolchain nightly-2025-08-01 #441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
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.
connect5: clippy fixes
tests: neon is arm
…erators aarch64: use `core::intrinsics::simd` for integer min/max
…-static `stdarch-gen-arm`: remove `lazy_static`, use `LazyLock` instead
…r_size` feature on some targets
…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]>
Signed-off-by: xizheyin <[email protected]>
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
Implement `push_mut` Implementation of rust-lang#135974.
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"
tautschnig
approved these changes
Aug 4, 2025
feliperodri
approved these changes
Aug 6, 2025
tautschnig
approved these changes
Aug 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
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.
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