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
e4f579f
Add runtime detection for APX-F and AVX10
sayantn Aug 17, 2025
7941af7
bufreader::Buffer::backshift: don't move the uninit bytes
lolbinarycat Aug 17, 2025
cc5846f
Merge ref '425a9c0a0e36' from rust-lang/rust
Aug 18, 2025
e2f76e4
Rollup merge of #145476 - alurm:patch-1, r=ibraheemdev
Zalathar Aug 18, 2025
162cb1d
Implement feature `int_lowest_highest_one` for integer and NonZero types
Gnurou Aug 10, 2025
fd2ef7d
Remove the `From` derive macro from prelude
Kobzol Aug 18, 2025
2665393
cargo update
invalid-email-address Aug 17, 2025
af26dd4
implement std::fs::set_permissions_nofollow on unix
lolbinarycat Jun 24, 2025
b4e28fd
Auto merge of #145489 - joshtriplett:cfg-if-not, r=Amanieu
bors Aug 18, 2025
d103ec3
std_detect: RISC-V: implement implication to "C"
a4lg Aug 19, 2025
fef6ad5
Rollup merge of #140956 - Kixunil:impl-partialeq-str-for-path, r=Amanieu
Zalathar Aug 19, 2025
1551672
Rollup merge of #141744 - GrigorenkoPV:ip_from, r=Amanieu
Zalathar Aug 19, 2025
c53d850
Rollup merge of #142871 - chenyukang:yukang-fix-doc-for-transpose, r=…
Zalathar Aug 19, 2025
1ee60af
Rollup merge of #144960 - raoulstrackx:raoul/rte-513-disable_sleep_te…
Zalathar Aug 19, 2025
870e8a0
Rollup merge of #145563 - Kobzol:remove-from-from-prelude, r=petroche…
Zalathar Aug 19, 2025
2cad529
UnsafePinned::raw_get: sync signature with get
RalfJung Aug 19, 2025
1535c72
Remove hs_abs_cmp examples
miried Aug 19, 2025
001ff20
Merge remote-tracking branch 'upstream/master'
miried Aug 19, 2025
66e1c11
Rollup merge of #142938 - lolbinarycat:std-set_permissions_nofollow, …
jieyouxu Aug 19, 2025
053aff3
Rollup merge of #143730 - pascaldekloe:fmt-radix-trim, r=tgross35
jieyouxu Aug 19, 2025
663bbcc
Rollup merge of #144767 - tgross35:doc-grammar, r=ibraheemdev
jieyouxu Aug 19, 2025
b682e04
Rollup merge of #145025 - lolbinarycat:ci-tidy-spellcheck, r=Kobzol
jieyouxu Aug 19, 2025
c932034
Rollup merge of #145099 - heiher:loong-32s, r=folkertdev
jieyouxu Aug 19, 2025
fd0c5f5
Rollup merge of #145255 - lune-climate:dec2flt-doc, r=ibraheemdev
jieyouxu Aug 19, 2025
2c0774f
Rollup merge of #145336 - clarfonthey:hidden-unicode, r=ibraheemdev
jieyouxu Aug 19, 2025
262db59
Rollup merge of #145464 - Kivooeo:stabilize-const_pathbuf_osstring_ne…
jieyouxu Aug 19, 2025
6ebc8a8
Rollup merge of #145511 - semarie:push-rnytptsoxrxn, r=joshtriplett
jieyouxu Aug 19, 2025
f802233
Rollup merge of #145538 - lolbinarycat:std-bufreader-buffer-backshift…
jieyouxu Aug 19, 2025
1a063a2
Simplify macro generating `ToString` implementations for `&…&str`
tbu- Aug 18, 2025
2b31852
Use `ToString` specialization macro also for `Cow` and `String`
tbu- Aug 18, 2025
fc77583
Fix doc of `std::os::windows::io::BorrowedSocket::borrow_raw`
lorenzleutgeb Aug 19, 2025
8c82467
`std_detect`: Use `rustc-std-workspace-*` to pull in `compiler-builtins`
joshtriplett Aug 19, 2025
33d01ad
Update lockfile for changes to `std_detect`
joshtriplett Aug 19, 2025
6de3003
Remove the std workspace patch for `compiler-builtins`
tgross35 Aug 19, 2025
6dde419
add a fallback implementation for the `prefetch_*` intrinsics
folkertdev Aug 19, 2025
71d8d81
Auto merge of #145600 - jieyouxu:rollup-jw0bpnt, r=jieyouxu
bors Aug 19, 2025
a202162
Fix typos in LocalKey documentation
qxzcode Aug 19, 2025
da4a70c
Adjust wording for conciseness
qxzcode Aug 19, 2025
0a6b3f6
make `prefetch` intrinsics safe
folkertdev Aug 19, 2025
8cf3cf9
Fix some typos
dns2utf8 Aug 19, 2025
1e19dbc
Tweak wording again
qxzcode Aug 19, 2025
ede2f42
Auto merge of #145601 - jieyouxu:rollup-t5mbqhc, r=jieyouxu
bors Aug 19, 2025
bd69f8d
Rollup merge of #139357 - miried:master, r=Amanieu
jhpratt Aug 20, 2025
43b02cb
Rollup merge of #145006 - ginnyTheCat:docs-skip-until, r=ibraheemdev
jhpratt Aug 20, 2025
bbaa398
Rollup merge of #145381 - Gnurou:int_lowest_highest_one, r=jhpratt
jhpratt Aug 20, 2025
858c223
Rollup merge of #145417 - a4lg:riscv-arch-platform-guide-ch2, r=Amanieu
jhpratt Aug 20, 2025
582333a
Rollup merge of #145531 - sayantn:detect-apxf-avx10, r=Amanieu
jhpratt Aug 20, 2025
55c9d8f
Rollup merge of #145619 - joshtriplett:use-the-right-core, r=tgross35
jhpratt Aug 20, 2025
daec924
Rollup merge of #145622 - tgross35:remove-builtins-patch, r=Mark-Simu…
jhpratt Aug 20, 2025
8c27ba6
Rollup merge of #145626 - folkertdev:prefetch-fallback, r=Amanieu
jhpratt Aug 20, 2025
78be8dc
Merge ref 'f605b57042ff' from rust-lang/rust
Aug 20, 2025
b380123
Partial-stabilize the basics from `bigint_helper_methods`
scottmcm Jul 26, 2025
49ac6d8
Pass `alloc-variant-zeroed` to LLVM
clubby789 Jul 17, 2025
ad625e6
Add flock support for cygwin
Berrysoft Aug 20, 2025
9bcee26
Auto merge of #144086 - clubby789:alloc-zeroed, r=nikic
bors Aug 20, 2025
cfa0103
fix: typo
ttajakka Aug 20, 2025
e99feb4
Migrate `panic_unwind` to use `cfg_select!`
cuviper Aug 20, 2025
91113d1
Copy WTF-8 code into core/alloc (for better diffs)
clarfonthey Aug 13, 2025
892ba87
Move WTF-8 code from std to core/alloc
clarfonthey Aug 13, 2025
31f1ae4
Diff-massaging commit
clarfonthey Aug 13, 2025
7cb376a
Merge ref '125ff8a788c5' from rust-lang/rust
Aug 21, 2025
3d65137
Rollup merge of #143383 - fee1-dead-contrib:push-mstmlwuskxyy, r=dtolnay
jhpratt Aug 21, 2025
23d9cd8
Rollup merge of #144758 - QnJ1c2kNCg:master, r=Noratrieb
jhpratt Aug 21, 2025
755ebb7
Rollup merge of #145415 - a4lg:riscv-implication-to-c, r=Amanieu
jhpratt Aug 21, 2025
1449934
Rollup merge of #145525 - typesanitizer:vg/doc, r=Mark-Simulacrum
jhpratt Aug 21, 2025
e51d7a5
Rollup merge of #145593 - RalfJung:unsafepinned-raw_get, r=Mark-Simul…
jhpratt Aug 21, 2025
a11eda9
Rollup merge of #145673 - Berrysoft:cygwin-fix-flock, r=joshtriplett
jhpratt Aug 21, 2025
a40847f
Rollup merge of #145678 - ttajakka:master, r=estebank
jhpratt Aug 21, 2025
84be05f
Consolidate panicking functions in `slice/index.rs`
Kmeakin Jul 25, 2025
9a75e6e
Auto merge of #145647 - RalfJung:miri, r=RalfJung
bors Aug 21, 2025
b551f75
Introduce Reborrow lang item and trait
aapoalas Aug 21, 2025
084c234
Rollup merge of #137494 - nabijaczleweli:dup, r=Mark-Simulacrum
jhpratt Aug 21, 2025
15b856b
Rollup merge of #145137 - Kmeakin:km/optimize-slice-index-panicking, …
jhpratt Aug 21, 2025
764ad79
Rollup merge of #145689 - cuviper:panic_unwind-cfg, r=joshtriplett
jhpratt Aug 21, 2025
c9f79d7
Merge ref '8e3710ef31a0' from rust-lang/rust
Aug 22, 2025
e4f0d2c
improve float to_degrees/to_radians rounding comments and impl
karolzwolak Aug 20, 2025
64c52f5
benchmarks for exponent fmt of integers
pascaldekloe Aug 22, 2025
391c9b6
Stabilize `round_char_boundary` feature
okaneco Aug 22, 2025
9fdc1da
modify `LazyLock` poison panic message
connortsui20 Aug 22, 2025
3da5817
Rollup merge of #132087 - ijchen:issue-131770-fix, r=dtolnay
jhpratt Aug 23, 2025
667bde0
Rollup merge of #144648 - connortsui20:nonpoison_rwlock, r=Mark-Simul…
jhpratt Aug 23, 2025
c65cb62
Rollup merge of #145633 - qxzcode:patch-1, r=jhpratt
jhpratt Aug 23, 2025
5839559
Rollup merge of #145726 - aapoalas:reborrow-lang-experiment, r=petroc…
jhpratt Aug 23, 2025
598654e
Fix STD build failing for target_os = espidf
ivmarkov Aug 22, 2025
63340cf
add `nonpoison::condvar` implementation
connortsui20 Aug 23, 2025
a952abd
add nonpoison and poison condvar tests
connortsui20 Aug 23, 2025
ce44881
change `Barrier` implementation to use `nonpoison::Condvar`
connortsui20 Jul 22, 2025
b893cbd
move `WaitTimeoutResult` up to `mod.rs`
connortsui20 Jul 24, 2025
180b65c
fix visibility of private getters
connortsui20 Aug 23, 2025
ed6f938
Auto merge of #145567 - clubby789:cargo_update, r=clubby789
bors Aug 23, 2025
9933bee
std library: use execinfo library also on NetBSD.
he32 Aug 23, 2025
c0964b5
Rollup merge of #144452 - morinmorin:apple/update_read_limit, r=Chris…
samueltardieu Aug 23, 2025
99e758b
Rollup merge of #145515 - Kmeakin:km/optimize-char-encode-utf8, r=Mar…
samueltardieu Aug 23, 2025
1b63e44
std/src/lib.rs: mention "search button" instead of "search bar"
ada4a Aug 23, 2025
335398a
Allow `integer_to_ptr_transmutes` in core
Urgau Jul 27, 2025
14c5f44
Rollup merge of #144531 - Urgau:int_to_ptr_transmutes, r=jackh726
jhpratt Aug 24, 2025
d69503d
Rollup merge of #145307 - connortsui20:lazylock-poison-msg, r=Amanieu
jhpratt Aug 24, 2025
10ce6f6
Rollup merge of #145799 - ada4a:patch-3, r=GuillaumeGomez
jhpratt Aug 24, 2025
788128e
Merge ref 'f6d23413c399' from rust-lang/rust
Aug 24, 2025
f10e36e
Dial down detail of B-tree description
hkBst Jan 20, 2025
6600102
focus more on ordered aspect and restore old comments
hkBst Jan 21, 2025
4401a69
Prevent confusion with insertion-ordered maps.
hkBst Jan 22, 2025
dffa096
Merge ref 'a1dbb443527b' from rust-lang/rust
Aug 25, 2025
a64bf73
fix(std): Add __my_thread_exit stub for QNX 8
rafaeling Jul 23, 2025
b8acf06
Rollup merge of #135761 - hkBst:patch-9, r=ibraheemdev
Zalathar Aug 25, 2025
dbd7a71
Allow linking a prebuilt optimized compiler-rt builtins library
Jun 24, 2025
a76bb1d
formatting_options: Make all methods `const`
EliasHolzmann Aug 25, 2025
f0547a5
remove deprecated Error::description in impls
hkBst Aug 23, 2025
24443df
Rollup merge of #144373 - hkBst:remove-deprecated-1, r=jhpratt
GuillaumeGomez Aug 26, 2025
8cdc53c
Rollup merge of #145615 - lorenzleutgeb:socket-doc, r=ChrisDenton
GuillaumeGomez Aug 26, 2025
d92ec19
Rollup merge of #145863 - EliasHolzmann:formatting_options_20250825, …
GuillaumeGomez Aug 26, 2025
78b966c
Fix typo in comment
stoeckmann Aug 26, 2025
195ebe8
Improve std::fs::read_dir docs
ntc2 Aug 12, 2025
3f19c9e
Merge ref '269d5b56bcfd' from rust-lang/rust
Aug 27, 2025
a99a44b
Rollup merge of #143341 - Manishearth:from-raw-parts-ptr-cast, r=samu…
matthiaskrgr Aug 27, 2025
f1956cd
Rollup merge of #145078 - minxuanz:riscv-cacheline, r=samueltardieu
matthiaskrgr Aug 27, 2025
3822d53
Rollup merge of #145290 - ntc2:patch-1, r=joshtriplett,tgross35
matthiaskrgr Aug 27, 2025
d86f1a4
Rollup merge of #145335 - clarfonthey:wtf8-core-alloc, r=Mark-Simulacrum
matthiaskrgr Aug 27, 2025
d05376a
Add spin_loop hint for LoongArch
heiher Aug 27, 2025
1a1ed31
Rollup merge of #144274 - Qelxiros:option-reduce, r=tgross35
matthiaskrgr Aug 27, 2025
a732244
Rollup merge of #145562 - tbu-:pr_simplify_to_string_spec, r=tgross35
matthiaskrgr Aug 27, 2025
42e3b80
Rollup merge of #145625 - karolzwolak:f16-use-expr-instead-literal, r…
matthiaskrgr Aug 27, 2025
08e18b3
Rename `Location::file_with_nul` to `file_as_c_str`
Darksonn Aug 27, 2025
f3fe16c
`const`ify (the unstable) `str::as_str`
GrigorenkoPV Aug 27, 2025
3d0f9ab
Fix format string grammar in docs and improve alignment error message
nilotpal-n7 Aug 19, 2025
e0db09b
fix target-pointer-width in tests
WaffleLapkin Jul 31, 2025
b1afd1d
Rollup merge of #145746 - ivmarkov:fix-nofollow-espidf, r=ibraheemdev
jhpratt Aug 28, 2025
9facee6
Prepare for merging from rust-lang/rust
invalid-email-address Aug 28, 2025
bdad0f1
Merge ref 'd36f96412516' from rust-lang/rust
invalid-email-address Aug 28, 2025
769d26b
Rollup merge of #142727 - hkBst:rm-static-mut-wasm, r=ChrisDenton
Zalathar Aug 28, 2025
d9f4f1e
Rollup merge of #145913 - heiher:loong-hint, r=joshtriplett
Zalathar Aug 28, 2025
0bb3b8d
Rollup merge of #145928 - Darksonn:file_as_c_str, r=joshtriplett
Zalathar Aug 28, 2025
03c44bd
Rollup merge of #145930 - GrigorenkoPV:const_str_as_str, r=joshtriplett
Zalathar Aug 28, 2025
8b7c39f
Clarify that align_offset overaligns
gonzalobg Aug 27, 2025
6ddff2b
fix `core::marker::Destruct` doc
neeko-cat Aug 28, 2025
3499970
std: Start supporting WASIp2 natively
alexcrichton Aug 26, 2025
27721c7
implement Sum and Product for Saturating(u*)
Qelxiros Aug 28, 2025
756a08a
Mark pipe2 supported in Android
maurer Aug 28, 2025
5680ddb
Rollup merge of #144275 - Qelxiros:saturating-arithmetic, r=tgross35
Zalathar Aug 29, 2025
3c9655b
Rollup merge of #144354 - rafaeling:fix-142726-qnx8-link-fail, r=tgro…
Zalathar Aug 29, 2025
5b690f7
Rollup merge of #145793 - he32:netbsd-libexecinfo-fix, r=Mark-Simulacrum
Zalathar Aug 29, 2025
bddef32
Rollup merge of #145972 - neeko-cat:patch-2, r=ibraheemdev
Zalathar Aug 29, 2025
8e7c66b
std: haiku: fix `B_FIND_PATH_IMAGE_PATH`
GrigorenkoPV Aug 29, 2025
ebbb3a1
std: use a TAIT to define `SplitPaths` on UNIX
joboet Aug 11, 2025
26cc90b
Add `Duration::from_nanos_u128`
actuallylost Aug 29, 2025
57a33fc
Rollup merge of #145467 - Kivooeo:stabilize-strict_provenance_atomic_…
tgross35 Aug 30, 2025
c77d0ee
Rollup merge of #145756 - okaneco:stabilize_char_boundary, r=scottmcm
tgross35 Aug 30, 2025
dd06e69
Rollup merge of #145991 - GrigorenkoPV:haiku, r=tgross35
tgross35 Aug 30, 2025
e477b60
Rollup merge of #146017 - maurer:pipe2, r=Mark-Simulacrum
tgross35 Aug 30, 2025
ecee503
Rollup merge of #146022 - tgross35:update-builtins, r=tgross35
tgross35 Aug 30, 2025
5512988
Optimize `.ilog({2,10})` to `.ilog{2,10}()`
ChaiTRex Aug 23, 2025
2d540a2
Auto merge of #144494 - scottmcm:min_bigint_helpers, r=Mark-Simulacrum
bors Aug 30, 2025
a9f5f2c
Merge ref 'e004014d1bf4' from rust-lang/rust
Aug 30, 2025
1b21cb3
add `Bound::copied`
connortsui20 Aug 28, 2025
9ff0f1f
add feature gate in doc test
connortsui20 Aug 28, 2025
c6a7350
Add `#[must_use] and update `cloned` documentation
connortsui20 Aug 30, 2025
4bffb84
Rollup merge of #143462 - Rudxain:read_to_string_usize, r=joboet
Zalathar Aug 30, 2025
4c98f51
Rollup merge of #144651 - connortsui20:nonpoison_condvar, r=joboet
Zalathar Aug 30, 2025
fc327c3
Rollup merge of #145465 - Kivooeo:stabilize-array_repeat, r=joboet
Zalathar Aug 30, 2025
a20d4e6
Rollup merge of #145776 - ChaiTRex:ilog_specialization, r=joboet
Zalathar Aug 30, 2025
d05edd6
Rollup merge of #145969 - actuallylost:duration-from-nanos-128, r=tgr…
Zalathar Aug 30, 2025
e367505
Clarify panic-drop test for select_unpredictable
197g Aug 30, 2025
0c79739
Simplify select_unpredictable guard selection
197g Aug 30, 2025
770088d
Switch select_unpredictable guard to raw pointer
197g Aug 30, 2025
60f485a
dedup recip float test
karolzwolak Aug 15, 2025
fad5078
std: clarify `OpenOptions` error for create without write access
0xdeafbeef Aug 5, 2025
8f3fb6a
Auto merge of #145479 - Kmeakin:km/hardcode-char-is-control, r=joboet
bors Aug 30, 2025
39b45bb
Fix spurious test timeout
ChrisDenton Aug 30, 2025
62940f1
Rollup merge of #144964 - 0xdeafbeef:fix-open-options, r=ibraheemdev
tgross35 Aug 30, 2025
4a64cfd
Rollup merge of #146030 - ChrisDenton:wait-timeout, r=tgross35
tgross35 Aug 30, 2025
e9206fc
fix
LorrensP-2158466 Aug 31, 2025
a469083
Rollup merge of #144443 - WaffleLapkin:integer-target-pointer-width, …
matthiaskrgr Aug 31, 2025
cb06157
Rollup merge of #145174 - 197g:issue-145148-select-unpredictable-drop…
matthiaskrgr Aug 31, 2025
b509bc2
Rollup merge of #145592 - nilotpal-n7:fix-format-alignment, r=lcnr
matthiaskrgr Aug 31, 2025
8f796c0
Rollup merge of #145931 - gonzalobg:patch-1, r=nagisa
matthiaskrgr Aug 31, 2025
cd103fd
std: fix `SplitPaths` regression
joboet Aug 31, 2025
dd7bdb6
add `#[must_use]` to `array::repeat`
joboet Aug 31, 2025
aae41cb
dedup powi float test
karolzwolak Aug 15, 2025
30589cd
dedup to_degrees float test
karolzwolak Aug 15, 2025
6db6210
Auto merge of #146053 - joboet:split-paths-regression, r=Mark-Simulacrum
bors Aug 31, 2025
e819d06
dedup to_radians float test
karolzwolak Aug 31, 2025
7b79862
Rollup merge of #145968 - connortsui20:bound-copied, r=joboet
Zalathar Sep 1, 2025
7af09c7
Rollup merge of #146051 - LorrensP-2158466:miri-libstd-fix, r=RalfJung
Zalathar Sep 1, 2025
85fb4c2
Merge ref '828e45ad11ce' from rust-lang/rust
Sep 1, 2025
d4907cf
Rollup merge of #145468 - karolzwolak:float-tests-dedup, r=tgross35
Zalathar Sep 1, 2025
53c4a2a
Auto merge of #146077 - Zalathar:rollup-l7ip5yi, r=Zalathar
bors Sep 1, 2025
a8053b4
constify impl Try for ControlFlow
npmccallum Sep 1, 2025
87ee73c
Constify conversion traits
clarfonthey Aug 11, 2025
2cbe212
stabilize extended_varargs_abi_support
RalfJung Aug 28, 2025
edddb2d
improve process::abort rendering in Miri backtraces
RalfJung Sep 2, 2025
b7c4097
Rollup merge of #144066 - RalfJung:extern-c-variadics, r=workingjubilee
GuillaumeGomez Sep 2, 2025
d4a6bce
Rollup merge of #146088 - npmccallum:try, r=scottmcm
GuillaumeGomez Sep 2, 2025
8dbf6f5
Rollup merge of #146118 - RalfJung:miri-abort, r=joboet
GuillaumeGomez Sep 2, 2025
9020b69
docs(std): add missing closing code block fences in doc comments
AudaciousAxiom Sep 2, 2025
148de67
add exact bitshifts
Qelxiros Sep 3, 2025
35edf33
Merge ref '51ff895062ba' from rust-lang/rust
Sep 3, 2025
14a8658
raw_vec.rs: Remove superfluous fn alloc_guard
btj Aug 22, 2025
9b9ed75
Add `funnel_sh{l,r}` functions and intrinsics
sayantn Aug 20, 2025
617408d
Unify and deduplicate algebraic float tests
rperier Sep 3, 2025
48ad0a3
Rollup merge of #145279 - clarfonthey:const-convert-initial, r=tgross35
Zalathar Sep 3, 2025
6eb0378
Rollup merge of #145414 - Kmeakin:km/unicode-table-refactors, r=josht…
Zalathar Sep 3, 2025
b0ca85c
Rollup merge of #145944 - alexcrichton:native-wasip2, r=tgross35
Zalathar Sep 3, 2025
20cf14a
Add `read_buf` equivalents for positioned reads
niklasf Apr 29, 2025
699fe87
Auto merge of #146156 - RalfJung:miri, r=RalfJung
bors Sep 3, 2025
dcc3484
Rollup merge of #140459 - niklasf:feature/read-buf-at, r=tgross35
Zalathar Sep 4, 2025
5e330b4
Rollup merge of #143725 - kennytm:peekable_next_if_map, r=jhpratt
Zalathar Sep 4, 2025
f0c72f3
Rollup merge of #145209 - hanna-kruppe:path_add_extension, r=tgross35
Zalathar Sep 4, 2025
b4390f3
Rollup merge of #145750 - btj:drop-alloc-guard, r=tgross35
Zalathar Sep 4, 2025
c30f253
Rollup merge of #146054 - joboet:array-repeat-must_use, r=ibraheemdev
Zalathar Sep 4, 2025
b95ef79
Rollup merge of #146136 - AudaciousAxiom:docs/missing-closing-code-bl…
Zalathar Sep 4, 2025
31e8eee
Auto merge of #146185 - Zalathar:rollup-n14lyv6, r=Zalathar
bors Sep 4, 2025
4ac655b
Rollup merge of #145690 - sayantn:integer-funnel-shift, r=tgross35
jhpratt Sep 4, 2025
312af9e
add test
bend-n Sep 4, 2025
1fb026c
fix
bend-n Sep 4, 2025
0d0263e
Rollup merge of #146194 - bend-n:fix-path-str-eq, r=ibraheemdev
matthiaskrgr Sep 4, 2025
7b027ce
std: Implement WASIp2-specific stdio routines
alexcrichton Sep 4, 2025
87c62a4
Rollup merge of #144342 - Qelxiros:exact-bitshifts, r=tgross35
tgross35 Sep 5, 2025
f99d9fc
Rollup merge of #146152 - rperier:unify_and_dedup_algebraic_float_tes…
tgross35 Sep 5, 2025
5583da3
Rollup merge of #146207 - alexcrichton:wasip2-stdio, r=juntyr
tgross35 Sep 5, 2025
d73a817
Simplify `{f16, f32, f54, f128}::midpoint()`
Jules-Bertholet Sep 5, 2025
f3a489c
change file-is-generated doc comment to inner
hkBst Sep 5, 2025
2a76514
Add __isOSVersionAtLeast and __isPlatformVersionAtLeast symbols
madsmtm Mar 25, 2025
4dd3273
single buffer for exponent fmt of integers
pascaldekloe Aug 24, 2025
7fb9ad1
Rollup merge of #138944 - madsmtm:apple_os_version_check, r=tgross35
fmease Sep 5, 2025
292aed1
Rollup merge of #146225 - Jules-Bertholet:simplify-float-midpoint, r=…
fmease Sep 5, 2025
20b30a6
Rollup merge of #146234 - hkBst:file-generated-header, r=tgross35
fmease Sep 5, 2025
ed81452
std: Update `wasi` crate dependency
alexcrichton Sep 6, 2025
1508a79
Rollup merge of #146257 - alexcrichton:update-wasi-crate, r=tgross35
tgross35 Sep 6, 2025
4cc6895
clean up some old const trait impl syntax
npmccallum Sep 1, 2025
67fff93
Auto merge of #146071 - npmccallum:cleanup, r=fmease
bors Sep 6, 2025
feb1c59
Add socket extensions for cygwin
Berrysoft Apr 8, 2025
0616edc
Rollup merge of #139524 - Berrysoft:cygwin-socket-ext, r=tgross35
tgross35 Sep 6, 2025
e6e32f1
Rollup merge of #145940 - pascaldekloe:int-exp-tune, r=tgross35
tgross35 Sep 6, 2025
88d1546
Change stdlib float tests to account for miri nondet floats.
LorrensP-2158466 Jul 13, 2025
a53cba4
feat(std): emulate flock for solaris via fcntl
weihanglo Sep 6, 2025
2a160f5
Auto merge of #146216 - LorrensP-2158466:miri-float-nondet-foreign-it…
bors Sep 7, 2025
fd1cda6
optimization: Don't include ASCII characters in Unicode tables
Kmeakin Aug 2, 2025
15f4171
docs(std): add error docs for path canonicalize
smirzaei Sep 7, 2025
c1e76db
Rollup merge of #146269 - weihanglo:solaris-flock, r=Mark-Simulacrum
matthiaskrgr Sep 7, 2025
3698b5d
Fix typo in default.rs
justinyaodu Sep 8, 2025
1ac413d
Auto merge of #146173 - Kmeakin:km/unicode-data/no-ascii, r=jhpratt
bors Sep 8, 2025
337fad4
Rollup merge of #146299 - smirzaei:doc/improve-path-canonicalize-docs…
matthiaskrgr Sep 8, 2025
83da666
Rollup merge of #146319 - justinyaodu:patch-1, r=jhpratt
matthiaskrgr Sep 8, 2025
a32f62f
Merge from 9c27f27ea3bab79a2fec827ef3ae0009959d60f4 with conflicts
Sep 10, 2025
eebabf6
Update toolchain to 2025-09-09
Sep 10, 2025
7c1cbac
Update Kani version to 54bb431831f931b372028fed50708b82f59c6c68
Sep 10, 2025
f79928c
[create-pull-request] automated change
github-merge-queue[bot] Sep 10, 2025
70f1ebf
Resolve conflict
tautschnig Sep 10, 2025
793ad85
Update Flux
tautschnig Sep 10, 2025
1317b89
Update RawVec proof (#489)
btj Sep 10, 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 .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: "b0cec81c42bc6e210f675b46dd5b4b16774b0d0e"
FLUX_VERSION: "f5e57bec353e2eb3550d2b7ba086462264dfa290"

jobs:
check-flux-on-core:
Expand Down
24 changes: 23 additions & 1 deletion library/Cargo.lock

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

15 changes: 11 additions & 4 deletions library/alloc/src/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ use crate::fmt;
use crate::string::String;

#[stable(feature = "rust1", since = "1.0.0")]
impl<'a, B: ?Sized> Borrow<B> for Cow<'a, B>
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl<'a, B: ?Sized> const Borrow<B> for Cow<'a, B>
where
B: ToOwned,
B::Owned: [const] Borrow<B>,
{
fn borrow(&self) -> &B {
&**self
Expand Down Expand Up @@ -326,9 +328,10 @@ impl<B: ?Sized + ToOwned> Cow<'_, B> {
}

#[stable(feature = "rust1", since = "1.0.0")]
impl<B: ?Sized + ToOwned> Deref for Cow<'_, B>
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl<B: ?Sized + ToOwned> const Deref for Cow<'_, B>
where
B::Owned: Borrow<B>,
B::Owned: [const] Borrow<B>,
{
type Target = B;

Expand Down Expand Up @@ -439,7 +442,11 @@ where
}

#[stable(feature = "rust1", since = "1.0.0")]
impl<T: ?Sized + ToOwned> AsRef<T> for Cow<'_, T> {
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl<T: ?Sized + ToOwned> const AsRef<T> for Cow<'_, T>
where
T::Owned: [const] Borrow<T>,
{
fn as_ref(&self) -> &T {
self
}
Expand Down
5 changes: 0 additions & 5 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2128,11 +2128,6 @@ impl<F: ?Sized + Future + Unpin, A: Allocator> Future for Box<F, A> {

#[stable(feature = "box_error", since = "1.8.0")]
impl<E: Error> Error for Box<E> {
#[allow(deprecated, deprecated_in_future)]
fn description(&self) -> &str {
Error::description(&**self)
}

#[allow(deprecated)]
fn cause(&self) -> Option<&dyn Error> {
Error::cause(&**self)
Expand Down
7 changes: 1 addition & 6 deletions library/alloc/src/boxed/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,12 +608,7 @@ impl<'a> From<String> for Box<dyn Error + Send + Sync + 'a> {
fn from(err: String) -> Box<dyn Error + Send + Sync + 'a> {
struct StringError(String);

impl Error for StringError {
#[allow(deprecated)]
fn description(&self) -> &str {
&self.0
}
}
impl Error for StringError {}

impl fmt::Display for StringError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
Expand Down
4 changes: 0 additions & 4 deletions library/alloc/src/collections/btree/map/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ impl<'a, K: Debug + Ord, V: Debug, A: Allocator + Clone> fmt::Display
impl<'a, K: core::fmt::Debug + Ord, V: core::fmt::Debug> core::error::Error
for crate::collections::btree_map::OccupiedError<'a, K, V>
{
#[allow(deprecated)]
fn description(&self) -> &str {
"key already exists"
}
}

impl<'a, K: Ord, V, A: Allocator + Clone> Entry<'a, K, V, A> {
Expand Down
6 changes: 4 additions & 2 deletions library/alloc/src/collections/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,17 +128,19 @@ pub use realalloc::collections::TryReserveErrorKind;
reason = "Uncertain how much info should be exposed",
issue = "48043"
)]
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
#[cfg(not(test))]
impl From<TryReserveErrorKind> for TryReserveError {
impl const From<TryReserveErrorKind> for TryReserveError {
#[inline]
fn from(kind: TryReserveErrorKind) -> Self {
Self { kind }
}
}

#[unstable(feature = "try_reserve_kind", reason = "new API", issue = "48043")]
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
#[cfg(not(test))]
impl From<LayoutError> for TryReserveErrorKind {
impl const From<LayoutError> for TryReserveErrorKind {
/// Always evaluates to [`TryReserveErrorKind::CapacityOverflow`].
#[inline]
fn from(_: LayoutError) -> Self {
Expand Down
21 changes: 2 additions & 19 deletions library/alloc/src/ffi/c_str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1061,17 +1061,10 @@ impl IntoStringError {
}
}

impl IntoStringError {
fn description(&self) -> &str {
"C string contained non-utf8 bytes"
}
}

#[stable(feature = "cstring_into", since = "1.7.0")]
impl fmt::Display for IntoStringError {
#[allow(deprecated, deprecated_in_future)]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
self.description().fmt(f)
"C string contained non-utf8 bytes".fmt(f)
}
}

Expand Down Expand Up @@ -1291,23 +1284,13 @@ impl PartialEq<CString> for Cow<'_, CStr> {
}

#[stable(feature = "rust1", since = "1.0.0")]
impl core::error::Error for NulError {
#[allow(deprecated)]
fn description(&self) -> &str {
"nul byte found in data"
}
}
impl core::error::Error for NulError {}

#[stable(feature = "cstring_from_vec_with_nul", since = "1.58.0")]
impl core::error::Error for FromVecWithNulError {}

#[stable(feature = "cstring_into", since = "1.7.0")]
impl core::error::Error for IntoStringError {
#[allow(deprecated)]
fn description(&self) -> &str {
"C string contained non-utf8 bytes"
}

fn source(&self) -> Option<&(dyn core::error::Error + 'static)> {
Some(&self.error)
}
Expand Down
2 changes: 1 addition & 1 deletion library/alloc/src/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@
//! sign := '+' | '-'
//! width := count
//! precision := count | '*'
//! type := '?' | 'x?' | 'X?' | identifier
//! type := '?' | 'x?' | 'X?' | 'o' | 'x' | 'X' | 'p' | 'b' | 'e' | 'E'
//! count := parameter | integer
//! parameter := argument '$'
//! ```
Expand Down
6 changes: 5 additions & 1 deletion library/alloc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@
#![feature(char_max_len)]
#![feature(clone_to_uninit)]
#![feature(coerce_unsized)]
#![feature(const_convert)]
#![feature(const_default)]
#![feature(const_eval_select)]
#![feature(const_heap)]
#![feature(const_trait_impl)]
#![feature(core_intrinsics)]
#![feature(deprecated_suggestion)]
#![feature(deref_pure_trait)]
Expand Down Expand Up @@ -160,6 +160,7 @@
#![feature(unicode_internals)]
#![feature(unsize)]
#![feature(unwrap_infallible)]
#![feature(wtf8_internals)]
// tidy-alphabetical-end
//
// Language features:
Expand All @@ -168,6 +169,7 @@
#![feature(allow_internal_unstable)]
#![feature(cfg_sanitize)]
#![feature(const_precise_live_drops)]
#![feature(const_trait_impl)]
#![feature(coroutine_trait)]
#![feature(decl_macro)]
#![feature(dropck_eyepatch)]
Expand Down Expand Up @@ -233,6 +235,8 @@ pub mod sync;
#[cfg(all(not(no_global_oom_handling), not(no_rc), not(no_sync)))]
pub mod task;
pub mod vec;
#[cfg(all(not(no_rc), not(no_sync), not(no_global_oom_handling)))]
pub mod wtf8;

#[doc(hidden)]
#[unstable(feature = "liballoc_internals", issue = "none", reason = "implementation detail")]
Expand Down
29 changes: 3 additions & 26 deletions library/alloc/src/raw_vec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl RawVecInner<Global> {
}

// Tiny Vecs are dumb. Skip to:
// - 8 if the element size is 1, because any heap allocators is likely
// - 8 if the element size is 1, because any heap allocator is likely
// to round up a request of less than 8 bytes to at least 8 bytes.
// - 4 if elements are moderate-sized (<= 1 KiB).
// - 1 otherwise, to avoid wasting too much space for very short Vecs.
Expand Down Expand Up @@ -468,10 +468,6 @@ impl<A: Allocator> RawVecInner<A> {
return Ok(Self::new_in(alloc, elem_layout.alignment()));
}

if let Err(err) = alloc_guard(layout.size()) {
return Err(err);
}

let result = match init {
AllocInit::Uninitialized => alloc.allocate(layout),
#[cfg(not(no_global_oom_handling))]
Expand Down Expand Up @@ -662,7 +658,7 @@ impl<A: Allocator> RawVecInner<A> {
let new_layout = layout_array(cap, elem_layout)?;

let ptr = finish_grow(new_layout, self.current_memory(elem_layout), &mut self.alloc)?;
// SAFETY: finish_grow would have resulted in a capacity overflow if we tried to allocate more than `isize::MAX` items
// SAFETY: layout_array would have resulted in a capacity overflow if we tried to allocate more than `isize::MAX` items

unsafe { self.set_ptr_and_cap(ptr, cap) };
Ok(())
Expand All @@ -684,7 +680,7 @@ impl<A: Allocator> RawVecInner<A> {
let new_layout = layout_array(cap, elem_layout)?;

let ptr = finish_grow(new_layout, self.current_memory(elem_layout), &mut self.alloc)?;
// SAFETY: finish_grow would have resulted in a capacity overflow if we tried to allocate more than `isize::MAX` items
// SAFETY: layout_array would have resulted in a capacity overflow if we tried to allocate more than `isize::MAX` items
unsafe {
self.set_ptr_and_cap(ptr, cap);
}
Expand Down Expand Up @@ -771,8 +767,6 @@ fn finish_grow<A>(
where
A: Allocator,
{
alloc_guard(new_layout.size())?;

let memory = if let Some((ptr, old_layout)) = current_memory {
debug_assert_eq!(old_layout.align(), new_layout.align());
unsafe {
Expand All @@ -799,23 +793,6 @@ fn handle_error(e: TryReserveError) -> ! {
}
}

// We need to guarantee the following:
// * We don't ever allocate `> isize::MAX` byte-size objects.
// * We don't overflow `usize::MAX` and actually allocate too little.
//
// On 64-bit we just need to check for overflow since trying to allocate
// `> isize::MAX` bytes will surely fail. On 32-bit and 16-bit we need to add
// an extra guard for this in case we're running on a platform which can use
// all 4GB in user-space, e.g., PAE or x32.
#[inline]
fn alloc_guard(alloc_size: usize) -> Result<(), TryReserveError> {
if usize::BITS < 64 && alloc_size > isize::MAX as usize {
Err(CapacityOverflow.into())
} else {
Ok(())
}
}

#[inline]
fn layout_array(cap: usize, elem_layout: Layout) -> Result<Layout, TryReserveError> {
elem_layout.repeat(cap).map(|(layout, _pad)| layout).map_err(|_| CapacityOverflow.into())
Expand Down
5 changes: 2 additions & 3 deletions library/alloc/src/str.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,8 @@ impl str {
}

fn case_ignorable_then_cased<I: Iterator<Item = char>>(iter: I) -> bool {
use core::unicode::{Case_Ignorable, Cased};
match iter.skip_while(|&c| Case_Ignorable(c)).next() {
Some(c) => Cased(c),
match iter.skip_while(|&c| c.is_case_ignorable()).next() {
Some(c) => c.is_cased(),
None => false,
}
}
Expand Down
Loading
Loading