Skip to content

Merge subtree update for toolchain nightly-2025-08-07 #450

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

Open
wants to merge 10,000 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
10000 commits
Select commit Hold shift + click to select a range
53a6273
docs(alloc::fmt): Make `type` optional, instead of matching the empty…
nik-rev Jul 13, 2025
966b3b9
Merge from rustc
Jul 14, 2025
82e4fea
Change "allocated object" to "allocation".
theemathas Jul 14, 2025
9fe17f6
Rollup merge of #143875 - fee1-dead-contrib:push-zvqrmzrprpzt, r=comp…
Kobzol Jul 14, 2025
ae2c983
Rollup merge of #143881 - orlp:once-state-repr, r=tgross35
Kobzol Jul 14, 2025
51c20f8
Rollup merge of #143917 - theemathas:change-allocated-object-to-alloc…
Kobzol Jul 14, 2025
651523c
Add experimental backtrace-trace-only std feature
ChrisDenton Jul 13, 2025
ed002d7
Don't call WSACleanup on process exit
ChrisDenton May 31, 2025
f23f224
`s390x`: document the different rounding flavors
folkertdev Jul 14, 2025
ce7cb50
Rollup merge of #141809 - ChrisDenton:no-cleaup, r=jhpratt
samueltardieu Jul 14, 2025
dd56d17
Rollup merge of #143710 - joshtriplett:random-updates, r=joshtriplett
samueltardieu Jul 14, 2025
0229b44
update `cfg_select!` documentation
folkertdev Jul 14, 2025
6f910c8
Merge pull request #1852 from folkertdev/optimize-intrinsic-test
Amanieu Jul 14, 2025
f93f95d
Merge pull request #1870 from Kobzol/rustc-pull-ci
Amanieu Jul 14, 2025
66df762
Merge pull request #1871 from folkertdev/aarch64-float-min-max
Amanieu Jul 14, 2025
a4aad9f
Merge pull request #1837 from heiher/loong32
Amanieu Jul 14, 2025
3cc2afb
Merge pull request #1869 from folkertdev/s390x-use-rounding-intrinsic
Amanieu Jul 14, 2025
e9ee36a
`aarch64`: implement `vabs` using `instrinsics::simd`
folkertdev Jul 12, 2025
052d8a0
Auto merge of #142885 - a1phyr:borrowed_cursor_to_buf, r=Mark-Simulacrum
bors Jul 14, 2025
57b933b
Merge pull request #1872 from folkertdev/aarch64-horizontal-add
Amanieu Jul 15, 2025
6139672
Merge from rustc
Jul 15, 2025
e82e945
constify `SliceIndex` trait
oli-obk Jul 11, 2025
cde6468
constify some methods using `SliceIndex`
oli-obk Jul 11, 2025
ebad345
constify `Index` trait and its slice impls
oli-obk Jul 11, 2025
53f9401
Rollup merge of #143907 - Kijewski:pr-inline-split_at_unchecked, r=Ma…
samueltardieu Jul 15, 2025
a34b496
Rollup merge of #143910 - ChrisDenton:no-symbolization, r=tgross35
samueltardieu Jul 15, 2025
c9dbde9
Rollup merge of #143941 - folkertdev:cfg-select-docs, r=traviscross
samueltardieu Jul 15, 2025
0b4c8ea
make `std_detect` public dependency of `std`
mladedav Jul 12, 2025
e617915
docs: update documentation of core::mem::copy to include const on the…
SunkenPotato Jul 15, 2025
779dd67
Auto merge of #143877 - xizheyin:143813, r=scottmcm,saethlin
bors Jul 15, 2025
7ff8662
add `const_make_global`; err for `const_allocate` ptrs if didn't call
fee1-dead Jul 7, 2025
18e4395
update `Cargo.lock`
folkertdev Jul 10, 2025
376846a
`stdarch-test`: use `std::sync::LazyLock` instead of `lazy_static!`
folkertdev Jul 10, 2025
fb186b2
`stdarch-test`: misc cleanups
folkertdev Jul 10, 2025
52c495d
`stdarch-test`: error if only part of an instruction matched
folkertdev Jul 10, 2025
7ba3d65
s390x: fix tests that matched on prefix of instruction
folkertdev Jul 10, 2025
155add5
aarch64/arm: fix tests that matched on prefix of instruction
folkertdev Jul 10, 2025
921a616
`aarch64`: check for `zip1` and `zip2`
folkertdev Jul 15, 2025
2cbae9c
`aarch64`: check for `uzp1` and `uzp2`
folkertdev Jul 15, 2025
902d3e8
`aarch64`: check for `trn1` and `trn2`
folkertdev Jul 15, 2025
9ad0f6a
Add LocalKey<Cell>::update
camsteffen Jul 15, 2025
fb521eb
Update poison.rs
martinomburajr Jul 16, 2025
61ac992
Modified Typekind to group the Signed and Unsigned version of types.
madhav-madhusoodanan Jul 16, 2025
abe4348
Update SDE to v9.58.0
sayantn Jul 15, 2025
170339e
Update Docker OS to Ubuntu-25.10
sayantn Jul 15, 2025
25787c6
Bump versions in CI
sayantn Jul 15, 2025
36ce2ae
Update `wasmprinter` to latest
sayantn Jul 16, 2025
2eac49b
Merge pull request #1875 from sayantn/sde-update
Amanieu Jul 16, 2025
f7572ae
fix space in generated loongarch
folkertdev Jul 16, 2025
94d264f
Rollup merge of #143355 - hkBst:cleanup-shift-double-bitmask, r=Mark-…
samueltardieu Jul 16, 2025
145e6c8
Rollup merge of #143738 - rocurley:float_tests_refactor_2, r=tgross35
samueltardieu Jul 16, 2025
aeb6362
Rollup merge of #143921 - oli-obk:const-index, r=fee1-dead
samueltardieu Jul 16, 2025
cfebc67
Rollup merge of #143990 - camsteffen:localkey-cell, r=tgross35
samueltardieu Jul 16, 2025
11c7bd3
Implemented DerefMut for ArmIntrinsicTest
madhav-madhusoodanan Jul 16, 2025
5259985
Auto merge of #144019 - RalfJung:miri-sync, r=RalfJung
bors Jul 16, 2025
20cb253
test for the high version of a number of instructions
folkertdev Jul 17, 2025
2290ff2
`stdarch-test`: for now, allow if only part of an instruction matched
folkertdev Jul 10, 2025
cec50f1
Rollup merge of #143592 - ChrisDenton:uwp-link, r=Mark-Simulacrum
fmease Jul 17, 2025
cd62bb7
Rollup merge of #143595 - fee1-dead-contrib:push-sylpykzkmynr, r=Ralf…
fmease Jul 17, 2025
e30bab3
Rollup merge of #143820 - nazo6:fix-optimize-for-size, r=Mark-Simulacrum
fmease Jul 17, 2025
8f10413
Rollup merge of #143829 - a1phyr:trim_borrowed_buf, r=ChrisDenton
fmease Jul 17, 2025
07fb5f4
Rollup merge of #143856 - mladedav:dm/private-reexport, r=petrochenkov
fmease Jul 17, 2025
9aed31a
Rollup merge of #144002 - martinomburajr:patch-1, r=ibraheemdev
fmease Jul 17, 2025
ba0eef2
Rollup merge of #143326 - hkBst:rm-deprecated-1, r=jhpratt
matthiaskrgr Jul 17, 2025
b28864a
Rollup merge of #143631 - hkBst:update-escaper-2, r=compiler-errors
matthiaskrgr Jul 17, 2025
b776158
Allow a new lint failure in nightly
tgross35 Jul 17, 2025
4feba33
constify `Option` methods
oli-obk Jul 15, 2025
53246bd
Update the `no-merges` PR title
Kobzol Jul 17, 2025
a640415
Make `Option` `const PartialEq`
oli-obk Jul 11, 2025
d2cc0be
Make `NonZero` `const PartialEq`
oli-obk Jul 11, 2025
7794caf
Make `derive_const` usable within libcore again
oli-obk Jul 11, 2025
a6946e1
Make slices `[const] PartialEq`
oli-obk Jul 11, 2025
870a260
Rollup merge of #143967 - oli-obk:const-option-methods, r=fee1-dead
matthiaskrgr Jul 18, 2025
2d1e832
loongarch: Mark partial basic intrinsics as safe
heiher Jun 28, 2025
95d10fd
add CI action to check that generated files are correctly checked in
folkertdev Jul 16, 2025
2caa25b
pass the whole config to C compiler construction
folkertdev Jul 10, 2025
f07165d
improve cpp compiler execution
folkertdev Jul 10, 2025
044efa5
Merge pull request #1877 from folkertdev/check-stdarch-gen
folkertdev Jul 18, 2025
43967b3
Merge pull request #1861 from folkertdev/streamline-c-compilation
folkertdev Jul 18, 2025
db0173e
Merge pull request #1878 from madhav-madhusoodanan/intrinsic-test-box…
folkertdev Jul 18, 2025
6557678
exclude generated rust programs from the workspace
folkertdev Jul 10, 2025
5e00e34
`intrinsic-test`: combine C files for more efficient compilation
folkertdev Jul 10, 2025
76794e6
loongarch: Mark SIMD intrinsics without memory access as safe
heiher Jun 28, 2025
edba03d
Rollup merge of #143909 - nik-rev:patch-1, r=jhpratt
matthiaskrgr Jul 18, 2025
aa92949
Rollup merge of #143925 - oli-obk:slice-const-partialeq, r=fee1-dead
matthiaskrgr Jul 18, 2025
3712455
Merge pull request #1874 from heiher/loong-safe
folkertdev Jul 18, 2025
bd4759c
fix: don't panic on volatile access to null
LuigiPiucco Apr 20, 2025
2e8218a
Rollup merge of #143382 - fee1-dead-contrib:push-trrymlzqmmoz, r=jhpratt
matthiaskrgr Jul 18, 2025
b2ae977
mem: Use `core::ffi::c_int`
tgross35 Jul 18, 2025
a3291a5
Change the `memcmp` and `bcmp` return type to `c_int`
supersurviveur Jul 18, 2025
3e7f888
Prepare for merging from rust-lang/rust
invalid-email-address Jul 18, 2025
ad38162
Merge ref '82310651b93a' from rust-lang/rust
invalid-email-address Jul 18, 2025
7d6a2a8
clippy fix: bound in one place
hkBst Jul 2, 2025
2afada9
Merge pull request #1860 from folkertdev/stdarch-test-cleanup
Amanieu Jul 18, 2025
2b813d2
Merge pull request #1862 from folkertdev/combine-c-files
Amanieu Jul 18, 2025
24ed8a1
Rollup merge of #141076 - the8472:fix-zip-panic-safety2, r=workingjub…
matthiaskrgr Jul 19, 2025
4a74c33
interpret: fix TypeId pointers being considered data pointers
RalfJung Jul 19, 2025
3c8e89e
Auto merge of #144166 - matthiaskrgr:rollup-wccepuo, r=matthiaskrgr
bors Jul 19, 2025
44e0e8d
update `Atomic*::from_ptr` and `Atomic*::as_ptr` docs
usamoi Jul 17, 2025
d4a470e
fix load-bearing typo
lqd Jul 19, 2025
fe1d557
Document guarantees of poisoning
purplesyringa Jul 19, 2025
a28087b
`available_parallelism`: Add documentation for why we don't look at `…
joshtriplett Jul 19, 2025
fc07035
Stabilize `const_float_round_methods`
nxsaken Jul 7, 2025
c3eedf1
Add `#[rustc_intrinsic_const_stable_indirect]` to float rounding
nxsaken Jul 7, 2025
fb9def6
Remove deprecated MaybeUninit slice methods
clarfonthey Jul 18, 2025
f4f5b85
Rollup merge of #141260 - LuigiPiucco:volatile-null, r=RalfJung
matthiaskrgr Jul 20, 2025
716cc45
Rollup merge of #143604 - nxsaken:const_float_round_methods, r=RalfJung
matthiaskrgr Jul 20, 2025
8f64817
Rollup merge of #144111 - clarfonthey:maybe-uninit-deprecated, r=jhpratt
matthiaskrgr Jul 20, 2025
a844529
Rollup merge of #144169 - RalfJung:type-id-fix, r=oli-obk
matthiaskrgr Jul 20, 2025
bac455c
Remove the ptr_unique lang item
bjorn3 Jul 20, 2025
4070d59
Rollup merge of #143282 - nxsaken:strict_sub_signed, r=jhpratt
GuillaumeGomez Jul 20, 2025
62f8613
Rollup merge of #143423 - hkBst:clippy-fix-1, r=workingjubilee
GuillaumeGomez Jul 20, 2025
363b650
flt2dec: use fill instead of loop
hkBst Jul 20, 2025
6c68f6e
Option::as_slice: fix comment
RalfJung Jul 20, 2025
a9d5359
Constify Try, From, TryFrom
Randl Jul 21, 2025
e933f51
Fix broken TLS destructors on 32-bit win7
roblabla Jul 20, 2025
c56976b
Auto merge of #144154 - tgross35:update-builtins, r=tgross35
bors Jul 21, 2025
95807b8
Rollup merge of #143768 - Randl:const-try, r=oli-obk
jieyouxu Jul 21, 2025
b2b679d
Rollup merge of #144212 - bjorn3:remove_unique_lang_item, r=oli-obk
jieyouxu Jul 21, 2025
7b03434
Auto merge of #144205 - hkBst:flt2dec, r=workingjubilee
bors Jul 22, 2025
3ed0e74
Rename `tests/codegen` into `tests/codegen-llvm`
GuillaumeGomez Jul 21, 2025
e5f01f9
Auto merge of #144222 - Kobzol:stdarch-push, r=folkertdev
bors Jul 22, 2025
ebd32cc
Move `std_detect` from `library/stdarch` to `library`
Kobzol Jul 4, 2025
27ca327
Make `std_detect` a direct dependency of `std`
Kobzol Jul 4, 2025
9291cbb
Reformat `std_detect`
Kobzol Jul 4, 2025
391483d
Update stdarch README
Kobzol Jul 4, 2025
23d629f
Move tests around to appease `tidy`
Kobzol Jul 4, 2025
cbfa36d
Fix warning
Kobzol Jul 4, 2025
e4626ee
Remove `std_detect` from stdarch examples
Kobzol Jul 13, 2025
4183f55
Remove `std_detect` from stdarch's CI
Kobzol Jul 13, 2025
b12bb26
Remove licenses from std-detect
Kobzol Jul 14, 2025
9d1558e
Improve error messages of auxv loading
Kobzol Jul 18, 2025
4701dec
Embed auxv files directly into the test binary
Kobzol Jul 18, 2025
16f86fa
Auto merge of #144249 - GuillaumeGomez:asm-tests, r=jieyouxu
bors Jul 22, 2025
56248ea
std: net: uefi: Add support to query connection data
Ayush1325 Jul 12, 2025
bd9c133
Auto merge of #143412 - Kobzol:std-detect-in-stdlib, r=Amanieu
bors Jul 23, 2025
7713fee
Hint that choose_pivot returns index in bounds
kornelski Jul 22, 2025
a941c71
Disable non_exhaustive_omitted_patterns within matches! macro
jplatte Jul 22, 2025
8ff3ac7
Add regression test for matches! + non_exhaustive_omitted_patterns lint
jplatte Jul 23, 2025
24c0319
Rollup merge of #144234 - roblabla:fix-win7-tls-dtors, r=ChrisDenton
matthiaskrgr Jul 23, 2025
8bd86f3
coretests/num: use ldexp instead of hard-coding a power of 2
RalfJung Jul 21, 2025
17bb12c
Update `dlmalloc` dependency of libstd
alexcrichton Jul 23, 2025
6179b3d
Document (internally) that `Range*<&T> as RangeBounds<T>` impls are i…
zachs18 Jul 19, 2025
734df41
add Rev::into_inner
Qelxiros Jul 22, 2025
f241071
Disable unit tests for stdlib packages that don't contain any
bjorn3 Jul 24, 2025
18ad7a0
std_detect testing improvements
bjorn3 Jul 24, 2025
ceb53ef
Rollup merge of #143838 - Ayush1325:uefi-tcp4-config-data, r=tgross35
fmease Jul 24, 2025
7c11905
Rollup merge of #144247 - RalfJung:ldexp, r=tgross35
fmease Jul 24, 2025
36fd554
Rollup merge of #144278 - Qelxiros:rev-into-inner, r=tgross35
fmease Jul 24, 2025
d62d879
library/windows_targets: Fix macro expansion error in 'link' macro
itf Jul 24, 2025
57ed6a5
Rollup merge of #143424 - hkBst:auto-deref, r=jhpratt
matthiaskrgr Jul 25, 2025
4591728
Rollup merge of #143970 - SunkenPotato:update_mem_copy_docs, r=scottmcm
matthiaskrgr Jul 25, 2025
987a142
Rollup merge of #144314 - kornelski:pivot-safely, r=jhpratt
matthiaskrgr Jul 25, 2025
77fa9f0
Link to Mutex poisoning docs from RwLock docs
purplesyringa Jul 25, 2025
73a96a2
Allow ffi_unwind_calls for `arch::wasm32::throw`
purplesyringa Jul 25, 2025
596e63b
Add a list of failure conditions for poisoning
purplesyringa Jul 25, 2025
518546b
Add a note on foreign exceptions
purplesyringa Jul 25, 2025
3aed15b
Remove `compiler-builtins-no-asm`
tgross35 Jul 25, 2025
a46e561
Remove `compiler-builtins-mangled-names`
tgross35 Jul 26, 2025
9ef4204
str: Mark unstable `round_char_boundary` feature functions as const
okaneco Jul 25, 2025
a4612e7
Improve and regularize comment placement in doc code
joshtriplett Jul 26, 2025
9a650bc
Avoid placing `// FIXME` comments inside doc code blocks
joshtriplett Jul 26, 2025
b86fc93
Add parentheses around expression arguments to `..`
joshtriplett Jul 26, 2025
c86b3c8
Avoid making the start of a doc code block conditional
joshtriplett Jul 26, 2025
b671d55
Rollup merge of #144364 - alexcrichton:update-dlmalloc, r=Mark-Simula…
tgross35 Jul 26, 2025
94e12a6
Rollup merge of #143272 - tgross35:bump-fortanix, r=jhpratt,jethrogb
tgross35 Jul 26, 2025
e332572
Rollup merge of #143859 - orlp:thread-into-raw-align, r=jhpratt
tgross35 Jul 26, 2025
50b68d9
Auto merge of #144490 - tgross35:rollup-ps0utme, r=tgross35
bors Jul 26, 2025
3da3651
Rollup merge of #144331 - jplatte:matches-allow-non_exhaustive_omitte…
matthiaskrgr Jul 26, 2025
d862f57
cargo update
invalid-email-address Jul 27, 2025
2f73282
Rollup merge of #141840 - ChrisDenton:noempty, r=ChrisDenton
jhpratt Jul 27, 2025
7fac5a8
Rollup merge of #144422 - itf:itf-patch-2-1, r=ChrisDenton
jhpratt Jul 27, 2025
7276e52
constify with_exposed_provenance
RalfJung Jul 27, 2025
f2668d2
Auto merge of #144225 - purplesyringa:unwinding-intrinsics, r=nikic
bors Jul 27, 2025
f03e04d
Rollup merge of #144471 - tgross35:compiler-builtins-asm, r=Amanieu
matthiaskrgr Jul 27, 2025
c289dd0
Auto merge of #144556 - matthiaskrgr:rollup-aayo3h5, r=matthiaskrgr
bors Jul 28, 2025
da257ec
Remove `[T]::array_chunks(_mut)`
scottmcm Jul 1, 2025
372e1f8
Rollup merge of #144072 - usamoi:docs, r=Mark-Simulacrum
matthiaskrgr Jul 28, 2025
f5bbe80
Rollup merge of #144399 - bjorn3:stdlib_tests_separate_packages, r=Ma…
matthiaskrgr Jul 28, 2025
407bf08
Rollup merge of #144472 - okaneco:char_bound, r=Mark-Simulacrum
matthiaskrgr Jul 28, 2025
5735eb9
fixed typo chunks->as_chunks
xonx4l Jul 28, 2025
aabe3f3
Add `core::mem::DropGuard`
yoshuawuyts Jul 21, 2025
809d5dd
fix `Atomic*::as_ptr` wording
usamoi Jul 28, 2025
9051548
thread name in stack overflow message
joboet Jul 26, 2025
6fa579b
Auto merge of #144524 - rust-lang:cargo_update, r=clubby789
bors Jul 28, 2025
bfe154b
Auto merge of #143289 - scottmcm:remove-array-chunks, r=jhpratt
bors Jul 29, 2025
8ed1e31
Rollup merge of #144236 - yoshuawuyts:drop-guard, r=Mark-Simulacrum
Zalathar Jul 29, 2025
1275454
Rollup merge of #144539 - RalfJung:const_with_exposed_provenance, r=o…
Zalathar Jul 29, 2025
d0acc19
Rollup merge of #144575 - xonx4l:patch-6, r=scottmcm
Zalathar Jul 29, 2025
0603f87
Rollup merge of #144582 - usamoi:docs, r=RalfJung
Zalathar Jul 29, 2025
bc089b3
clean up existing poison files
connortsui20 Jul 23, 2025
42d8ab4
add `nonpoison::mutex` implementation
connortsui20 Jul 23, 2025
e2f735a
reorder mutex tests
connortsui20 Jul 23, 2025
3494607
add nonpoison and poison mutex tests
connortsui20 Jul 23, 2025
7ae281e
add extra drop, panic, and unwind tests
connortsui20 Jul 29, 2025
207afb9
Rollup merge of #144022 - connortsui20:sync_nonpoison, r=tgross35
Zalathar Jul 29, 2025
84f9da4
Rollup merge of #144167 - zachs18:rangebounds-not-unsized-reason, r=t…
Zalathar Jul 29, 2025
1124ac6
Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisD…
Zalathar Jul 29, 2025
038f313
Fix typo in `DropGuard` doc
lucaswerkmeister Jul 29, 2025
83cab05
LoongArch64 LSX fast-path for `str.contains(&str)`
heiher Jun 24, 2025
bc6be7b
Rollup merge of #144634 - lucaswerkmeister:patch-1, r=lqd
Zalathar Jul 29, 2025
8690b14
Fix Ord, Eq and Hash implementation of panic::Location
orlp Jul 26, 2025
2f8dad2
Auto merge of #144393 - heiher:str-contains-lsx, r=tgross35
bors Jul 29, 2025
a003f50
Rollup merge of #144510 - orlp:fix-location-ord, r=ibraheemdev
jhpratt Jul 29, 2025
af745a4
Auto merge of #144658 - jhpratt:rollup-jdzhz27, r=jhpratt
bors Jul 29, 2025
df69b7d
`AlignmentEnum` should just be `repr(usize)` now
scottmcm Jul 30, 2025
cb5ac93
Implement push_mut
balt-dev Jun 17, 2025
f4d1221
Rollup merge of #135975 - balt-dev:master, r=tgross35
Zalathar Jul 31, 2025
6db2dc3
std_detect: Linux 6.16 support for RISC-V
a4lg Jul 31, 2025
371ea17
Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in ru…
GuillaumeGomez Jul 22, 2025
feb3eae
Rollup merge of #144297 - GuillaumeGomez:ERROR_EXIT_CODE, r=Amanieu
samueltardieu Jul 31, 2025
158ca24
Rollup merge of #144721 - a4lg:riscv-hwprobe-linux-6.16, r=Amanieu
samueltardieu Jul 31, 2025
c578f21
uefi: Use slice equality rather than `memcmp`
tgross35 Jul 31, 2025
6fee60e
Use `core` via `rustc-std-workspace-core` in `library/panic*`
tgross35 Jul 30, 2025
fc7b60d
Remove `std`'s dependency on `compiler-builtins`
tgross35 Jul 30, 2025
3e21361
Rollup merge of #144683 - tgross35:builtins-via-std-workspace, r=bjor…
jhpratt Aug 1, 2025
46d7619
Constify additional Result functions
Randl Aug 1, 2025
64e8ed9
Fix safety comment for new_unchecked in niche_types
nilehmann Aug 1, 2025
b8f0f94
feat: implement `hash_map!` macro
stifskere Aug 1, 2025
d97f923
Rollup merge of #143771 - Randl:const-result, r=tgross35
samueltardieu Aug 2, 2025
d71da41
Rollup merge of #144185 - purplesyringa:poisoning-wording, r=Amanieu
samueltardieu Aug 2, 2025
50d1f58
Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Am…
samueltardieu Aug 2, 2025
d52b3bb
Rollup merge of #144797 - nilehmann:safety-comment-niche, r=Noratrieb
samueltardieu Aug 2, 2025
b228233
Change visibility of Args new function
chotchki Aug 2, 2025
b2b9d3e
cargo update
invalid-email-address Aug 3, 2025
e5f3f9c
rename rust_panic_without_hook
Kivooeo Aug 3, 2025
61c3e07
remove rust_ prefixes
Kivooeo Aug 3, 2025
f470dd4
Use `as_array` in PartialEq for arrays
scottmcm Aug 3, 2025
2b47c30
Rollup merge of #144070 - stifskere:feat/macros/hash_map, r=Noratrieb
samueltardieu Aug 3, 2025
21e872c
Rollup merge of #144843 - rust-lang:cargo_update, r=clubby789
samueltardieu Aug 3, 2025
2b97240
fix broken doc section link in `poison.rs`
connortsui20 Aug 3, 2025
ed3c994
add poisoning documentation to `LazyCell`
connortsui20 Aug 3, 2025
d194960
add poisoning documentation to `LazyLock`
connortsui20 Aug 3, 2025
2be5456
Rollup merge of #142205 - paolobarbolini:const_swap_with_slice-impl, …
Zalathar Aug 4, 2025
bf1b45a
Rollup merge of #144188 - joshtriplett:available-parallelism, r=Mark-…
Zalathar Aug 4, 2025
a3c6369
Rollup merge of #144667 - scottmcm:alignment-is-usize, r=tgross35
Zalathar Aug 4, 2025
4ed226c
Rollup merge of #144853 - Kivooeo:rust_-cleanup, r=Mark-Simulacrum
Zalathar Aug 4, 2025
4f5ed30
Correct the use of `must_use` on btree::IterMut
JonathanBrouwer Aug 4, 2025
6683196
Rollup merge of #144852 - Kivooeo:rename-panic, r=m-ou-se
samueltardieu Aug 5, 2025
f555834
Rollup merge of #144867 - scottmcm:more-as-array, r=chenyukang
samueltardieu Aug 5, 2025
7112d06
Rollup merge of #144872 - connortsui20:once-poison-docs, r=Amanieu
samueltardieu Aug 5, 2025
c00829b
Renamed `isolate_most_least_significant_one` functions
okaneco Aug 5, 2025
aae162a
Fix some doc links for intrinsics
ehuss Aug 6, 2025
6ee95c9
Rollup merge of #144836 - chotchki:patch-1, r=tgross35
Kobzol Aug 6, 2025
9593fbf
Rollup merge of #144926 - JonathanBrouwer:fix-mustuse, r=cuviper
Kobzol Aug 6, 2025
2bc6d5e
Rollup merge of #144971 - okaneco:rename_isolate_ones, r=joshtriplett
Kobzol Aug 6, 2025
4ff8a80
Rollup merge of #144978 - ehuss:intrinsic-doc-links, r=scottmcm
Kobzol Aug 6, 2025
7f1caba
Merge branch 'subtree/library'
Aug 8, 2025
33848a4
Update toolchain to 2025-08-07
Aug 8, 2025
cfe63b5
Update Kani version to 9deeec1bec16c4b1f1173d5d652f99d330a4650f
Aug 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion library/alloc/src/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ impl<'a, K: 'a, V: 'a> Default for Iter<'a, K, V> {
/// documentation for more.
///
/// [`iter_mut`]: BTreeMap::iter_mut
#[must_use = "iterators are lazy and do nothing unless consumed"]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct IterMut<'a, K: 'a, V: 'a> {
range: LazyLeafRange<marker::ValMut<'a>, K, V>,
Expand All @@ -391,7 +392,6 @@ pub struct IterMut<'a, K: 'a, V: 'a> {
_marker: PhantomData<&'a mut (K, V)>,
}

#[must_use = "iterators are lazy and do nothing unless consumed"]
#[stable(feature = "collection_debug", since = "1.17.0")]
impl<K: fmt::Debug, V: fmt::Debug> fmt::Debug for IterMut<'_, K, V> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down
8 changes: 4 additions & 4 deletions library/core/src/intrinsics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2692,7 +2692,7 @@ pub unsafe fn vtable_align(_ptr: *const ()) -> usize;
/// More specifically, this is the offset in bytes between successive
/// items of the same type, including alignment padding.
///
/// The stabilized version of this intrinsic is [`size_of`].
/// The stabilized version of this intrinsic is [`core::mem::size_of`].
#[rustc_nounwind]
#[unstable(feature = "core_intrinsics", issue = "none")]
#[rustc_intrinsic_const_stable_indirect]
Expand All @@ -2706,7 +2706,7 @@ pub const fn size_of<T>() -> usize;
/// Therefore, implementations must not require the user to uphold
/// any safety invariants.
///
/// The stabilized version of this intrinsic is [`align_of`].
/// The stabilized version of this intrinsic is [`core::mem::align_of`].
#[rustc_nounwind]
#[unstable(feature = "core_intrinsics", issue = "none")]
#[rustc_intrinsic_const_stable_indirect]
Expand All @@ -2729,7 +2729,7 @@ pub const fn variant_count<T>() -> usize;

/// The size of the referenced value in bytes.
///
/// The stabilized version of this intrinsic is [`size_of_val`].
/// The stabilized version of this intrinsic is [`core::mem::size_of_val`].
///
/// # Safety
///
Expand All @@ -2742,7 +2742,7 @@ pub const unsafe fn size_of_val<T: ?Sized>(ptr: *const T) -> usize;

/// The required alignment of the referenced value.
///
/// The stabilized version of this intrinsic is [`align_of_val`].
/// The stabilized version of this intrinsic is [`core::mem::align_of_val`].
///
/// # Safety
///
Expand Down
12 changes: 6 additions & 6 deletions library/core/src/num/int_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,14 @@ macro_rules! int_impl {
///
#[doc = concat!("let n: ", stringify!($SelfT), " = 0b_01100100;")]
///
/// assert_eq!(n.isolate_most_significant_one(), 0b_01000000);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_most_significant_one(), 0);")]
/// assert_eq!(n.isolate_highest_one(), 0b_01000000);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_highest_one(), 0);")]
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_most_significant_one(self) -> Self {
pub const fn isolate_highest_one(self) -> Self {
self & (((1 as $SelfT) << (<$SelfT>::BITS - 1)).wrapping_shr(self.leading_zeros()))
}

Expand All @@ -198,14 +198,14 @@ macro_rules! int_impl {
///
#[doc = concat!("let n: ", stringify!($SelfT), " = 0b_01100100;")]
///
/// assert_eq!(n.isolate_least_significant_one(), 0b_00000100);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_least_significant_one(), 0);")]
/// assert_eq!(n.isolate_lowest_one(), 0b_00000100);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_lowest_one(), 0);")]
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_least_significant_one(self) -> Self {
pub const fn isolate_lowest_one(self) -> Self {
self & self.wrapping_neg()
}

Expand Down
8 changes: 4 additions & 4 deletions library/core/src/num/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,15 +654,15 @@ macro_rules! nonzero_integer {
#[doc = concat!("let a = NonZero::<", stringify!($Int), ">::new(0b_01100100)?;")]
#[doc = concat!("let b = NonZero::<", stringify!($Int), ">::new(0b_01000000)?;")]
///
/// assert_eq!(a.isolate_most_significant_one(), b);
/// assert_eq!(a.isolate_highest_one(), b);
/// # Some(())
/// # }
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_most_significant_one(self) -> Self {
pub const fn isolate_highest_one(self) -> Self {
let n = self.get() & (((1 as $Int) << (<$Int>::BITS - 1)).wrapping_shr(self.leading_zeros()));

// SAFETY:
Expand All @@ -684,15 +684,15 @@ macro_rules! nonzero_integer {
#[doc = concat!("let a = NonZero::<", stringify!($Int), ">::new(0b_01100100)?;")]
#[doc = concat!("let b = NonZero::<", stringify!($Int), ">::new(0b_00000100)?;")]
///
/// assert_eq!(a.isolate_least_significant_one(), b);
/// assert_eq!(a.isolate_lowest_one(), b);
/// # Some(())
/// # }
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_least_significant_one(self) -> Self {
pub const fn isolate_lowest_one(self) -> Self {
let n = self.get();
let n = n & n.wrapping_neg();

Expand Down
12 changes: 6 additions & 6 deletions library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,14 +229,14 @@ macro_rules! uint_impl {
///
#[doc = concat!("let n: ", stringify!($SelfT), " = 0b_01100100;")]
///
/// assert_eq!(n.isolate_most_significant_one(), 0b_01000000);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_most_significant_one(), 0);")]
/// assert_eq!(n.isolate_highest_one(), 0b_01000000);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_highest_one(), 0);")]
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_most_significant_one(self) -> Self {
pub const fn isolate_highest_one(self) -> Self {
self & (((1 as $SelfT) << (<$SelfT>::BITS - 1)).wrapping_shr(self.leading_zeros()))
}

Expand All @@ -250,14 +250,14 @@ macro_rules! uint_impl {
///
#[doc = concat!("let n: ", stringify!($SelfT), " = 0b_01100100;")]
///
/// assert_eq!(n.isolate_least_significant_one(), 0b_00000100);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_least_significant_one(), 0);")]
/// assert_eq!(n.isolate_lowest_one(), 0b_00000100);
#[doc = concat!("assert_eq!(0_", stringify!($SelfT), ".isolate_lowest_one(), 0);")]
/// ```
#[unstable(feature = "isolate_most_least_significant_one", issue = "136909")]
#[must_use = "this returns the result of the operation, \
without modifying the original"]
#[inline(always)]
pub const fn isolate_least_significant_one(self) -> Self {
pub const fn isolate_lowest_one(self) -> Self {
self & self.wrapping_neg()
}

Expand Down
20 changes: 10 additions & 10 deletions library/coretests/tests/nonzero.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ fn nonzero_trailing_zeros() {
}

#[test]
fn test_nonzero_isolate_most_significant_one() {
fn test_nonzero_isolate_highest_one() {
// Signed most significant one
macro_rules! nonzero_int_impl {
($($T:ty),+) => {
Expand All @@ -335,8 +335,8 @@ fn test_nonzero_isolate_most_significant_one() {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
NonZero::<$T>::new(BITS >> i).unwrap().isolate_most_significant_one(),
NonZero::<$T>::new(MOST_SIG_ONE >> i).unwrap().isolate_most_significant_one()
NonZero::<$T>::new(BITS >> i).unwrap().isolate_highest_one(),
NonZero::<$T>::new(MOST_SIG_ONE >> i).unwrap().isolate_highest_one()
);
i += 1;
}
Expand All @@ -356,8 +356,8 @@ fn test_nonzero_isolate_most_significant_one() {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
NonZero::<$T>::new(BITS >> i).unwrap().isolate_most_significant_one(),
NonZero::<$T>::new(MOST_SIG_ONE >> i).unwrap().isolate_most_significant_one(),
NonZero::<$T>::new(BITS >> i).unwrap().isolate_highest_one(),
NonZero::<$T>::new(MOST_SIG_ONE >> i).unwrap().isolate_highest_one(),
);
i += 1;
}
Expand All @@ -371,7 +371,7 @@ fn test_nonzero_isolate_most_significant_one() {
}

#[test]
fn test_nonzero_isolate_least_significant_one() {
fn test_nonzero_isolate_lowest_one() {
// Signed least significant one
macro_rules! nonzero_int_impl {
($($T:ty),+) => {
Expand All @@ -385,8 +385,8 @@ fn test_nonzero_isolate_least_significant_one() {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
NonZero::<$T>::new(BITS << i).unwrap().isolate_least_significant_one(),
NonZero::<$T>::new(LEAST_SIG_ONE << i).unwrap().isolate_least_significant_one()
NonZero::<$T>::new(BITS << i).unwrap().isolate_lowest_one(),
NonZero::<$T>::new(LEAST_SIG_ONE << i).unwrap().isolate_lowest_one()
);
i += 1;
}
Expand All @@ -406,8 +406,8 @@ fn test_nonzero_isolate_least_significant_one() {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
NonZero::<$T>::new(BITS << i).unwrap().isolate_least_significant_one(),
NonZero::<$T>::new(LEAST_SIG_ONE << i).unwrap().isolate_least_significant_one(),
NonZero::<$T>::new(BITS << i).unwrap().isolate_lowest_one(),
NonZero::<$T>::new(LEAST_SIG_ONE << i).unwrap().isolate_lowest_one(),
);
i += 1;
}
Expand Down
12 changes: 6 additions & 6 deletions library/coretests/tests/num/int_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ macro_rules! int_module {
}

#[test]
fn test_isolate_most_significant_one() {
fn test_isolate_highest_one() {
const BITS: $T = -1;
const MOST_SIG_ONE: $T = 1 << (<$T>::BITS - 1);

Expand All @@ -203,15 +203,15 @@ macro_rules! int_module {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
(BITS >> i).isolate_most_significant_one(),
(MOST_SIG_ONE >> i).isolate_most_significant_one()
(BITS >> i).isolate_highest_one(),
(MOST_SIG_ONE >> i).isolate_highest_one()
);
i += 1;
}
}

#[test]
fn test_isolate_least_significant_one() {
fn test_isolate_lowest_one() {
const BITS: $T = -1;
const LEAST_SIG_ONE: $T = 1;

Expand All @@ -220,8 +220,8 @@ macro_rules! int_module {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
(BITS << i).isolate_least_significant_one(),
(LEAST_SIG_ONE << i).isolate_least_significant_one()
(BITS << i).isolate_lowest_one(),
(LEAST_SIG_ONE << i).isolate_lowest_one()
);
i += 1;
}
Expand Down
12 changes: 6 additions & 6 deletions library/coretests/tests/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ macro_rules! uint_module {
}

#[test]
fn test_isolate_most_significant_one() {
fn test_isolate_highest_one() {
const BITS: $T = <$T>::MAX;
const MOST_SIG_ONE: $T = 1 << (<$T>::BITS - 1);

Expand All @@ -160,15 +160,15 @@ macro_rules! uint_module {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
(BITS >> i).isolate_most_significant_one(),
(MOST_SIG_ONE >> i).isolate_most_significant_one(),
(BITS >> i).isolate_highest_one(),
(MOST_SIG_ONE >> i).isolate_highest_one(),
);
i += 1;
}
}

#[test]
fn test_isolate_least_significant_one() {
fn test_isolate_lowest_one() {
const BITS: $T = <$T>::MAX;
const LEAST_SIG_ONE: $T = 1;

Expand All @@ -177,8 +177,8 @@ macro_rules! uint_module {
let mut i = 0;
while i < <$T>::BITS {
assert_eq!(
(BITS << i).isolate_least_significant_one(),
(LEAST_SIG_ONE << i).isolate_least_significant_one(),
(BITS << i).isolate_lowest_one(),
(LEAST_SIG_ONE << i).isolate_lowest_one(),
);
i += 1;
}
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/sys/args/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ impl !Sync for Args {}

impl Args {
#[inline]
pub(super) fn new(args: Vec<OsString>) -> Self {
pub fn new(args: Vec<OsString>) -> Self {
Args { iter: args.into_iter() }
}
}
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# standard library we currently track.

[toolchain]
channel = "nightly-2025-08-06"
channel = "nightly-2025-08-07"
components = ["llvm-tools-preview", "rustc-dev", "rust-src", "rustfmt"]
2 changes: 1 addition & 1 deletion tool_config/kani-version.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# incompatible with the verify-std repo.

[kani]
commit = "fade7057e845eb5e5c6c9bc00a6d72b338765683"
commit = "9deeec1bec16c4b1f1173d5d652f99d330a4650f"