Skip to content
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
44116bb
Revert "Constify SystemTime methods"
RalfJung Sep 12, 2025
5be4990
Improve `core::alloc` coverage
pvdrz Sep 11, 2025
539da6c
Improve `core::char` coverage
pvdrz Sep 12, 2025
05ec164
Improve `core::fmt` coverage
pvdrz Sep 12, 2025
b7f7a89
Auto merge of #144847 - Randl:const-ord, r=oli-obk
bors Sep 12, 2025
f1b0393
Improve `core::hash` coverage
pvdrz Sep 12, 2025
9435913
Improve `core::num` coverage
pvdrz Sep 12, 2025
4d7adac
Improve `core::ptr` coverage
pvdrz Sep 12, 2025
9061d53
Rollup merge of #146452 - ferrocene:pvdrz/improve-alloc-coverage, r=t…
jdonszelmann Sep 13, 2025
515128e
Rollup merge of #146477 - ferrocene:pvdrz/improve-char-coverage, r=No…
jdonszelmann Sep 13, 2025
b29b994
Rollup merge of #146481 - ferrocene:pvdrz/improve-hash-coverage, r=jh…
jdonszelmann Sep 13, 2025
0c33b05
Merge ref '4ba1cf9ade4c' from rust-lang/rust
Sep 13, 2025
c1c57f8
Rollup merge of #145471 - rs-sac:extr, r=the8472
jhpratt Sep 13, 2025
fb2384d
also apply revert to wasip2
RalfJung Sep 13, 2025
e0233ba
Document `become` keyword
WaffleLapkin May 10, 2023
9daff08
fixup `become` kw documentation wrt `#[track_caller]`
WaffleLapkin Sep 13, 2025
6c01e7e
fix Condvar::wait_timeout docs
RalfJung Sep 13, 2025
f580b96
c-variadic: document `core::ffi::VaArgSafe`
folkertdev Sep 11, 2025
9ce94ea
Rollup merge of #146473 - RalfJung:system-time-deconst, r=workingjubilee
jhpratt Sep 13, 2025
c612214
Rollup merge of #146517 - RalfJung:wait-timeout, r=joboet
jhpratt Sep 13, 2025
c9a0ac1
Rollup merge of #146521 - folkertdev:document-va-arg-safe, r=workingj…
jhpratt Sep 13, 2025
b83b100
initial implementation of the darwin_objc unstable feature
jbatez Jun 5, 2025
811b87b
Note some previous attempts to change the Default impl for `[T; 0]`
Zalathar Sep 14, 2025
a8198dc
Merge ref 'a015919e54c6' from rust-lang/rust
Sep 14, 2025
1c65b59
RISC-V: Improvements of inline assembly uses
a4lg Sep 13, 2025
bbd85a8
std_detect Darwin AArch64: add new-style detection for FEAT_CRC32
pthariensflame Sep 10, 2025
290802f
std_detect Darwin AArch64: re-alphabetize
pthariensflame Sep 14, 2025
996a9be
std_detect Darwin AArch64: synchronize features
pthariensflame Sep 14, 2025
3136a40
Switch `std::vec::PeekMut::pop` from self to this parameter.
cammeresi Sep 14, 2025
8d69330
On FreeBSD, use readdir instead of readdir_r
asomers Sep 14, 2025
9661902
Rollup merge of #146284 - Kivooeo:blazing-fast-division-bignum, r=Mar…
matthiaskrgr Sep 15, 2025
b21b5db
Rollup merge of #146478 - ferrocene:pvdrz/improve-fmt-coverage, r=Mar…
matthiaskrgr Sep 15, 2025
675defb
Rollup merge of #146488 - ferrocene:pvdrz/improve-ptr-coverage, r=Mar…
matthiaskrgr Sep 15, 2025
a6e99b7
Merge pull request #1919 from sayantn/fix-vreinterpret
folkertdev Sep 15, 2025
ed17ab5
Remove UnsizedConstParamTy trait and make it into an unstable impl
tiif Sep 15, 2025
aa3e3aa
replace some `#[const_trait]` with `const trait`
npmccallum Sep 12, 2025
c507654
Introduce CoerceShared lang item and trait
aapoalas Aug 29, 2025
d3f8fb9
fix: Move CoerceShared into ops
aapoalas Sep 15, 2025
1a96349
Merge pull request #1921 from a4lg/riscv-inline-asm-general-improvements
sayantn Sep 15, 2025
9d044de
Rollup merge of #146533 - Zalathar:array-default, r=compiler-errors
matthiaskrgr Sep 15, 2025
74ab649
Rollup merge of #146546 - cammeresi:pop, r=Mark-Simulacrum
matthiaskrgr Sep 15, 2025
524829b
Rollup merge of #146549 - asomers:freebsd-readdir, r=Mark-Simulacrum
matthiaskrgr Sep 15, 2025
6231e1c
Rollup merge of #145095 - tiif:unstable_const_param, r=BoxyUwU
Zalathar Sep 16, 2025
d1380dc
Rollup merge of #146599 - npmccallum:cleanup, r=fmease
Zalathar Sep 16, 2025
95a7944
Auto merge of #146614 - Zalathar:rollup-hcxvdi1, r=Zalathar
bors Sep 16, 2025
6192cf8
Iterator repeat: no infinite loop for `last` and `count`
hkBst Sep 10, 2025
5bdeb5b
Fix spelling of "adaptor"
ctz Sep 16, 2025
5edb5f8
Fix other uses of "adaptor"
ctz Sep 16, 2025
7aafcfd
Improve `core::ascii` coverage
pvdrz Sep 12, 2025
76ab0d1
Improve `core::sync::atomic` coverage
pvdrz Sep 12, 2025
ac6ee69
Rollup merge of #146474 - ferrocene:pvdrz/improve-ascii-coverage, r=N…
matthiaskrgr Sep 16, 2025
1acb715
Remove Rvalue::Len.
cjgillot Sep 14, 2025
4756811
Update docs.
cjgillot Sep 16, 2025
1939b52
Rollup merge of #142807 - sourcefrog:failfast, r=dtolnay
Zalathar Sep 17, 2025
9d72cb0
Rollup merge of #144871 - Kivooeo:btree_entry_insert-stabilize, r=jhp…
Zalathar Sep 17, 2025
3aa3b6a
Rollup merge of #145660 - jbatez:darwin_objc, r=jdonszelmann,madsmtm,…
Zalathar Sep 17, 2025
f1fbb46
Rollup merge of #146410 - hkBst:repeat-1, r=jhpratt
Zalathar Sep 17, 2025
d47b3de
Rollup merge of #146564 - cjgillot:mir-nolen, r=scottmcm
Zalathar Sep 17, 2025
908db6b
Merge ref '3f1552a273e4' from rust-lang/rust
Sep 17, 2025
2a95d10
Add space after brace in `Box<[T]>::new_uninit_slice` example
XrXr Sep 17, 2025
2bf8efd
Auto merge of #139849 - thaliaarchi:args/zkvm, r=ibraheemdev
bors Sep 17, 2025
66aeb91
Auto merge of #146685 - jdonszelmann:rollup-kwuih4z, r=jdonszelmann
bors Sep 17, 2025
c68afab
add `[const] PartialEq` bound to `PartialOrd`
npmccallum Sep 12, 2025
53e0122
std: Fix WASI implementation of `remove_dir_all`
alexcrichton Sep 17, 2025
f89889c
Rollup merge of #146487 - ferrocene:pvdrz/improve-num-coverage, r=joboet
matthiaskrgr Sep 18, 2025
9382f3c
Specialize `Iterator::eq[_by]` for `TrustedLen` iterators
yotamofek Feb 16, 2025
cda6c1a
Auto merge of #137122 - yotamofek:pr/std/iter-eq-exact-size, r=the8472
bors Sep 18, 2025
7339cf3
Plumb Allocator generic into `std::vec::PeekMut`
cammeresi Sep 14, 2025
f0f2f3c
std: simplify host lookup
joboet Sep 14, 2025
5915483
Fix test suite in iOS/tvOS/watchOS/visionOS simulator
madsmtm Sep 19, 2025
9a19ecd
Rollup merge of #146541 - joboet:simplify-lookup-host, r=tgross35
Zalathar Sep 19, 2025
c30cf3a
Rollup merge of #146691 - alexcrichton:wasip1-remove-dir-all-buffer, …
Zalathar Sep 19, 2025
e1bedb0
Rollup merge of #146709 - a4lg:stdarch-sync-20250917, r=Kobzol
Zalathar Sep 19, 2025
42b1204
Rollup merge of #146740 - RalfJung:miri, r=RalfJung
Zalathar Sep 19, 2025
34c1170
btree: safety comments for init and new
hkBst Sep 19, 2025
7e9ba95
Rollup merge of #146690 - npmccallum:convo, r=tgross35
matthiaskrgr Sep 19, 2025
7d41b51
Rollup merge of #146785 - hkBst:btree-1, r=joboet
matthiaskrgr Sep 19, 2025
a309acf
Fix unsupported std::sys::thread
thaliaarchi Sep 20, 2025
4476225
Fix std build for xtensa
thaliaarchi Sep 20, 2025
1db4de4
Update cfg_if! to cfg_select!
thaliaarchi Sep 20, 2025
d967679
Add unstable attribute to BTreeMap-related allocator generics
cammeresi Sep 20, 2025
6a9cba4
Auto merge of #146621 - cammeresi:peek-20250915, r=Amanieu
bors Sep 20, 2025
9da9f4f
docs: improve doc of some methods w/ ranges
tkr-sh May 13, 2025
6d54eec
Rollup merge of #146762 - madsmtm:test-apple-sim, r=jieyouxu
matthiaskrgr Sep 20, 2025
1ffa761
Rollup merge of #146800 - thaliaarchi:fix-move-pal-thread, r=joboet
matthiaskrgr Sep 20, 2025
aeca58f
Fix old typo in lang_start_internal comment
saethlin Sep 20, 2025
3f1d139
Rollup merge of #140983 - tkr-sh:master, r=ibraheemdev
Zalathar Sep 21, 2025
d435882
Rollup merge of #144091 - thaliaarchi:stabilize-new-zeroed, r=Mark-Si…
Zalathar Sep 21, 2025
6a1857c
Rollup merge of #145664 - Darksonn:stab-file-with-nul, r=Mark-Simulacrum
Zalathar Sep 21, 2025
2ef039a
Rollup merge of #146820 - cammeresi:alloc-20250919, r=tgross35
Zalathar Sep 21, 2025
b5b494b
Rollup merge of #146822 - saethlin:bbbbbstd, r=Noratrieb
Zalathar Sep 21, 2025
ef54c97
btree InternalNode::new safety comments
hkBst Sep 21, 2025
4c10751
Add panic=immediate-abort
saethlin Sep 7, 2025
8be8ecc
Change the cfg to a dash
saethlin Sep 18, 2025
b6f659d
std: merge definitions of `StdioPipes`
joboet Sep 16, 2025
c79e7a0
Allow shared access to `Exclusive<T>` when `T: Sync`
Jules-Bertholet Sep 17, 2025
291d614
Rollup merge of #146486 - ferrocene:pvdrz/improve-atomic-coverage, r=…
matthiaskrgr Sep 21, 2025
6154d30
Rollup merge of #146639 - joboet:shared-stdiopipes, r=Mark-Simulacrum
matthiaskrgr Sep 21, 2025
d3121ac
Mark float intrinsics with no preconditions as safe
clarfonthey Sep 17, 2025
3c772ff
assert_unsafe_precondition: fix some incorrect check_language_ub
RalfJung Sep 22, 2025
bb5b1be
avoid violating `slice::from_raw_parts` safety contract in `Vec::extr…
petrosagg May 15, 2025
5de3168
Rollup merge of #146397 - pthariensflame:patch-1, r=Amanieu
Zalathar Sep 22, 2025
5bc8e90
Rollup merge of #146846 - hkBst:btree-2, r=tgross35
Zalathar Sep 22, 2025
9164e8b
Rollup merge of #146878 - RalfJung:check_language_ub, r=tgross35
Zalathar Sep 22, 2025
90304cf
Remove unused #![feature(get_mut_unchecked)] in Rc and Arc examples
taiki-e Sep 22, 2025
9dfecaa
constify {float}::total_cmp()
npmccallum Sep 6, 2025
70e1680
Auto merge of #146683 - clarfonthey:safe-intrinsics, r=RalfJung,Amanieu
bors Sep 22, 2025
aae4645
Rollup merge of #146887 - taiki-e:rc-doc-feature, r=joboet
GuillaumeGomez Sep 22, 2025
7173fae
Auto merge of #146892 - GuillaumeGomez:rollup-fa7lp0n, r=GuillaumeGomez
bors Sep 22, 2025
f30a3d0
Mutex/RwLock/ReentrantLock::data_ptr to be const fn
peter-lyons-kehl Sep 22, 2025
fc2bc91
Auto merge of #146317 - saethlin:panic=immediate-abort, r=nnethercote
bors Sep 23, 2025
6f558ac
std: move WinSock abstractions to `sys::pal`
joboet Sep 23, 2025
10c3ea0
Rollup merge of #146632 - ctz:jbp-adaptor-spelling, r=petrochenkov
matthiaskrgr Sep 23, 2025
37cca33
Rollup merge of #146818 - npmccallum:total_cmp, r=fee1-dead
matthiaskrgr Sep 23, 2025
219a7d4
Rollup merge of #146904 - peter-lyons-kehl:140368_data_ptr_const_fn, …
matthiaskrgr Sep 23, 2025
1c16b0f
Make missed precondition-free float intrinsics safe
clarfonthey Sep 23, 2025
60d55b7
core: simplify `CStr::default()`
joboet Sep 23, 2025
8fb2241
library: std: sys: pal: uefi: Add some comments
Ayush1325 Sep 24, 2025
bd57347
chore: remove discord references from the std library as well
sysrex Sep 24, 2025
6c52dba
alloc: simplify `Default` for `Box<CStr>` and `Rc<CStr>`
joboet Sep 24, 2025
8ae2030
constify Default on Nanoseconds
npmccallum Sep 13, 2025
29722cb
feature: Implement vec_try_remove
BenjaminBrienen Sep 24, 2025
0385a20
Fix infinite recursion in Path::eq with String
el-ev Sep 24, 2025
413165b
f16_f128: enable some more tests in Miri
RalfJung Sep 18, 2025
84658d0
std: add support for armv7a-vex-v5 target
tropicaaal Sep 24, 2025
561f99b
Rollup merge of #146915 - clarfonthey:safe-intrinsics-2, r=RalfJung
matthiaskrgr Sep 24, 2025
e336ee8
Rollup merge of #146964 - Ayush1325:close-protocol, r=joboet
matthiaskrgr Sep 24, 2025
f024c5a
Clarify Display for error should not include source
stepancheg Sep 24, 2025
c04314c
unstably constify float mul_add methods
Qelxiros Sep 18, 2025
95f6948
Repro duration_since regression from issue 146228
stepancheg Sep 24, 2025
fc4072e
Rollup merge of #146679 - stepancheg:error-display-source, r=dtolnay
matthiaskrgr Sep 24, 2025
97fd55c
Rollup merge of #146950 - joboet:cstr_default, r=tgross35
matthiaskrgr Sep 24, 2025
5e0927e
Rollup merge of #146958 - el-ev:fix_path_string_eq_recurse, r=joboet
matthiaskrgr Sep 24, 2025
c076aeb
Explicitly note `&[SocketAddr]` impl of `ToSocketAddrs`.
LawnGnome Sep 24, 2025
9f6324c
BTreeMap: Don't leak allocators when initializing nodes
cammeresi Sep 20, 2025
63b9144
Auto merge of #147003 - matthiaskrgr:rollup-b5z9uiz, r=matthiaskrgr
bors Sep 25, 2025
3cb1445
Rollup merge of #145067 - btj:patch-3, r=tgross35
Zalathar Sep 25, 2025
7e102e3
Rollup merge of #145973 - vexide:vex-std, r=tgross35
Zalathar Sep 25, 2025
781c16b
Rollup merge of #146735 - Qelxiros:const_mul_add, r=tgross35,RalfJung
Zalathar Sep 25, 2025
89f7199
Rollup merge of #146737 - RalfJung:f16-f128-miri, r=tgross35
Zalathar Sep 25, 2025
1d90c4d
Rollup merge of #147007 - LawnGnome:tosocketaddrs-doc, r=tgross35
Zalathar Sep 25, 2025
9ff6f2a
Fix atan2 inaccuracy in documentation
DimitriiTrater Sep 11, 2025
c5cdb3d
Auto merge of #147019 - Zalathar:rollup-boxzbmo, r=Zalathar
bors Sep 25, 2025
13f5f7f
add doc for `NonZero*` const creation
cptpiepmatz Sep 25, 2025
19921c9
Rollup merge of #141032 - petrosagg:extract-if-ub, r=joboet
matthiaskrgr Sep 25, 2025
c2cf319
Rollup merge of #146293 - BenjaminBrienen:try_remove, r=joboet
matthiaskrgr Sep 25, 2025
d244aa7
Rollup merge of #146859 - cammeresi:btree-alloc-20250920, r=joboet
matthiaskrgr Sep 25, 2025
99ea110
Rollup merge of #146924 - cptpiepmatz:doc-nonzero-const-creation, r=j…
matthiaskrgr Sep 25, 2025
ebc750f
resolve: Do not finalize shadowed bindings
petrochenkov Aug 1, 2025
dbd2981
Remove most `#[track_caller]` from allocating Vec methods
Noratrieb Sep 25, 2025
0915c6f
Auto merge of #147037 - matthiaskrgr:rollup-xtgqzuu, r=matthiaskrgr
bors Sep 25, 2025
999651d
std: fix warning in VEXos stdio module
tropicaaal Sep 25, 2025
ca05115
Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov
bors Sep 26, 2025
960217c
Rollup merge of #147049 - vexide:vex-std, r=workingjubilee
matthiaskrgr Sep 26, 2025
aae37fe
Auto merge of #147054 - matthiaskrgr:rollup-660g92w, r=matthiaskrgr
bors Sep 26, 2025
e4e742a
Rollup merge of #145113 - petrochenkov:lessfinalize, r=lcnr
matthiaskrgr Sep 26, 2025
1447755
update issue number for more_float_constants
joshuarayton Sep 26, 2025
938f556
std::net: update tcp deferaccept delay type to Duration.
devnexen Apr 29, 2025
9dc12dd
Support `#[rustc_align_static]` inside `thread_local!`
Jules-Bertholet Sep 10, 2025
1b63e7d
move Reborrow to ops, fix fmt issues
aapoalas Sep 26, 2025
6c3edbe
Update CURRENT_RUSTC_VERSION post-bump
Mark-Simulacrum Sep 14, 2025
48a8a5c
formatting_options: fix alternate docs 0b/0o mixup
danielverkamp Sep 26, 2025
3557efb
Auto merge of #146636 - Mark-Simulacrum:bootstrap-bump, r=jieyouxu
bors Sep 27, 2025
b7f1d85
Implement RFC 3631
GuillaumeGomez Mar 28, 2025
a6098bb
Strenghten checks for `doc(auto_cfg(show/hide))` attributes
GuillaumeGomez Apr 1, 2025
f95a946
Remove `doc_cfg_hide` feature
GuillaumeGomez May 29, 2025
c88ef1a
fmt
GuillaumeGomez Jun 2, 2025
48abd15
Fix autodiff feature activation
GuillaumeGomez Jun 4, 2025
898ea47
Remove `cfg(bootstrap)` for `doc_cfg` feature following #141925
GuillaumeGomez Jun 10, 2025
f77fc1d
Skip stack overflow handler for panic=immediate-abort
Noratrieb Sep 27, 2025
5cbfa6f
redox: switch to colon as path separator
jackpot51 Sep 27, 2025
da29429
Library: Remove remaining private `#[repr]` workarounds
fmease Sep 27, 2025
05eec30
Rollup merge of #146037 - aapoalas:reborrow-lang-experiment, r=tmandry
matthiaskrgr Sep 27, 2025
4b2d0be
Rollup merge of #147076 - joshuarayton:more-float-constants-issue, r=…
matthiaskrgr Sep 27, 2025
d7aaac9
fix build for android
devnexen Sep 27, 2025
66035e7
Hoist non-platform-specific code out of `thread_local_inner!`
Jules-Bertholet Sep 27, 2025
beb7d00
Fix typo
SebastianSpeitel Sep 27, 2025
2015731
Auto merge of #147042 - Noratrieb:untrack-caller-vec, r=tgross35
bors Sep 28, 2025
39b3f44
Rollup merge of #146788 - sysrex:146756/discord_invite, r=workingjubilee
matthiaskrgr Sep 28, 2025
1fb6b7e
Rollup merge of #147082 - danielverkamp:fmt-alternate-octal-binary-mi…
matthiaskrgr Sep 28, 2025
93f0a18
Rollup merge of #147093 - jackpot51:redox-path, r=bjorn3
matthiaskrgr Sep 28, 2025
b04a328
Rollup merge of #147095 - fmease:libprivrepr, r=dtolnay
matthiaskrgr Sep 28, 2025
57745f4
Rollup merge of #147110 - SebastianSpeitel:patch-1, r=saethlin
matthiaskrgr Sep 28, 2025
4472aa0
Rollup merge of #140482 - devnexen:tcp_deferaccept_toduration, r=joboet
matthiaskrgr Sep 28, 2025
3c6ae45
Rollup merge of #146675 - Jules-Bertholet:sync-nonexclusive, r=Mark-S…
matthiaskrgr Sep 28, 2025
c6b2b99
Auto merge of #147090 - Noratrieb:immediate-abort-stack-overflow, r=j…
bors Sep 29, 2025
9438bab
Rollup merge of #146979 - npmccallum:nanosecs, r=Mark-Simulacrum
Zalathar Sep 29, 2025
522fdbe
Use `Iterator::eq` and (dogfood) `eq_by` in compiler and library
yotamofek Sep 27, 2025
1051518
Auto merge of #147140 - Zalathar:rollup-rtnqek7, r=Zalathar
bors Sep 29, 2025
7d832dd
std: implement `hostname`
joboet Sep 23, 2025
5e75ba0
Rollup merge of #147101 - yotamofek:pr/iter-eq-and-eq-by, r=jdonszelmann
Zalathar Sep 29, 2025
9a5c974
Rollup merge of #146937 - joboet:gethostname, r=Mark-Simulacrum
matthiaskrgr Sep 29, 2025
7f341d7
remove `reverse_{encode, decode}!`
cyrgani Sep 29, 2025
22ddbfa
remove unused `#![feature(stmt_expr_attributes)]`
cyrgani Sep 29, 2025
f5f5d9e
explicitly implement `!Send` and `!Sync`
cyrgani Sep 29, 2025
ddfb90e
std: call WinSock cleanup function directly instead of through its re…
joboet Sep 30, 2025
f6fa3e1
std: improve internal socket functions
joboet Sep 30, 2025
e439996
Add repr(align(2)) to RcInner and ArcInner
taiki-e Sep 30, 2025
b10d15f
std: add missing unsafe blocks
joboet Sep 30, 2025
a8421d9
std: merge address family computation
joboet Sep 30, 2025
48e66a7
iter repeat: add tests for new count and last behavior
hkBst Sep 30, 2025
7638973
Rollup merge of #142506 - clarfonthey:path-trailing-sep, r=joboet
matthiaskrgr Sep 30, 2025
1ce3f17
Rollup merge of #146886 - taiki-e:rc-inner-align, r=Mark-Simulacrum
matthiaskrgr Sep 30, 2025
d153b38
Rollup merge of #147166 - cyrgani:proc-macro-cleanup-1, r=petrochenkov
matthiaskrgr Sep 30, 2025
52a974c
Add fast-path for accessing the current thread id
jsimmons Jun 26, 2025
8c21d93
Auto merge of #147198 - matthiaskrgr:rollup-b0ryvvu, r=matthiaskrgr
bors Oct 1, 2025
b66b321
Fix broken STD build for ESP-IDF
ivmarkov Oct 1, 2025
cd3c095
Rollup merge of #147213 - ivmarkov:fix-hostname-espidf, r=joboet
Zalathar Oct 1, 2025
444ce7a
Change ArrayWindows to use a slice
camsteffen Sep 30, 2025
ec61dd0
implement `Box::take`
edwloef Oct 1, 2025
86ef219
Fix memory leak in `os` impl
Jules-Bertholet Oct 1, 2025
7783bc1
Rollup merge of #147195 - hkBst:repeat-3, r=Mark-Simulacrum
matthiaskrgr Oct 1, 2025
294e962
Rollup merge of #147204 - camsteffen:array-windows-ref, r=joboet
matthiaskrgr Oct 1, 2025
de546aa
Auto merge of #147235 - matthiaskrgr:rollup-a0es1x9, r=matthiaskrgr
bors Oct 1, 2025
6dcb1e7
add CloneFromCell and Cell::get_cloned
Qelxiros Aug 20, 2025
84750ce
Rollup merge of #146281 - Jules-Bertholet:static-align-thread-local, …
matthiaskrgr Oct 2, 2025
c11ef47
Rollup merge of #147227 - edwloef:box_take, r=joboet
matthiaskrgr Oct 2, 2025
972a96b
Add a new `wasm32-wasip3` target to Rust
alexcrichton Sep 30, 2025
dfb8432
Document fully-qualified syntax in `as`' keyword doc
fpdotmonkey Jun 18, 2025
f2be00d
add mem::conjure_zst
Qelxiros Sep 12, 2025
02aaa46
Implement non-poisoning `Mutex::with_mut`, `RwLock::with` and `RwLock…
EFanZh Oct 4, 2025
6f21ee4
Make `fmt::Write` a diagnostic item
ada4a Oct 4, 2025
261f706
Rollup merge of #145685 - Qelxiros:cell_get_cloned, r=programmerjake,…
matthiaskrgr Oct 4, 2025
f6bd111
Rollup merge of #146330 - Marcondiro:unicode-17, r=Manishearth
matthiaskrgr Oct 4, 2025
7dbfae2
Rollup merge of #146451 - DimitriiTrater:atan2_correctness_docs, r=tg…
matthiaskrgr Oct 4, 2025
b5f1257
Rollup merge of #146479 - Qelxiros:mem_conjure_zst, r=scottmcm,tgross35
matthiaskrgr Oct 4, 2025
c9014fc
Rollup merge of #147190 - joboet:sys-net-cleanup, r=hkBst,tgross35
matthiaskrgr Oct 4, 2025
996eaf3
Improve the advice given by panic_immediate_abort
saethlin Oct 4, 2025
a1a3323
Rollup merge of #147328 - EFanZh:lock-with, r=joboet
Zalathar Oct 5, 2025
744bd2f
Rollup merge of #147337 - ada4a:write-diag-item, r=fmease
Zalathar Oct 5, 2025
501f8e0
Rollup merge of #147349 - saethlin:panic-immediate-advice, r=Noratrieb
Zalathar Oct 5, 2025
385a34c
Prevent downstream impl DerefMut for Pin<LocalType>
Darksonn Sep 17, 2025
b9688cb
Improve docs for module
Darksonn Sep 25, 2025
578275b
Document workaround in docs
Darksonn Sep 29, 2025
72f6c77
Adjust error messages
Darksonn Oct 1, 2025
68e9543
remove unneeded imports
cyrgani Oct 5, 2025
bda1247
Rollup merge of #145943 - dianne:format-args-assign-docs, r=joboet
matthiaskrgr Oct 7, 2025
8064a24
Auto merge of #147449 - matthiaskrgr:rollup-njyi5yr, r=matthiaskrgr
bors Oct 7, 2025
d936405
Rollup merge of #147205 - alexcrichton:wasip3, r=davidtwco
matthiaskrgr Oct 7, 2025
6d11450
refactor confusing loop in `proc_macro` arena
cyrgani Oct 7, 2025
19c06c7
remove `Decode` trait and only impl
cyrgani Oct 7, 2025
5aede39
Auto merge of #147453 - matthiaskrgr:rollup-z3db8zi, r=matthiaskrgr
bors Oct 7, 2025
7e44c2b
Rollup merge of #147386 - cyrgani:proc-macro-cleanup-2, r=petrochenkov
matthiaskrgr Oct 8, 2025
8d1668c
Merge from b6f0945e4681bc4d2faa7c22c5f61dc36abf7dd2 with conflicts
Oct 9, 2025
1a27086
Update toolchain to 2025-10-09
Oct 9, 2025
758c70f
Update Kani version to 415ca503aea80fd4c4c4819ad4770b744f1bc3a1
Oct 9, 2025
577d275
[create-pull-request] automated change
github-merge-queue[bot] Oct 9, 2025
2ea7361
Resolve conflicts
tautschnig Oct 10, 2025
a480b93
Update flux
tautschnig Oct 10, 2025
cca61b5
sync-2025-10-09: VeriFast proofs update (#506)
btj Oct 12, 2025
File filter

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: 1 addition & 1 deletion .github/workflows/flux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
FIXPOINT_VERSION: "556104ba5508891c357b0bdf819ce706e93d9349"
FLUX_VERSION: "f5e57bec353e2eb3550d2b7ba086462264dfa290"
FLUX_VERSION: "e01e0cd595af33b32faf6c96b032574478c29d5c"

jobs:
check-flux-on-core:
Expand Down
25 changes: 12 additions & 13 deletions library/Cargo.lock

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

2 changes: 0 additions & 2 deletions library/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ safety = { path = "../contracts/safety" }
compiler-builtins-mem = ['compiler_builtins/mem']
compiler-builtins-c = ["compiler_builtins/c"]
compiler-builtins-no-f16-f128 = ["compiler_builtins/no-f16-f128"]
# Make panics and failed asserts immediately abort without formatting any message
panic_immediate_abort = ["core/panic_immediate_abort"]
# Choose algorithms that are optimized for binary size instead of runtime performance
optimize_for_size = ["core/optimize_for_size"]

Expand Down
4 changes: 2 additions & 2 deletions library/alloc/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,12 @@ pub const fn handle_alloc_error(layout: Layout) -> ! {
}
}

#[cfg(not(feature = "panic_immediate_abort"))]
#[cfg(not(panic = "immediate-abort"))]
{
core::intrinsics::const_eval_select((layout,), ct_error, rt_error)
}

#[cfg(feature = "panic_immediate_abort")]
#[cfg(panic = "immediate-abort")]
ct_error(layout)
}

Expand Down
51 changes: 35 additions & 16 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ impl<T> Box<T> {
/// # Examples
///
/// ```
/// #![feature(new_zeroed_alloc)]
///
/// let zero = Box::<u32>::new_zeroed();
/// let zero = unsafe { zero.assume_init() };
///
Expand All @@ -301,7 +299,7 @@ impl<T> Box<T> {
/// [zeroed]: mem::MaybeUninit::zeroed
#[cfg(not(no_global_oom_handling))]
#[inline]
#[unstable(feature = "new_zeroed_alloc", issue = "129396")]
#[stable(feature = "new_zeroed_alloc", since = "CURRENT_RUSTC_VERSION")]
#[must_use]
pub fn new_zeroed() -> Box<mem::MaybeUninit<T>> {
Self::new_zeroed_in(Global)
Expand Down Expand Up @@ -358,7 +356,6 @@ impl<T> Box<T> {
/// # Ok::<(), std::alloc::AllocError>(())
/// ```
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
#[inline]
pub fn try_new_uninit() -> Result<Box<mem::MaybeUninit<T>>, AllocError> {
Box::try_new_uninit_in(Global)
Expand All @@ -384,7 +381,6 @@ impl<T> Box<T> {
///
/// [zeroed]: mem::MaybeUninit::zeroed
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
#[inline]
pub fn try_new_zeroed() -> Result<Box<mem::MaybeUninit<T>>, AllocError> {
Box::try_new_zeroed_in(Global)
Expand Down Expand Up @@ -463,7 +459,6 @@ impl<T, A: Allocator> Box<T, A> {
#[unstable(feature = "allocator_api", issue = "32838")]
#[cfg(not(no_global_oom_handling))]
#[must_use]
// #[unstable(feature = "new_uninit", issue = "63291")]
pub fn new_uninit_in(alloc: A) -> Box<mem::MaybeUninit<T>, A>
where
A: Allocator,
Expand Down Expand Up @@ -496,7 +491,6 @@ impl<T, A: Allocator> Box<T, A> {
/// # Ok::<(), std::alloc::AllocError>(())
/// ```
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
pub fn try_new_uninit_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError>
where
A: Allocator,
Expand Down Expand Up @@ -532,7 +526,6 @@ impl<T, A: Allocator> Box<T, A> {
/// [zeroed]: mem::MaybeUninit::zeroed
#[unstable(feature = "allocator_api", issue = "32838")]
#[cfg(not(no_global_oom_handling))]
// #[unstable(feature = "new_uninit", issue = "63291")]
#[must_use]
pub fn new_zeroed_in(alloc: A) -> Box<mem::MaybeUninit<T>, A>
where
Expand Down Expand Up @@ -570,7 +563,6 @@ impl<T, A: Allocator> Box<T, A> {
///
/// [zeroed]: mem::MaybeUninit::zeroed
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
pub fn try_new_zeroed_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError>
where
A: Allocator,
Expand Down Expand Up @@ -627,6 +619,37 @@ impl<T, A: Allocator> Box<T, A> {
pub fn into_inner(boxed: Self) -> T {
*boxed
}

/// Consumes the `Box` without consuming its allocation, returning the wrapped value and a `Box`
/// to the uninitialized memory where the wrapped value used to live.
///
/// This can be used together with [`write`](Box::write) to reuse the allocation for multiple
/// boxed values.
///
/// # Examples
///
/// ```
/// #![feature(box_take)]
///
/// let c = Box::new(5);
///
/// // take the value out of the box
/// let (value, uninit) = Box::take(c);
/// assert_eq!(value, 5);
///
/// // reuse the box for a second value
/// let c = Box::write(uninit, 6);
/// assert_eq!(*c, 6);
/// ```
#[unstable(feature = "box_take", issue = "147212")]
pub fn take(boxed: Self) -> (T, Box<mem::MaybeUninit<T>, A>) {
unsafe {
let (raw, alloc) = Box::into_raw_with_allocator(boxed);
let value = raw.read();
let uninit = Box::from_raw_in(raw.cast::<mem::MaybeUninit<T>>(), alloc);
(value, uninit)
}
}
}

impl<T> Box<[T]> {
Expand All @@ -640,7 +663,7 @@ impl<T> Box<[T]> {
/// values[0].write(1);
/// values[1].write(2);
/// values[2].write(3);
/// let values = unsafe {values.assume_init() };
/// let values = unsafe { values.assume_init() };
///
/// assert_eq!(*values, [1, 2, 3])
/// ```
Expand All @@ -660,8 +683,6 @@ impl<T> Box<[T]> {
/// # Examples
///
/// ```
/// #![feature(new_zeroed_alloc)]
///
/// let values = Box::<[u32]>::new_zeroed_slice(3);
/// let values = unsafe { values.assume_init() };
///
Expand All @@ -670,7 +691,7 @@ impl<T> Box<[T]> {
///
/// [zeroed]: mem::MaybeUninit::zeroed
#[cfg(not(no_global_oom_handling))]
#[unstable(feature = "new_zeroed_alloc", issue = "129396")]
#[stable(feature = "new_zeroed_alloc", since = "CURRENT_RUSTC_VERSION")]
#[must_use]
pub fn new_zeroed_slice(len: usize) -> Box<[mem::MaybeUninit<T>]> {
unsafe { RawVec::with_capacity_zeroed(len).into_box(len) }
Expand Down Expand Up @@ -785,7 +806,6 @@ impl<T, A: Allocator> Box<[T], A> {
/// ```
#[cfg(not(no_global_oom_handling))]
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
#[must_use]
pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> {
unsafe { RawVec::with_capacity_in(len, alloc).into_box(len) }
Expand Down Expand Up @@ -813,7 +833,6 @@ impl<T, A: Allocator> Box<[T], A> {
/// [zeroed]: mem::MaybeUninit::zeroed
#[cfg(not(no_global_oom_handling))]
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "new_uninit", issue = "63291")]
#[must_use]
pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> {
unsafe { RawVec::with_capacity_zeroed_in(len, alloc).into_box(len) }
Expand Down Expand Up @@ -1718,7 +1737,7 @@ impl Default for Box<str> {
}

#[cfg(not(no_global_oom_handling))]
#[stable(feature = "pin_default_impls", since = "CURRENT_RUSTC_VERSION")]
#[stable(feature = "pin_default_impls", since = "1.91.0")]
impl<T> Default for Pin<Box<T>>
where
T: ?Sized,
Expand Down
22 changes: 14 additions & 8 deletions library/alloc/src/collections/btree/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ pub struct BTreeMap<
root: Option<Root<K, V>>,
length: usize,
/// `ManuallyDrop` to control drop order (needs to be dropped after all the nodes).
// Although some of the accessory types store a copy of the allocator, the nodes do not.
// Because allocations will remain live as long as any copy (like this one) of the allocator
// is live, it's unnecessary to store the allocator in each node.
pub(super) alloc: ManuallyDrop<A>,
// For dropck; the `Box` avoids making the `Unpin` impl more strict than before
_marker: PhantomData<crate::boxed::Box<(K, V), A>>,
Expand Down Expand Up @@ -546,7 +549,11 @@ impl<K, V: fmt::Debug> fmt::Debug for ValuesMut<'_, K, V> {
/// [`into_keys`]: BTreeMap::into_keys
#[must_use = "iterators are lazy and do nothing unless consumed"]
#[stable(feature = "map_into_keys_values", since = "1.54.0")]
pub struct IntoKeys<K, V, A: Allocator + Clone = Global> {
pub struct IntoKeys<
K,
V,
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator + Clone = Global,
> {
inner: IntoIter<K, V, A>,
}

Expand Down Expand Up @@ -1433,7 +1440,6 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
/// # Examples
///
/// ```
/// #![feature(btree_extract_if)]
/// use std::collections::BTreeMap;
///
/// // Splitting a map into even and odd keys, reusing the original map:
Expand All @@ -1450,7 +1456,7 @@ impl<K, V, A: Allocator + Clone> BTreeMap<K, V, A> {
/// assert_eq!(low.keys().copied().collect::<Vec<_>>(), [0, 1, 2, 3]);
/// assert_eq!(high.keys().copied().collect::<Vec<_>>(), [4, 5, 6, 7]);
/// ```
#[unstable(feature = "btree_extract_if", issue = "70530")]
#[stable(feature = "btree_extract_if", since = "1.91.0")]
pub fn extract_if<F, R>(&mut self, range: R, pred: F) -> ExtractIf<'_, K, V, R, F, A>
where
K: Ord,
Expand Down Expand Up @@ -1937,7 +1943,7 @@ impl<K, V> Default for Values<'_, K, V> {
}

/// An iterator produced by calling `extract_if` on BTreeMap.
#[unstable(feature = "btree_extract_if", issue = "70530")]
#[stable(feature = "btree_extract_if", since = "1.91.0")]
#[must_use = "iterators are lazy and do nothing unless consumed"]
pub struct ExtractIf<
'a,
Expand Down Expand Up @@ -1970,7 +1976,7 @@ pub(super) struct ExtractIfInner<'a, K, V, R> {
range: R,
}

#[unstable(feature = "btree_extract_if", issue = "70530")]
#[stable(feature = "btree_extract_if", since = "1.91.0")]
impl<K, V, R, F, A> fmt::Debug for ExtractIf<'_, K, V, R, F, A>
where
K: fmt::Debug,
Expand All @@ -1982,7 +1988,7 @@ where
}
}

#[unstable(feature = "btree_extract_if", issue = "70530")]
#[stable(feature = "btree_extract_if", since = "1.91.0")]
impl<K, V, R, F, A: Allocator + Clone> Iterator for ExtractIf<'_, K, V, R, F, A>
where
K: PartialOrd,
Expand Down Expand Up @@ -2056,7 +2062,7 @@ impl<'a, K, V, R> ExtractIfInner<'a, K, V, R> {
}
}

#[unstable(feature = "btree_extract_if", issue = "70530")]
#[stable(feature = "btree_extract_if", since = "1.91.0")]
impl<K, V, R, F> FusedIterator for ExtractIf<'_, K, V, R, F>
where
K: PartialOrd,
Expand Down Expand Up @@ -2407,7 +2413,7 @@ impl<K, V> Default for BTreeMap<K, V> {
#[stable(feature = "rust1", since = "1.0.0")]
impl<K: PartialEq, V: PartialEq, A: Allocator + Clone> PartialEq for BTreeMap<K, V, A> {
fn eq(&self, other: &BTreeMap<K, V, A>) -> bool {
self.len() == other.len() && self.iter().zip(other).all(|(a, b)| a == b)
self.iter().eq(other)
}
}

Expand Down
13 changes: 8 additions & 5 deletions library/alloc/src/collections/btree/map/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ impl<K: Debug + Ord, V: Debug, A: Allocator + Clone> Debug for OccupiedEntry<'_,
///
/// Contains the occupied entry, and the value that was not inserted.
#[unstable(feature = "map_try_insert", issue = "82766")]
pub struct OccupiedError<'a, K: 'a, V: 'a, A: Allocator + Clone = Global> {
pub struct OccupiedError<
'a,
K: 'a,
V: 'a,
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator + Clone = Global,
> {
/// The entry in the map that was already occupied.
pub entry: OccupiedEntry<'a, K, V, A>,
/// The value which was not inserted, because the entry was already occupied.
Expand Down Expand Up @@ -271,7 +276,6 @@ impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
/// # Examples
///
/// ```
/// #![feature(btree_entry_insert)]
/// use std::collections::BTreeMap;
///
/// let mut map: BTreeMap<&str, String> = BTreeMap::new();
Expand All @@ -280,7 +284,7 @@ impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
/// assert_eq!(entry.key(), &"poneyland");
/// ```
#[inline]
#[unstable(feature = "btree_entry_insert", issue = "65225")]
#[stable(feature = "btree_entry_insert", since = "CURRENT_RUSTC_VERSION")]
pub fn insert_entry(self, value: V) -> OccupiedEntry<'a, K, V, A> {
match self {
Occupied(mut entry) => {
Expand Down Expand Up @@ -379,7 +383,6 @@ impl<'a, K: Ord, V, A: Allocator + Clone> VacantEntry<'a, K, V, A> {
/// # Examples
///
/// ```
/// #![feature(btree_entry_insert)]
/// use std::collections::BTreeMap;
/// use std::collections::btree_map::Entry;
///
Expand All @@ -391,7 +394,7 @@ impl<'a, K: Ord, V, A: Allocator + Clone> VacantEntry<'a, K, V, A> {
/// }
/// assert_eq!(map["poneyland"], 37);
/// ```
#[unstable(feature = "btree_entry_insert", issue = "65225")]
#[stable(feature = "btree_entry_insert", since = "CURRENT_RUSTC_VERSION")]
pub fn insert_entry(mut self, value: V) -> OccupiedEntry<'a, K, V, A> {
let handle = match self.handle {
None => {
Expand Down
Loading
Loading