Skip to content

Merge subtree update for toolchain nightly-2025-07-02 #407

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
3e892fc
ci: Fix a typo that was causing a command failure
tgross35 Jun 10, 2025
b572f5d
add a fixme to use `extern_custom` when available
folkertdev Jun 9, 2025
fc4fc8f
use `#[naked]` for `__rust_probestack`
folkertdev Jun 3, 2025
6b8c25e
merge the sgx/fortanix `__rust_probestack` into the general `x86_64` one
folkertdev Jun 3, 2025
d783a41
indent the probestack inline assembly
folkertdev Jun 3, 2025
2254a83
Rollup merge of #134442 - epage:change, r=workingjubilee
fmease Jun 10, 2025
4ff4998
Rollup merge of #140766 - sayantn:stabilize-keylocker, r=traviscross,…
fmease Jun 10, 2025
0dbf497
Rollup merge of #141992 - folkertdev:probestack-naked-function, r=tgr…
fmease Jun 10, 2025
ba9f624
Rollup merge of #142101 - lolbinarycat:core-dedup-ptr-docs-139190-pt2…
fmease Jun 10, 2025
4982f2e
Rollup merge of #142102 - kiseitai3:141714_stdin_read_to_string_docs,…
fmease Jun 10, 2025
9fbece5
Rollup merge of #142262 - aDotInTheVoid:nomemchr, r=Noratrieb
fmease Jun 10, 2025
cdfe508
core docs: improve clarity of considerations about atomic CAS operations
fu5ha Jun 10, 2025
ba53e94
format integer tests regrouped, min/max coverage and 128-bit coverage
pascaldekloe Feb 5, 2025
71b0b9d
std::net: adding `unix_socket_exclbind` feature for solaris/illumos.
devnexen Apr 4, 2024
ca23f47
Auto merge of #142292 - RalfJung:miri-sync, r=RalfJung
bors Jun 10, 2025
e9d4d10
feat: Add `bit_width` for unsigned integer types
sorairolake Jun 7, 2025
0d22fa0
Add trim_prefix and trim_suffix for slice and str.
deven Jun 11, 2025
9fb930a
faster fmt::Display of 128-bit integers, without unsafe pointer
pascaldekloe Feb 5, 2025
5e1eca1
Fixes to compile with latest Rust nightly
Amanieu Jun 11, 2025
a552ce5
stabilize gai
BoxyUwU Jun 11, 2025
2b61cdc
Fix Debug for Location.
m-ou-se Jun 11, 2025
c842466
Update dependencies in `library/Cargo.lock`
tgross35 Jun 10, 2025
743d005
Upgrade the standard library `object` version
tgross35 Jun 10, 2025
b8e0586
Upgrade the standard library `addr2line` version
tgross35 Jun 10, 2025
9901c63
Upgrade the standard library `unwinding` version
tgross35 Jun 11, 2025
1a90510
Auto merge of #136594 - pascaldekloe:fmt-int128, r=tgross35
bors Jun 12, 2025
6f40289
cargo update
invalid-email-address Jun 8, 2025
fcb45d0
update docs, test
Qelxiros Jun 12, 2025
8c8ed8f
Allow `unpredictable_function_pointer_comparisons` lint in more places
Urgau Dec 19, 2024
158c8ca
Add lockfile
Kobzol Jun 12, 2025
7e06ea4
Auto merge of #141205 - rust-lang:cargo_update, r=Mark-Simulacrum
bors Jun 12, 2025
fd45ff2
chore(doctest): Remove redundant blank lines
sorairolake Jun 12, 2025
e51e83b
Update the stdarch submodule
tgross35 Jun 10, 2025
05269b7
Tracking the old name of renamed unstable library attribute
xizheyin Jun 7, 2025
0cc8ed7
intrinsics: rename min_align_of to align_of
RalfJung Jun 12, 2025
d304405
Delegate `<CStr as Debug>` to `ByteStr`
tamird Apr 18, 2025
3e87680
Rollup merge of #138016 - nwoods-cimpress:slice_chunkby_clone, r=dtolnay
matthiaskrgr Jun 12, 2025
f0c3afe
Rollup merge of #141947 - zachs18:patch-4, r=workingjubilee,traviscross
matthiaskrgr Jun 12, 2025
058c23d
Rollup merge of #142252 - fu5ha:doc-cas-ops, r=ibraheemdev
matthiaskrgr Jun 12, 2025
250a301
Rollup merge of #134536 - Urgau:fn-ptr-option, r=compiler-errors,trav…
matthiaskrgr Jun 12, 2025
a78ed82
Rollup merge of #142402 - sorairolake:remove-blank-line, r=workingjub…
matthiaskrgr Jun 12, 2025
83376b4
Delegate `<SocketAddr as Debug>` to `ByteStr`
tamird May 24, 2025
1b28bd0
Unimplement unsized_locals
mejrs Jun 12, 2025
5c3c860
Rollup merge of #141491 - tamird:cstr-debug-bstr, r=joshtriplett
matthiaskrgr Jun 13, 2025
d430461
Rollup merge of #142158 - xizheyin:141617, r=jdonszelmann
matthiaskrgr Jun 13, 2025
2d34b82
Rollup merge of #142410 - RalfJung:align_of, r=WaffleLapkin,workingju…
matthiaskrgr Jun 13, 2025
9298508
Rollup merge of #142274 - tgross35:update-stdarch, r=Amanieu
matthiaskrgr Jun 13, 2025
5442843
Rollup merge of #142276 - tgross35:update-library-lockfile, r=Mark-Si…
matthiaskrgr Jun 13, 2025
7cbbd14
Rollup merge of #142308 - tgross35:upgrade-library-object, r=Mark-Sim…
matthiaskrgr Jun 13, 2025
eadae1c
Auto merge of #142432 - matthiaskrgr:rollup-ziuls9y, r=matthiaskrgr
bors Jun 13, 2025
34cc200
Eliminate `build.rs`-generated Aarch64 atomic macros (#951)
qinghon Jun 13, 2025
3ab6f9e
tweak runtime/const macro management
RalfJung Jun 13, 2025
f3f8717
Remove "intermittent" wording from `ReadDir`
ChrisDenton Jun 13, 2025
5ad2b11
Windows: make read_dir stop iterating on error
ChrisDenton Jun 13, 2025
0c78395
Auto merge of #142442 - matthiaskrgr:rollup-6yodjfx, r=matthiaskrgr
bors Jun 13, 2025
cd55106
doc: mention that intrinsics should not be called in user code
scrabsha Jun 13, 2025
654284e
fmaximum,fminimum: Fix incorrect result and add tests
tgross35 Jun 2, 2025
25c15fc
Clean up and sort manifest keys
tgross35 Jun 13, 2025
8a585bf
Auto merge of #142443 - matthiaskrgr:rollup-l1l6d0v, r=matthiaskrgr
bors Jun 13, 2025
c8e789e
Mark compiler-builtins as `publish = false`
tgross35 Jun 13, 2025
6bb6f74
100% safe implementation of RepeatN
Soveu Sep 26, 2024
3aeeea5
Remove unneeded lifetimes from signature of BTreeSet::extract_if
dtolnay Jun 14, 2025
3a28dcf
Delete `.release-plz.toml`
tgross35 Jun 14, 2025
9fc5828
Rollup merge of #142046 - Qelxiros:122742-vec_peek_mut, r=cuviper
workingjubilee Jun 14, 2025
ad9a9a5
Rollup merge of #142439 - scrabsha:rust/sasha/uwkqrkztvqry, r=RalfJung
workingjubilee Jun 14, 2025
4115287
Rollup merge of #142452 - ChrisDenton:intermittent, r=Noratrieb
workingjubilee Jun 14, 2025
2beeeab
Update the upstream Rust version
tgross35 Jun 14, 2025
4470243
Marks ADT live if it appears in pattern
mu001999 Jun 14, 2025
ab08040
Merge ref 'd087f112b7d1:/library/compiler-builtins' from https://gith…
tgross35 Jun 14, 2025
7f084e8
Work around out-of-tree testing with a shim crate
tgross35 Jun 14, 2025
2506df3
Rollup merge of #141493 - tamird:addreskind-bytestr, r=joshtriplett
matthiaskrgr Jun 14, 2025
a19aee9
Rollup merge of #141811 - mejrs:bye_locals, r=compiler-errors
matthiaskrgr Jun 14, 2025
d4119db
Rollup merge of #142243 - RalfJung:float-test-dedup, r=tgross35
matthiaskrgr Jun 14, 2025
1ac4f86
Rollup merge of #142484 - dtolnay:bsetextract, r=m-ou-se
matthiaskrgr Jun 14, 2025
8ef42ec
Rollup merge of #142489 - tgross35:update-builtins, r=tgross35
matthiaskrgr Jun 14, 2025
7204ad4
Remove all support for wasm's legacy ABI
bjorn3 Dec 6, 2024
e14b4ef
Add `simd_funnel_sh{l,r}` and `simd_round_ties_even`
sayantn Jun 5, 2025
1e7340e
cargo update
invalid-email-address Jun 15, 2025
4136fda
Stabilize "file_lock" feature
cberner May 29, 2025
406f15e
Windows: Use anonymous pipes in Command
ChrisDenton Jun 14, 2025
d6d3385
Get rid of `EscapeDebugInner`.
reitermarkus Mar 8, 2025
a8a212d
small iter.intersperse.fold() optimization
the8472 Jun 15, 2025
871de6e
Rollup merge of #133952 - bjorn3:remove_wasm_legacy_abi, r=alexcrichton
fmease Jun 15, 2025
6318e9b
Handle win32 separator & prefixes for cygwin paths
Berrysoft Jun 1, 2025
2037fc5
Test Debug for Location.
m-ou-se Jun 11, 2025
2a97431
linked_list tests: less static mut
hkBst Jun 16, 2025
d91ee16
Update the `backtrace` submodule
tgross35 Jun 16, 2025
88ce602
Set MSG_NOSIGNAL for UnixSteam
mlowicki Apr 18, 2025
1ac5cf0
Add documentation for `PathBuf`'s `FromIterator` and `Extend` impls
yotamofek Jun 9, 2025
83b6fa5
Implement `_fmt` on `u128`
GuillaumeGomez Jun 10, 2025
5c15abc
Specialize `ToString` implementation on `u128` and `i128`
GuillaumeGomez Jun 10, 2025
ee94118
Extend num tests on `usize` and `isize` as well
GuillaumeGomez Jun 10, 2025
febe645
Rollup merge of #142125 - cberner:file_lock_stable, r=ChrisDenton
Kobzol Jun 16, 2025
ea6401f
Rollup merge of #142236 - yotamofek:pr/std/pathbuf-extend-docs, r=tgr…
Kobzol Jun 16, 2025
1befb80
Rollup merge of #142373 - m-ou-se:debug-for-location, r=tgross35
Kobzol Jun 16, 2025
60b8c70
trait_sel: `{Meta,Pointee}Sized` on `Sized` types
davidtwco Jan 16, 2025
309e197
Two changes: Have BorrowError & BorrowMutError derive Debug and add
nealsid Jun 14, 2025
d4b0526
Rename BorrowFlag type to BorrowCounter
nealsid Jun 14, 2025
8fcab76
Add support for repetition to `proc_macro::quote`
moatom May 26, 2025
9791b14
Change __rust_no_alloc_shim_is_unstable to be a function
dpaoliello May 15, 2025
3b96c9b
Rollup merge of #142562 - tgross35:update-backtrace, r=workingjubilee
Kobzol Jun 16, 2025
42b764e
library/compiler: add `PointeeSized` bounds
davidtwco Feb 10, 2025
4fddff0
lint: don't consider sizedness in upcastable lint
davidtwco Apr 9, 2025
077891e
Make performance of String::insert_str more precise
hkBst Mar 15, 2025
8029859
linked_list tests: buff check_links
hkBst Jun 16, 2025
769273d
Rollup merge of #138538 - hkBst:patch-4, r=tgross35
workingjubilee Jun 17, 2025
e76ae1c
Rollup merge of #141946 - xizheyin:141933, r=jhpratt
workingjubilee Jun 17, 2025
7e2f21a
Rollup merge of #142216 - nealsid:refcell-logging, r=tgross35
workingjubilee Jun 17, 2025
b0152aa
Remove a panicking branch in `BorrowedCursor::advance`
a1phyr Jun 17, 2025
c0dc1e7
Auto merge of #137944 - davidtwco:sized-hierarchy, r=oli-obk
bors Jun 17, 2025
ea2b915
Update libc to 0.2.174
tgross35 Jun 17, 2025
a46ec5c
Auto merge of #142613 - workingjubilee:rollup-yuod2hg, r=workingjubilee
bors Jun 17, 2025
17aeab1
Add triagebot config for subtree syncs
Kobzol Jun 16, 2025
5288121
Fix in erroneous implementation of _mm256_bsrli_epi128
satiscugcat Jun 3, 2025
137705b
Removal of redundant mod operation in _mm256_alignr_epi8
satiscugcat Jun 3, 2025
cc5fc7b
Fixing mistake in previous commit
satiscugcat Jun 3, 2025
8b5e666
Changed the implementation of bsrli to match bslli in avx2 intrinsics
satiscugcat Jun 4, 2025
a182113
Changed implementation of bsrli in avx512.rs to match that of bslli, …
satiscugcat Jun 4, 2025
49f88c3
Changed implementation of _mm{256,512}_alignr_epi8 to match that of _…
satiscugcat Jun 13, 2025
7f2c239
Moved const fn outside unsafe block
satiscugcat Jun 13, 2025
8d8a23e
Ran cargo fmt, removed unexpected character
satiscugcat Jun 13, 2025
5519048
Test
satiscugcat Jun 13, 2025
2c04b33
Rollup merge of #141574 - fee1-dead-contrib:push-owzulzmzszzx, r=jhpratt
jhpratt Jun 17, 2025
659d341
Rollup merge of #141608 - moatom:proc_macro-140238, r=dtolnay
jhpratt Jun 17, 2025
1e08d4b
Rollup merge of #142517 - ChrisDenton:anon-pipe, r=Mark-Simulacrum
jhpratt Jun 17, 2025
b14b96c
Rollup merge of #142520 - hkBst:less-static-mut, r=tgross35
jhpratt Jun 17, 2025
1bd8407
Rollup merge of #142620 - a1phyr:borrowed_buf_remove_branch, r=jhpratt
jhpratt Jun 17, 2025
cee5993
library: Increase timeout on mpmc test to reduce flakes
workingjubilee Jun 17, 2025
0e736c2
Auto merge of #130887 - Soveu:repeatn, r=scottmcm
bors Jun 18, 2025
f4324b6
add ChildExt(::send_signal)
Qelxiros Jun 18, 2025
3420c88
Allow storing `format_args!()` in `let`.
m-ou-se May 7, 2025
6786f22
Add test for new format_args!() temporary lifetimes.
m-ou-se May 7, 2025
ef4520f
Auto merge of #141061 - dpaoliello:shimasfn, r=bjorn3
bors Jun 18, 2025
ad64c52
vec_deque tests: remove static mut
hkBst Jun 18, 2025
4ce40cf
fmt tests: remove static mut
hkBst Jun 18, 2025
9cbbf8d
remove duplicate crash test
hkBst Jun 18, 2025
8189cf9
Rollup merge of #141610 - BoxyUwU:stabilize_generic_arg_infer, r=lcnr…
Kobzol Jun 18, 2025
c9d1328
Rollup merge of #142674 - hkBst:remove-duplicate-crashtest, r=bjorn3
Kobzol Jun 18, 2025
56db306
Rollup merge of #138237 - reitermarkus:remove-escape-debug-inner, r=t…
Urgau Jun 18, 2025
487e792
Rollup merge of #142674 - hkBst:remove-duplicate-crashtest, r=bjorn3
Urgau Jun 18, 2025
b4d4339
Auto merge of #142689 - Urgau:rollup-4ho6835, r=Urgau
bors Jun 18, 2025
c6dc7d3
Fix `core::iter::Fuse`'s `Default` impl to do what it's docs say it d…
zachs18 May 14, 2025
35963d9
Rollup merge of #142524 - rust-lang:cargo_update, r=Mark-Simulacrum
tgross35 Jun 19, 2025
4fae2c6
Rollup merge of #142654 - workingjubilee:increase-timeout-factor-on-m…
tgross35 Jun 19, 2025
c00c18e
Remove incorrect comments in `Weak`
theemathas Jun 19, 2025
2720033
Do not include NUL-terminator in computed length
Darksonn Jun 12, 2025
9cbf591
vec tests: remove static mut
hkBst Jun 19, 2025
7060d20
vec_deque alloctests: remove static mut
hkBst Jun 19, 2025
168159c
atomic tests: remove static mut
hkBst Jun 19, 2025
94de0a8
Auto merge of #141864 - Berrysoft:cygwin-path, r=ChrisDenton
bors Jun 19, 2025
f19304e
the `generic_arg_infer` feature is now stable on nightly
folkertdev Jun 19, 2025
2fec973
s390x: add feature detection for the z17 target features
folkertdev Jun 12, 2025
b66037a
Let String pass #[track_caller] to its Vec calls
kornelski Jun 19, 2025
2a71521
Add #[track_caller] to String methods that assert inputs
kornelski Jun 19, 2025
35ffff2
Auto merge of #140748 - m-ou-se:super-format-args3, r=jdonszelmann
bors Jun 19, 2025
a9855f1
Update library dependencies
tgross35 Jun 19, 2025
7813af4
Make `Clone` a `const_trait`
Daniel-Aaron-Bloom Jun 19, 2025
fedfdf4
docs(fs): Touch up grammar on lock api
epage Jun 20, 2025
08ba9c9
Auto merge of #142294 - GuillaumeGomez:specialize-tostring-on-128-int…
bors Jun 20, 2025
0816929
Merge from rustc
Jun 20, 2025
cb2ae01
Rollup merge of #141990 - Qelxiros:141975-unix_send_signal, r=ChrisDe…
tgross35 Jun 20, 2025
9f2b32b
Rollup merge of #142668 - hkBst:less-static-mut, r=tgross35
tgross35 Jun 20, 2025
5ad5d60
Rollup merge of #142753 - tgross35:library-lockfile, r=Mark-Simulacrum
tgross35 Jun 20, 2025
4ab6388
Convert `ilog(10)` to `ilog10()`
ChaiTRex Jun 20, 2025
5d665d9
Add note about `str::split` handling of no matches.
Erk- Jun 20, 2025
fcd569e
Pass -Cpanic=abort for the panic_abort crate
bjorn3 Apr 24, 2025
310b251
Add diagnostic items for Clippy
samueltardieu Jun 20, 2025
1b9e0d3
add doc(alias("AsciiChar")) to core::ascii::Char
lolbinarycat Jun 20, 2025
0307d70
Rollup merge of #142331 - deven:trim_prefix_suffix, r=Amanieu
tgross35 Jun 20, 2025
8ccec91
Rollup merge of #142764 - ChaiTRex:ilog_10_to_ilog10, r=workingjubilee
Kobzol Jun 20, 2025
2a48157
integer docs: remove extraneous text
tshepang Jun 20, 2025
6f6900e
Auto merge of #142794 - tgross35:rollup-iae7okj, r=tgross35
bors Jun 20, 2025
8daf694
Rollup merge of #142485 - mu001999-contrib:dead-code/adt-pattern, r=p…
tgross35 Jun 21, 2025
cad36ed
Rollup merge of #142756 - Daniel-Aaron-Bloom:const-clone, r=oli-obk
tgross35 Jun 21, 2025
daf8ed1
Rollup merge of #142787 - samueltardieu:diag-items-for-clippy, r=Mani…
matthiaskrgr Jun 21, 2025
d14f659
Rollup merge of #142788 - lolbinarycat:core-AsciiChar-alias, r=tgross35
matthiaskrgr Jun 21, 2025
f26d22a
Rollup merge of #140254 - bjorn3:rustc_panic_abort_abort, r=petrochenkov
jhpratt Jun 22, 2025
c620fab
Rollup merge of #142800 - tshepang:extraneous, r=Mark-Simulacrum
jhpratt Jun 22, 2025
e79e01c
Implement DesugaringKind::FormatLiteral
mejrs Jun 16, 2025
0d5e35f
Stop dbg! macro yapping about format modifiers
mejrs Jun 17, 2025
9d7e407
Rollup merge of #142594 - mejrs:new_desugaring, r=chenyukang
GuillaumeGomez Jun 22, 2025
1f8fe69
phantom_variance_markers: fix identifier usage in macro
pthariensflame Jun 22, 2025
0dbdf26
Auto merge of #142728 - kornelski:string-track, r=tgross35
bors Jun 22, 2025
39f6ede
update to literal-escaper 0.0.4 for better API without `unreachable` …
hkBst Mar 7, 2025
d488730
Make `PartialEq` a `const_trait`
oli-obk Jun 20, 2025
95a3faf
Use a NonNull pointer
Darksonn Jun 23, 2025
df4fba8
Removed `library/stdarch` submodule
Kobzol Jun 23, 2025
75af492
Import stdarch history as a Josh subtree
Kobzol Jun 23, 2025
704728d
Rollup merge of #140985 - zachs18:fuse-default-some, r=tgross35
workingjubilee Jun 23, 2025
8404bc6
Rollup merge of #141324 - Ayush1325:uefi-rand-fallback, r=joboet
workingjubilee Jun 23, 2025
17a5275
Rollup merge of #140005 - mlowicki:patch-1, r=tgross35
GuillaumeGomez Jun 24, 2025
71f93f7
Rollup merge of #142779 - Erk-:fix/core/142734, r=jhpratt
GuillaumeGomez Jun 24, 2025
56f3f9d
Rollup merge of #142894 - pthariensflame:patch-1, r=jhpratt
GuillaumeGomez Jun 24, 2025
395ae00
Remove the deprecated `concat_idents!` macro
tgross35 Jun 19, 2025
766aa60
Rollup merge of #137268 - bjoernager:c-string-eq-c-str, r=Amanieu
GuillaumeGomez Jun 24, 2025
b24d9ad
Rollup merge of #142704 - tgross35:remove-concat_idents, r=fee1-dead
GuillaumeGomez Jun 24, 2025
ac2de70
Corrected spelling mistake in c_str.rs
MetaNova Jun 24, 2025
2466d52
Avoid exporting panic_unwind as stdlib cargo feature
bjorn3 May 8, 2025
884bfed
Auto merge of #140999 - hkBst:update-escaper, r=nnethercote
bors Jun 25, 2025
b30a12d
Rollup merge of #142453 - ChrisDenton:fused, r=Amanieu
workingjubilee Jun 25, 2025
25b2208
Rollup merge of #142982 - MetaNova:patch-1, r=jhpratt
workingjubilee Jun 25, 2025
91f22c4
Auto merge of #142997 - workingjubilee:rollup-6lxec87, r=workingjubilee
bors Jun 25, 2025
ab155bf
Add Sub, Mul, Div, Rem as const_traits
SciMind2460 Jun 25, 2025
7559d68
Add `sym::macro_pin` diagnostic item for `core::pin::pin!()`
samueltardieu Jun 25, 2025
0b75ada
make `tidy-alphabetical` use a natural sort
folkertdev May 20, 2025
c5450a0
make RefCell unstably const
Daniel-Aaron-Bloom May 7, 2025
86d7052
Auto merge of #141899 - Kobzol:stdarch-josh, r=Amanieu
bors Jun 26, 2025
8ab285c
Fix RwLock::try_write documentation for WouldBlock condition
krikera Jun 26, 2025
d0835ef
Rollup merge of #141311 - folkertdev:tidy-natural-sort, r=jieyouxu
matthiaskrgr Jun 26, 2025
e8dbb81
Tracking issue number for `iter_macro`
GrigorenkoPV Jun 26, 2025
43eda97
Rollup merge of #137843 - Daniel-Aaron-Bloom:const_cell, r=oli-obk
compiler-errors Jun 27, 2025
a1a74c2
Rollup merge of #142549 - the8472:intersperse-fold-tweak, r=tgross35
compiler-errors Jun 27, 2025
5e7af6b
Rollup merge of #142700 - theemathas:remove-weak-comment, r=ibraheemdev
compiler-errors Jun 27, 2025
5215f1a
Rollup merge of #142967 - krikera:fix-rwlock-try-write-docs, r=jhpratt
compiler-errors Jun 27, 2025
3434a22
Rollup merge of #143015 - samueltardieu:pin-macro-diag-item, r=Urgau
compiler-errors Jun 27, 2025
e0d1b7e
Rollup merge of #143067 - GrigorenkoPV:142269, r=workingjubilee
compiler-errors Jun 27, 2025
795f313
Auto merge of #143074 - compiler-errors:rollup-cv64hdh, r=compiler-er…
bors Jun 27, 2025
a14206b
Insert checks for enum discriminants when debug assertions are enabled
1c3t3a May 15, 2025
264b83b
update internal `send_signal` comment
fee1-dead Jun 27, 2025
10f80b7
BTreeSet: remove duplicated code by reusing `from_sorted_iter`
xu-cheng Jun 27, 2025
6967ac3
Rollup merge of #140809 - bjorn3:panic_runtime_cleanup, r=petrochenkov
matthiaskrgr Jun 27, 2025
4e8fd88
Merge from rustc
Jun 28, 2025
081a91a
Workaround for mem safety in third party dlls
ChrisDenton Jun 27, 2025
bee72cf
Auto merge of #141759 - 1c3t3a:discriminants-query, r=saethlin
bors Jun 28, 2025
0144548
"set by Rusts options". Remove misleading always-true if cfg!(unix). …
nabijaczleweli Jun 22, 2025
9bf5f1d
Rollup merge of #123476 - devnexen:std_net_solaris_exclbind, r=Mark-S…
matthiaskrgr Jun 28, 2025
6a16077
Rollup merge of #142708 - Darksonn:location-len-without-nul, r=Mark-S…
matthiaskrgr Jun 28, 2025
38e0cb3
Rollup merge of #143082 - fee1-dead-contrib:push-qvvppzukvkxt, r=Mark…
matthiaskrgr Jun 28, 2025
ab180be
Rollup merge of #143111 - xu-cheng:btreeset_from_iter, r=Mark-Simulacrum
matthiaskrgr Jun 28, 2025
93fbfe3
Rollup merge of #142889 - nabijaczleweli:rusts, r=Mark-Simulacrum
matthiaskrgr Jun 29, 2025
ff981c2
Update README.md
kilavvy Jun 29, 2025
22f684c
Rollup merge of #142078 - sayantn:more-intrinsics, r=workingjubilee
GuillaumeGomez Jun 29, 2025
2cf1d43
Auto merge of #143137 - RalfJung:miri-sync, r=RalfJung
bors Jun 29, 2025
844d523
Show auto trait and blanket impls for `!`
zachs18 Jun 29, 2025
572cb75
Stop backends from needing to support nullary intrinsics
oli-obk Jun 21, 2025
e088f73
Remove the nullary intrinsic const eval logic and treat them like oth…
oli-obk Jun 21, 2025
aacee7b
Rollup merge of #143090 - ChrisDenton:workaround1, r=tgross35
dianqk Jun 30, 2025
6a57bba
Rollup merge of #143176 - kilavvy:master, r=jieyouxu
dianqk Jun 30, 2025
7a18251
Rollup merge of #143219 - zachs18:patch-5, r=tgross35
dianqk Jun 30, 2025
3aefdd2
Auto merge of #143233 - dianqk:rollup-lcx3278, r=dianqk
bors Jun 30, 2025
cf2d708
Rollup merge of #136801 - sorairolake:add-random-for-tuple, r=joshtri…
GuillaumeGomez Jul 1, 2025
2ad9b0e
Rollup merge of #141867 - Diggsey:db-improve-future-docs, r=tgross35
GuillaumeGomez Jul 1, 2025
46c01c8
Rollup merge of #142760 - epage:lock, r=tgross35
GuillaumeGomez Jul 1, 2025
613c1ee
Merge from 71e4c005caa812a16fcb08d0bf1e6f1eda7c8381 with conflicts
Jul 4, 2025
4f3e824
Update toolchain to 2025-07-02
Jul 4, 2025
c5d533d
Update Kani version to 12386811f934e7eb76e794bea787a1030f934735
Jul 4, 2025
c9f12f6
Resolve conflicts
tautschnig Jul 4, 2025
6e24761
Disable contracts that are incompatible with Sized hierarchy
tautschnig Jul 3, 2025
e5df01b
Whitespace fixes
tautschnig Jul 3, 2025
da2ce81
Revert "Derive `Arbitrary` for various `core_arch::x86` types (#348)"
tautschnig Jul 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/workflows/goto-transcoder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Apply stdarch patch
run: cd library/stdarch && patch -p1 < ../../stdarch.patch

# Step 2: Generate contracts programs
- name: Generate contracts
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/kani-metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Apply stdarch patch
run: cd library/stdarch && patch -p1 < ../../stdarch.patch


# The Kani metrics collection uses a Python script (kani_std_analysis.py), so make sure Python is installed
- name: Set up Python
uses: actions/setup-python@v4
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/kani.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ jobs:
with:
path: head
submodules: true
- name: Apply stdarch patch
run: cd head/library/stdarch && patch -p1 < ../../stdarch.patch


# Step 2: Install jq
- name: Install jq
if: matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -90,8 +88,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Apply stdarch patch
run: cd library/stdarch && patch -p1 < ../../stdarch.patch

# Step 2: Run Kani autoharness on the std library for selected functions.
# Uses "--include-pattern" to make sure we do not try to run across all
Expand All @@ -102,8 +98,6 @@ jobs:
# - We use >::disjoint_bitor (and >::unchecked_disjoint_bitor) as pattern
# as whitespace is not supported, cf.
# https://github.com/model-checking/kani/issues/4046
# - core_arch::x86::__m128d::as_f64x2 is just one example of hundreds of
# core_arch::x86:: functions that are known to verify successfully.
- name: Run Kani Verification
run: |
scripts/run-kani.sh --run autoharness --kani-args \
Expand All @@ -113,7 +107,6 @@ jobs:
--include-pattern alloc::layout::Layout::from_size_align \
--include-pattern ascii::ascii_char::AsciiChar::from_u8 \
--include-pattern char::convert::from_u32_unchecked \
--include-pattern core_arch::x86::__m128d::as_f64x2 \
--include-pattern "num::nonzero::NonZero::<i8>::count_ones" \
--include-pattern "num::nonzero::NonZero::<i16>::count_ones" \
--include-pattern "num::nonzero::NonZero::<i32>::count_ones" \
Expand Down Expand Up @@ -295,8 +288,6 @@ jobs:
with:
path: head
submodules: true
- name: Apply stdarch patch
run: cd head/library/stdarch && patch -p1 < ../../stdarch.patch

# Step 2: Run list on the std library
- name: Run Kani List
Expand Down Expand Up @@ -329,8 +320,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
- name: Apply stdarch patch
run: cd library/stdarch && patch -p1 < ../../stdarch.patch

# Step 2: Run autoharness analyzer on the std library
- name: Run Autoharness Analyzer
Expand Down
19 changes: 9 additions & 10 deletions library/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions library/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cargo-features = ["profile-rustflags"]

[workspace]
resolver = "1"
members = [
Expand Down Expand Up @@ -44,9 +46,16 @@ object.debug = 0
rustc-demangle.debug = 0
rustc-demangle.opt-level = "s"

# panic_abort must always be compiled with panic=abort, even when the rest of the
# sysroot is panic=unwind.
[profile.dev.package.panic_abort]
rustflags = ["-Cpanic=abort"]

[profile.release.package.panic_abort]
rustflags = ["-Cpanic=abort"]

[patch.crates-io]
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on
# here
# See comments in `library/rustc-std-workspace-core/README.md` for what's going on here
rustc-std-workspace-core = { path = 'rustc-std-workspace-core' }
rustc-std-workspace-alloc = { path = 'rustc-std-workspace-alloc' }
rustc-std-workspace-std = { path = 'rustc-std-workspace-std' }
Expand Down
7 changes: 4 additions & 3 deletions library/alloc/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ unsafe extern "Rust" {
#[rustc_std_internal_symbol]
fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8;

#[rustc_nounwind]
#[rustc_std_internal_symbol]
static __rust_no_alloc_shim_is_unstable: u8;
fn __rust_no_alloc_shim_is_unstable_v2();
}

/// The global memory allocator.
Expand Down Expand Up @@ -88,7 +89,7 @@ pub unsafe fn alloc(layout: Layout) -> *mut u8 {
unsafe {
// Make sure we don't accidentally allow omitting the allocator shim in
// stable code until it is actually stabilized.
core::ptr::read_volatile(&__rust_no_alloc_shim_is_unstable);
__rust_no_alloc_shim_is_unstable_v2();

__rust_alloc(layout.size(), layout.align())
}
Expand Down Expand Up @@ -171,7 +172,7 @@ pub unsafe fn alloc_zeroed(layout: Layout) -> *mut u8 {
unsafe {
// Make sure we don't accidentally allow omitting the allocator shim in
// stable code until it is actually stabilized.
core::ptr::read_volatile(&__rust_no_alloc_shim_is_unstable);
__rust_no_alloc_shim_is_unstable_v2();

__rust_alloc_zeroed(layout.size(), layout.align())
}
Expand Down
4 changes: 1 addition & 3 deletions library/alloc/src/collections/btree/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1517,9 +1517,7 @@ impl<T: Ord, const N: usize> From<[T; N]> for BTreeSet<T> {

// use stable sort to preserve the insertion order.
arr.sort();
let iter = IntoIterator::into_iter(arr).map(|k| (k, SetValZST::default()));
let map = BTreeMap::bulk_build_from_sorted_iter(iter, Global);
BTreeSet { map }
BTreeSet::from_sorted_iter(IntoIterator::into_iter(arr), Global)
}
}

Expand Down
Loading
Loading