Skip to content
Closed
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
a85821d
Auto merge of #148390 - matthiaskrgr:rollup-hu88mcf, r=matthiaskrgr
bors Nov 2, 2025
38cf54c
Rename {i,u}N::*exact_div to *div_exact
nxsaken Nov 2, 2025
f65c62c
Rename {u,i}N::*exact_sh{l,r} to *sh{l,r}_exact
nxsaken Oct 16, 2025
54a5e0f
Prepare for merging from rust-lang/rust
Kobzol Nov 2, 2025
1a8c9cf
Merge ref '73e6c9ebd912' from rust-lang/rust
Kobzol Nov 2, 2025
78c49c2
Rollup merge of #147947 - yotamofek:pr/lib/strip-circumfix, r=joboet
matthiaskrgr Nov 2, 2025
daced61
Auto merge of #148404 - matthiaskrgr:rollup-o61qhjw, r=matthiaskrgr
bors Nov 2, 2025
fd7805f
remove `unsafe` from `_mm_pause` uses
folkertdev Nov 2, 2025
8f77ea0
improve `_mm256_permute2f128` tests
folkertdev Nov 2, 2025
aebc362
Rollup merge of #146573 - Randl:const-range, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
7972153
Rollup merge of #146699 - heiher:is-ascii-lsx, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
4e3bc73
Rollup merge of #148026 - joboet:dont-leak-thread-closure, r=Mark-Sim…
matthiaskrgr Nov 2, 2025
0ba0737
Rollup merge of #148135 - hax0kartik:fix-vx-unix-sock, r=Mark-Simulacrum
matthiaskrgr Nov 2, 2025
d149ea1
Rollup merge of #148395 - Kobzol:generalize-branch-references, r=marc…
matthiaskrgr Nov 2, 2025
10b1cce
std_detect: Support run-time detection on OpenBSD using elf_aux_info
brad0 Sep 25, 2025
79041ed
Auto merge of #148412 - matthiaskrgr:rollup-59a302x, r=matthiaskrgr
bors Nov 2, 2025
776d7a3
Rollup merge of #146260 - Qelxiros:146179-sliceindex-wrappers, r=jhpratt
matthiaskrgr Nov 3, 2025
23bd04b
Rollup merge of #148394 - jieyouxu:remark-typeid-no-layout-guarantees…
matthiaskrgr Nov 3, 2025
29dc0a1
Rollup merge of #148402 - folkertdev:stdarch-sync-nov-2025, r=sayantn
matthiaskrgr Nov 3, 2025
bf20594
add specialization for extend_front and prepend with copied slice ite…
antonilol Nov 3, 2025
f160ad9
Revert "unicode_data refactors RUST-147622"
jieyouxu Nov 3, 2025
9943888
Rollup merge of #148378 - ilai-deutel:update_hook-doc, r=joboet
GuillaumeGomez Nov 3, 2025
04535f2
Auto merge of #148446 - GuillaumeGomez:rollup-lxwlqol, r=GuillaumeGomez
bors Nov 3, 2025
abc7e74
Add alignment parameter to `simd_masked_{load,store}`
sayantn Oct 8, 2025
d1d649f
Repoint Waker::from_fn_ptr from feature request issue to tracking issue
dtolnay Nov 4, 2025
8773040
Merge pull request #1948 from folkertdev/forward-percentage
Amanieu Nov 4, 2025
1b2a34a
Merge pull request #1846 from sayantn/new-amx-intrinsics
Amanieu Nov 4, 2025
d79d61e
Rollup merge of #145915 - coolreader18:stabilize-fmt_from_fn, r=dtolnay
Zalathar Nov 4, 2025
9606e60
Rollup merge of #146057 - Ddystopia:waker-fn, r=dtolnay
Zalathar Nov 4, 2025
77d7b4c
Rollup merge of #146301 - Ayush1325:uefi-box, r=joboet
Zalathar Nov 4, 2025
c7875a0
assert that `#[rustc_pass_indirectly_in_non_rustic_abis]` is respected
folkertdev Sep 24, 2025
c48b3f2
btree: cleanup difference, intersection, is_subset
hkBst Oct 17, 2025
0cc927e
Implement Path::is_empty
ChrisDenton Nov 4, 2025
4ed4aa0
Remove no longer necessary lint allow
bjorn3 Oct 30, 2025
e5eb376
Fix link in c_longlong documentation
Nov 4, 2025
52a4dcb
Rollup merge of #147355 - sayantn:masked-loads, r=RalfJung,bjorn3
Zalathar Nov 4, 2025
dc6c1b8
Rollup merge of #148495 - ChrisDenton:path_is_empty, r=workingjubilee
Zalathar Nov 4, 2025
4ed6df0
Use generic SIMD masked load/stores for avx512 masked load/stores
sayantn Oct 10, 2025
178ea41
Merge `Vec::push{,_mut}_within_capacity`
WaffleLapkin Nov 5, 2025
e7a3548
Add Allocator proxy impls for Box, Rc, and Arc
cramertj Nov 5, 2025
a2f5529
Rollup merge of #148517 - bjorn3:lint_cleanup, r=joboet
matthiaskrgr Nov 5, 2025
0aa5730
Rollup merge of #148534 - WaffleLapkin:push_within_capacity_now_with_…
matthiaskrgr Nov 5, 2025
7a2c418
Rollup merge of #147586 - folkertdev:std-detect-expands-to-true, r=Am…
Zalathar Nov 6, 2025
3bf2d56
use funnel shift as fallback impl for rotating shifts
RalfJung Nov 4, 2025
f4c4b0d
document behavior of rotations for n >= BITS
RalfJung Nov 4, 2025
8e6268a
style: Update doctests for `highest_one` and `lowest_one`
sorairolake Nov 5, 2025
e0b4578
Rollup merge of #146861 - antonilol:vec_deque_extend_front, r=joboet
matthiaskrgr Nov 6, 2025
55843ab
extract s390x `vector` and friends to their own rust feature
folkertdev Aug 20, 2025
e328224
`std_detect`: remove unneeded stability lines from s390x features macro
folkertdev Aug 20, 2025
ae6df2a
`std_detect`: give s390x features more accurate features / tracking i…
folkertdev Aug 20, 2025
05b876c
stabilize `stdarch_s390x_feature_detection`
folkertdev Aug 20, 2025
a56f595
stabilize `s390x_target_feature_vector`
folkertdev Aug 20, 2025
074f18a
core docs: add notes about availability of `Atomic*::from_mut_slice`
WaffleLapkin Nov 6, 2025
c8ecbbd
Auto merge of #148573 - matthiaskrgr:rollup-cn5viia, r=matthiaskrgr
bors Nov 6, 2025
b0a5ab6
stabilize duration_from_nanos_u128
RalfJung Nov 6, 2025
075625f
Sync str::rsplit_once example with str::split_once
AMDmi3 Nov 6, 2025
a33fc72
Add -Zannotate-moves for profiler visibility of move/copy operations
jsgf Oct 13, 2025
d9ae82c
Use generic SIMD intrinsics for AVX `maskload` and `maskstore` intrin…
sayantn Nov 6, 2025
26ca3de
Enable std locking functions on AIX
amy-kwan Nov 7, 2025
f933f45
Rollup merge of #145992 - GrigorenkoPV:stabilize/vec_deque_pop_if, r=…
jhpratt Nov 7, 2025
59144c7
Rollup merge of #147808 - hkBst:btree-3, r=joboet
jhpratt Nov 7, 2025
3b0429b
Rollup merge of #148520 - sorairolake:update-lowest-highest-one-docte…
jhpratt Nov 7, 2025
5a7cb2e
Rollup merge of #148578 - WaffleLapkin:equal-alignment-atomic-from-mu…
jhpratt Nov 7, 2025
1af5dc0
Rollup merge of #148609 - AMDmi3:rsplit_once_example, r=chenyukang
jhpratt Nov 7, 2025
a29dcce
Stabilise 'as_array' in '[_]' and '*const [_]'; Stabilise 'as_mut_arr…
bjoernager Nov 7, 2025
505361d
update isolate_highest_one for NonZero<T>
vrtgs Oct 14, 2025
99763e3
Auto merge of #147029 - neuschaefer:memchr-2.7.6, r=marcoieni
bors Nov 7, 2025
26fc285
Replace `#[const_trait]` with `const` in libcore
fmease Nov 8, 2025
d6e65f9
Auto merge of #147803 - jsgf:move-copy-codegen, r=madsmtm,saethlin
bors Nov 8, 2025
88284e9
std: use a non-poisoning `RwLock` for the panic hook
joboet Nov 8, 2025
baf06cf
Rollup merge of #145656 - folkertdev:stabilize-s390x-vector, r=Amanieu
matthiaskrgr Nov 8, 2025
9d9b08e
Rollup merge of #147024 - brad0:std_detect_openbsd_elf_aux_info, r=Ma…
matthiaskrgr Nov 8, 2025
f2a97c8
Rollup merge of #147540 - bjoernager:slice-as-array, r=Amanieu
matthiaskrgr Nov 8, 2025
716a276
Rollup merge of #147686 - vrtgs:non-zero-isolate, r=joboet
matthiaskrgr Nov 8, 2025
a68a1bb
std: support `RwLock` and thread parking on TEEOS
joboet Nov 8, 2025
0c98a31
add `overflow_checks` intrinsic
pitaj Aug 4, 2024
d51276d
constify result unwrap unchecked
bend-n Oct 31, 2025
94e386b
Rollup merge of #128666 - pitaj:intrinsic-overflow_checks, r=BoxyUwU
Zalathar Nov 9, 2025
61c87fe
Rollup merge of #148079 - taj-p:master, r=Mark-Simulacrum
Zalathar Nov 9, 2025
d4c4088
Rollup merge of #148084 - the8472:prefixless-path-components-iter, r=…
Zalathar Nov 9, 2025
8865f0c
Rollup merge of #148126 - hax0kartik:vx-fix-148125, r=Mark-Simulacrum
Zalathar Nov 9, 2025
e5b8d4c
Rollup merge of #148333 - bend-n:const_result_unwrap_unchecked, r=mar…
Zalathar Nov 9, 2025
be8e25f
Rollup merge of #148539 - cramertj:alloc-arc, r=Amanieu
Zalathar Nov 9, 2025
064302d
Rollup merge of #148619 - amy-kwan:amyk/AddLockingFunctions_AIX, r=wo…
Zalathar Nov 9, 2025
ed369ff
Auto merge of #148721 - Zalathar:rollup-398va3y, r=Zalathar
bors Nov 9, 2025
fe3f52a
Constify `ControlFlow` methods (unstable bounds)
nxsaken Oct 30, 2025
d61ce24
Add tracking issue number
nxsaken Nov 9, 2025
a3d7eec
Update feature name, add tracking issue number
nxsaken Nov 9, 2025
7830d74
Implement the alternative `try` desugaring
scottmcm Mar 19, 2022
335eb90
(almost) get rid of the unsound `#[rustc_unsafe_specialization_marker…
joboet Jan 11, 2025
657873d
Constify `ManuallyDrop::take`
nxsaken Nov 9, 2025
df9d8b8
add a `TrivialClone` implementation when deriving both `Clone` and `C…
joboet Jan 17, 2025
3fc578b
alloc: remove test of unsound specialization behaviour
joboet Feb 11, 2025
bc70836
make `TrivialClone` a `#[marker]`-trait to keep it from appearing in …
joboet Feb 11, 2025
08b0ee4
automatically implement `TrivialClone` for closures and tuples
joboet Mar 17, 2025
de30bd2
Rollup merge of #148683 - fmease:rm-const_trait-attr, r=fee1-dead
matthiaskrgr Nov 9, 2025
2e17960
Rollup merge of #148687 - joboet:nonpoison-hook-rwlock, r=ChrisDenton
matthiaskrgr Nov 9, 2025
bce723b
Optimize Vec::from_elem for some more cases.
zachs18 Nov 9, 2025
3984d56
Constify `mem::take`
nxsaken Nov 9, 2025
badbe06
Rollup merge of #148248 - nxsaken:const_control_flow, r=Mark-Simulacrum
matthiaskrgr Nov 9, 2025
cddcb91
Rollup merge of #148285 - nxsaken:const_control_flow_1, r=Mark-Simula…
matthiaskrgr Nov 9, 2025
6397a4e
prevent `TrivialClone` implementations from appearing in rustdoc output
joboet Mar 24, 2025
f1b38da
Prepare for merging from rust-lang/rust
invalid-email-address Nov 10, 2025
d45363b
Merge ref '8401398e1f14' from rust-lang/rust
invalid-email-address Nov 10, 2025
c7a23a8
Add tracking issue number
nxsaken Nov 10, 2025
a81606c
Expand pow docs with special-case tests
reddevilmidzy Nov 10, 2025
b2e2780
Fix a typo in the documentation for the strict_shr function
reddevilmidzy Nov 10, 2025
927ce59
uefi: fs: Add file times plumbing
Ayush1325 Aug 12, 2025
7d361d1
Fix new `function_casts_as_integer` lint errors in core, std, panic_u…
GuillaumeGomez May 23, 2025
a3c99ce
Allow `function_casts_as_integer` in coretest test
GuillaumeGomez May 27, 2025
cbbece4
Auto merge of #135634 - joboet:trivial-clone, r=Mark-Simulacrum
bors Nov 10, 2025
037fcff
feat: Add `bit_width` for unsigned `NonZero<T>`
sorairolake Nov 10, 2025
6e40ddc
Make SIMD intrinsics available in `const`-contexts
sayantn Nov 3, 2025
4086455
Auto merge of #148737 - zachs18:unit-is-zero, r=joboet
bors Nov 11, 2025
8c234a8
rename default branch to main
marcoieni Nov 11, 2025
49b0bd1
Rollup merge of #141470 - GuillaumeGomez:function_casts_as_integer, r…
Zalathar Nov 11, 2025
5fd01e9
Rollup merge of #147771 - nxsaken:div_shlr_exact, r=dtolnay
Zalathar Nov 11, 2025
2b0c954
Rollup merge of #148694 - joboet:teeos-sync, r=ChrisDenton
Zalathar Nov 11, 2025
5370a03
Rollup merge of #148775 - reddevilmidzy:fix-typo, r=joboet
Zalathar Nov 11, 2025
22222ff
add logic tests for ternarylogic
folkertdev Nov 11, 2025
15a6233
`vec_recycle`: implementation
GrigorenkoPV Oct 31, 2025
a6943ae
Auto merge of #148818 - Zalathar:rollup-4vujcg0, r=Zalathar
bors Nov 11, 2025
4c74f08
improve ternary logic tests
folkertdev Nov 11, 2025
7baf5fc
CStr docs: Fix CStr vs &CStr confusion
btj Nov 11, 2025
c954266
Stabilize vec_into_raw_parts
GoldsteinE Nov 11, 2025
9cf6c37
Some tweaks
btj Nov 11, 2025
8db05cf
Bump library dependencies
jamie-osec Nov 11, 2025
99fa698
improve primitive reference PartialEq docs
ericseppanen Nov 11, 2025
6964fd2
fix typo in primitive reference docs
ericseppanen Nov 11, 2025
1132958
Remove more #[must_use] from portable-simd
dtolnay Nov 11, 2025
ce38607
Implement `Read::read_array`
joshtriplett Nov 12, 2025
e31ff22
New format_args!()+fmt::Arguments implementation.
m-ou-se Nov 10, 2025
1271007
Remove the 'always set' bit from FormattingOptions.
m-ou-se Nov 11, 2025
43b3b41
Document fmt::Arguments internal representation.
m-ou-se Nov 11, 2025
ba2b60f
Clarify internal fmt::Arguments documentation.
m-ou-se Nov 12, 2025
ec3ab5d
Allow larger string pieces in fmt::Arguments repr.
m-ou-se Nov 12, 2025
351a2f4
Merge pull request #1953 from sayantn/masked-load-store
folkertdev Nov 12, 2025
82406e3
Fix comment about potential niche in FormattingOptions.
m-ou-se Nov 12, 2025
76eab1f
Clarify comment.
m-ou-se Nov 12, 2025
17ddeea
Add comment.
m-ou-se Nov 12, 2025
3ace34e
Refactor `Box::take`
edwloef Nov 12, 2025
1acdfdb
Use SIMD intrinsics for vector shifts
sayantn Nov 12, 2025
3ad0481
Guard against incorrect `read_buf_exact` implementations
joshtriplett Nov 13, 2025
547de4c
Merge pull request #1959 from folkertdev/ternary-logic-tests-2
folkertdev Nov 13, 2025
a03c9bb
Merge pull request #1955 from sayantn/vector-shifts
folkertdev Nov 13, 2025
89bf0ed
add missing s390x target feature to std detect test
folkertdev Nov 13, 2025
dbcde70
Auto merge of #148587 - RalfJung:duration_from_nanos_u128, r=Mark-Sim…
bors Nov 13, 2025
cf2d11c
Expose fmt::Arguments::from_str as unstable.
m-ou-se Nov 13, 2025
35db1f9
add note to `lines` docs about empty str behavior
msmoiz Nov 13, 2025
2622f19
fix incorrect import on `aarch64-unknown-openbsd`
folkertdev Nov 13, 2025
5e9a0d3
update language from "no lines" to "empty iterator"
msmoiz Nov 14, 2025
c1938a9
Rollup merge of #148826 - btj:cstr-docs, r=joboet
Zalathar Nov 14, 2025
8600fa7
Rollup merge of #148850 - joshtriplett:read-array, r=joboet
Zalathar Nov 14, 2025
871a4b3
Rollup merge of #148867 - edwloef:refactor-box-take, r=joboet
Zalathar Nov 14, 2025
821dbaa
Rollup merge of #148902 - folkertdev:detect-s390x-target-feature, r=t…
Zalathar Nov 14, 2025
5207380
Rollup merge of #148906 - m-ou-se:fmt-args-from-str, r=dtolnay
Zalathar Nov 14, 2025
52d7065
Move `into_try_type` to a free function
scottmcm Nov 13, 2025
076301c
Rollup merge of #148725 - scottmcm:experiment-new-try-block-v3, r=pet…
Zalathar Nov 14, 2025
fdb5fab
Combine `impl<'a> Arguments<'a>` blocks
dtolnay Nov 13, 2025
d140f2e
Auto merge of #148940 - dtolnay:implarguments, r=joboet
bors Nov 14, 2025
90925c4
Remove `rustc_inherit_overflow_checks` from `position()` in slice ite…
theemathas Nov 14, 2025
dc930ec
Stabilize `char_max_len`
GrigorenkoPV Aug 19, 2025
625ff29
Auto merge of #138918 - Ayush1325:uefi-fs-time, r=joboet
bors Nov 14, 2025
25f9566
Auto merge of #148944 - theemathas:rm_inherit_overflow, r=joboet
bors Nov 14, 2025
4b42224
aarch64: Remove withdrawn FEAT_TME
maurer Nov 14, 2025
9035059
const-eval: fix and re-enable pointer fragment support
RalfJung Oct 29, 2025
e927a33
Document Error::{new,other} as to be avoided in pre_exec
purplesyringa Nov 15, 2025
3c3b49b
Auto merge of #148526 - reddevilmidzy:docs, r=Mark-Simulacrum
bors Nov 15, 2025
92835c3
Rollup merge of #148416 - GrigorenkoPV:vec_recycle, r=Mark-Simulacrum
Zalathar Nov 16, 2025
ec924d0
Rollup merge of #148827 - GoldsteinE:stabilize-vec-into-raw-parts, r=…
Zalathar Nov 16, 2025
c3dc90e
Rollup merge of #148832 - clubby789:cargo-update-library-11-11-25, r=…
Zalathar Nov 16, 2025
1332a23
Rollup merge of #148836 - ericseppanen:primitive_reference_docs, r=Ma…
Zalathar Nov 16, 2025
5b67b09
fix a couple unstable attributes
pitaj May 4, 2025
f7e9a77
IterRangeFrom: overflow panic after yielding MAX
pitaj May 4, 2025
0860ad8
Auto merge of #148259 - RalfJung:const-ptr-fragment, r=oli-obk
bors Nov 16, 2025
3331108
add must_use to extract_if methods
RalfJung Nov 16, 2025
d3b94c4
Rollup merge of #148703 - pitaj:rangefrom-overflow_checks, r=Mark-Sim…
matthiaskrgr Nov 16, 2025
16e062b
Rollup merge of #148914 - folkertdev:aarch64-openbsd-fix-import, r=Ma…
matthiaskrgr Nov 16, 2025
02f6650
Rollup merge of #148971 - purplesyringa:pre-exec-error-constructor, r…
matthiaskrgr Nov 16, 2025
7572063
Rollup merge of #148995 - RalfJung:extract_if, r=the8472
matthiaskrgr Nov 16, 2025
6874253
correct some `#[simd_test]` attributes
sayantn Nov 10, 2025
00c8f1d
add autodiff examples
ZuseZ4 Nov 12, 2025
82b2b14
Auto merge of #148478 - RalfJung:rotating-funnel, r=Mark-Simulacrum
bors Nov 17, 2025
22ede45
Rollup merge of #148752 - nxsaken:const_manually_drop_take, r=scottmcm
Zalathar Nov 17, 2025
6396975
Rollup merge of #148757 - nxsaken:const_mem_take, r=scottmcm
Zalathar Nov 17, 2025
021fd20
Rollup merge of #148912 - msmoiz:main, r=scottmcm
Zalathar Nov 17, 2025
9f54f0d
Auto merge of #149013 - Zalathar:rollup-io1ddhc, r=Zalathar
bors Nov 17, 2025
fea16b8
Merge pull request #1960 from maurer/remove-tme
folkertdev Nov 17, 2025
b94e1ce
correct signedness of pmadd arguments
folkertdev Nov 17, 2025
2b9069b
Merge pull request #1957 from marcoieni/rename-default-branch-to-main
marcoieni Nov 17, 2025
12dbe29
Merge pull request #1961 from folkertdev/pmadd-correct-signedness
sayantn Nov 17, 2025
6573df8
std: move `kernel_copy` to `sys`
joboet Sep 26, 2025
6fcadb1
recommend using a HashMap if a HashSet's second generic parameter doe…
Qelxiros Sep 30, 2025
610464d
Rollup merge of #145610 - GrigorenkoPV:char_max_len, r=Amanieu
matthiaskrgr Nov 17, 2025
60136b6
Rollup merge of #148504 - NeatNit:intlong, r=ibraheemdev
matthiaskrgr Nov 17, 2025
e866442
Improve the documentation of atomic::fence
matthieu-m Oct 19, 2025
f381402
Rollup merge of #147077 - joboet:mov_kernel_copy_sys, r=ibraheemdev
matthiaskrgr Nov 17, 2025
8eaad0c
Match <OsString as Debug>::fmt to that of str
tamird Aug 7, 2023
ce4c3ef
Remove <os::Vars as Debug> workaround
tamird Aug 13, 2023
ed772fb
Replace OffsetOf by an actual sum.
cjgillot Oct 25, 2025
0621a12
Honor allow_internal_unstable for const intrinsics.
cjgillot Nov 1, 2025
c3a864f
Complete doc.
cjgillot Nov 6, 2025
c6bbdfe
std: sys: fs: uefi: Implement stat
Ayush1325 Nov 15, 2025
6901197
Auto merge of #148151 - cjgillot:no-offset-of, r=scottmcm
bors Nov 18, 2025
ecbb256
Rollup merge of #148970 - Ayush1325:uefi-fs-stat, r=joboet
GuillaumeGomez Nov 18, 2025
11ebbf9
Auto merge of #149059 - GuillaumeGomez:rollup-s6m2mmy, r=GuillaumeGomez
bors Nov 18, 2025
532107a
Rollup merge of #147887 - matthieu-m:task/lib-core-sync-atomic-fence-…
matthiaskrgr Nov 18, 2025
6579c54
feat: Change return type of `NonZero::bit_width`
sorairolake Nov 18, 2025
ddc961f
Auto merge of #149063 - matthiaskrgr:rollup-6z23izv, r=matthiaskrgr
bors Nov 18, 2025
abde4a5
Rollup merge of #147171 - Qelxiros:hashmap_diag, r=fee1-dead
matthiaskrgr Nov 19, 2025
bdbd010
Rollup merge of #147521 - sayantn:simd-const-intrinsics, r=madsmtm
matthiaskrgr Nov 19, 2025
164c8e5
Rollup merge of #148201 - ZuseZ4:autodiff-activity-docs, r=oli-obk
matthiaskrgr Nov 19, 2025
014ec4c
Rollup merge of #148797 - sorairolake:feature/non-zero-uint-bit-width…
matthiaskrgr Nov 19, 2025
2606650
Rollup merge of #148798 - tamird:esc-single-quote, r=Amanieu
matthiaskrgr Nov 19, 2025
24851ee
Add missing trailing period to RustDoc for fn create_dir().
ximon18 Nov 19, 2025
9b8837f
fs: Update skipped file lock tests to match flock support
tgross35 Nov 19, 2025
2c5a97a
See if this is the time we can remove `layout::size_align`
scottmcm Nov 19, 2025
d7e9940
fs: Expect a test failure if file locks aren't supported
tgross35 Nov 19, 2025
1d2162a
test: Use an ignore message for fs Android skips
tgross35 Nov 19, 2025
34e7c23
enable `avx10_target_feature` in core (used by stdarch)
folkertdev Nov 19, 2025
6ede1fc
std: sys: fs: uefi: Fix FileAttr size
Ayush1325 Nov 20, 2025
20ff130
sgx: avoid unnecessarily creating a slice
RalfJung Nov 19, 2025
37cb56e
iter::ArrayChunks::into_remainder ought not return option
bend-n Nov 20, 2025
a5cfec7
Auto merge of #149118 - folkertdev:stdarch-sync-2025-11-19, r=tgross35
bors Nov 20, 2025
94a293b
Rollup merge of #146925 - DiuDiu777:va-doc-fix, r=tgross35
matthiaskrgr Nov 20, 2025
5a42b29
Rollup merge of #147035 - joboet:extract_if_debug, r=tgross35
matthiaskrgr Nov 20, 2025
e4f0951
std: sys: net: uefi: Implement read_vectored
Ayush1325 Nov 20, 2025
ad28feb
Constify `residual_into_try_type`
nxsaken Nov 20, 2025
a760712
Auto merge of #149132 - matthiaskrgr:rollup-8khp9s2, r=matthiaskrgr
bors Nov 20, 2025
28ff18a
Auto merge of #149109 - scottmcm:align-always-alignment, r=tgross35
bors Nov 20, 2025
a58e1ec
Rollup merge of #149088 - ximon18:patch-1, r=ChrisDenton
matthiaskrgr Nov 20, 2025
7eabbd3
Rollup merge of #149111 - tgross35:fs-test-updates, r=ChrisDenton
matthiaskrgr Nov 20, 2025
e1dc02a
Rollup merge of #149113 - RalfJung:sgx-less-unsafe, r=ChrisDenton
matthiaskrgr Nov 20, 2025
ce46679
Rollup merge of #149123 - Ayush1325:uefi-fs-size-fix, r=ChrisDenton
matthiaskrgr Nov 20, 2025
f2e20c6
library: upgrade to hashbrown v0.16.1
cuviper Nov 20, 2025
b6ef1f3
Auto merge of #149158 - matthiaskrgr:rollup-qmtvboe, r=matthiaskrgr
bors Nov 20, 2025
76a6d0a
Rollup merge of #149127 - bend-n:iter_array_chunks_into_remainder_is_…
Zalathar Nov 21, 2025
984af9d
Rollup merge of #149134 - Ayush1325:uefi-tcp4-vector, r=joboet
Zalathar Nov 21, 2025
24652e2
Rollup merge of #149135 - nxsaken:const_residual_into_try_type, r=sco…
Zalathar Nov 21, 2025
6c760a1
Move safe computation out of unsafe block
chirizxc Nov 21, 2025
9a46c95
Fix typo in HashMap performance comment
winningMove Nov 22, 2025
d6270ad
Auto merge of #149159 - cuviper:library-hashbrown-0.16.1, r=Amanieu
bors Nov 22, 2025
cdfb3dc
Add `#[rustc_should_not_be_called_on_const_items]` to std methods
Urgau Nov 2, 2025
8f5aabe
Rollup merge of #148407 - Urgau:suspicious_int_mutable_consts, r=Jona…
matthiaskrgr Nov 22, 2025
e400b58
Rollup merge of #149194 - chirizxc:patch-1, r=Noratrieb
matthiaskrgr Nov 22, 2025
9666168
Rollup merge of #149204 - winningMove:patch-1, r=chenyukang
matthiaskrgr Nov 22, 2025
1ed1fc6
Merge from 94b49fd998d6723e0a9240a7cff5f9df37b84dd8 with conflicts
Jan 17, 2026
2dc4c9f
Update toolchain to 2025-11-23
Jan 17, 2026
bea2494
Update Kani version to 2e10950790ff97a019302ee7e6239a5d64c23325
Jan 17, 2026
2c2734a
[create-pull-request] automated change
github-merge-queue[bot] Jan 17, 2026
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
  •  
  •  
  •  
103 changes: 64 additions & 39 deletions library/Cargo.lock

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

4 changes: 2 additions & 2 deletions library/alloc/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 {
unsafe extern "Rust" {
// This is the magic symbol to call the global alloc error handler. rustc generates
// it to call `__rg_oom` if there is a `#[alloc_error_handler]`, or to call the
// default implementations below (`__rdl_oom`) otherwise.
// default implementations below (`__rdl_alloc_error_handler`) otherwise.
#[rustc_std_internal_symbol]
fn __rust_alloc_error_handler(size: usize, align: usize) -> !;
}
Expand Down Expand Up @@ -425,7 +425,7 @@ pub mod __alloc_error_handler {
// called via generated `__rust_alloc_error_handler` if there is no
// `#[alloc_error_handler]`.
#[rustc_std_internal_symbol]
pub unsafe fn __rdl_oom(size: usize, _align: usize) -> ! {
pub unsafe fn __rdl_alloc_error_handler(size: usize, _align: usize) -> ! {
unsafe extern "Rust" {
// This symbol is emitted by rustc next to __rust_alloc_error_handler.
// Its value depends on the -Zoom={panic,abort} compiler option.
Expand Down
55 changes: 34 additions & 21 deletions library/alloc/src/borrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ use crate::fmt;
#[cfg(not(no_global_oom_handling))]
use crate::string::String;

// FIXME(inference): const bounds removed due to inference regressions found by crater;
// see https://github.com/rust-lang/rust/issues/147964
// #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
#[stable(feature = "rust1", since = "1.0.0")]
#[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>,
impl<'a, B: ?Sized + ToOwned> Borrow<B> for Cow<'a, B>
// where
// B::Owned: [const] Borrow<B>,
{
fn borrow(&self) -> &B {
&**self
Expand Down Expand Up @@ -214,43 +215,51 @@ impl<B: ?Sized + ToOwned> Clone for Cow<'_, B> {
impl<B: ?Sized + ToOwned> Cow<'_, B> {
/// Returns true if the data is borrowed, i.e. if `to_mut` would require additional work.
///
/// Note: this is an associated function, which means that you have to call
/// it as `Cow::is_borrowed(&c)` instead of `c.is_borrowed()`. This is so
/// that there is no conflict with a method on the inner type.
///
/// # Examples
///
/// ```
/// #![feature(cow_is_borrowed)]
/// use std::borrow::Cow;
///
/// let cow = Cow::Borrowed("moo");
/// assert!(cow.is_borrowed());
/// assert!(Cow::is_borrowed(&cow));
///
/// let bull: Cow<'_, str> = Cow::Owned("...moo?".to_string());
/// assert!(!bull.is_borrowed());
/// assert!(!Cow::is_borrowed(&bull));
/// ```
#[unstable(feature = "cow_is_borrowed", issue = "65143")]
pub const fn is_borrowed(&self) -> bool {
match *self {
pub const fn is_borrowed(c: &Self) -> bool {
match *c {
Borrowed(_) => true,
Owned(_) => false,
}
}

/// Returns true if the data is owned, i.e. if `to_mut` would be a no-op.
///
/// Note: this is an associated function, which means that you have to call
/// it as `Cow::is_owned(&c)` instead of `c.is_owned()`. This is so that
/// there is no conflict with a method on the inner type.
///
/// # Examples
///
/// ```
/// #![feature(cow_is_borrowed)]
/// use std::borrow::Cow;
///
/// let cow: Cow<'_, str> = Cow::Owned("moo".to_string());
/// assert!(cow.is_owned());
/// assert!(Cow::is_owned(&cow));
///
/// let bull = Cow::Borrowed("...moo?");
/// assert!(!bull.is_owned());
/// assert!(!Cow::is_owned(&bull));
/// ```
#[unstable(feature = "cow_is_borrowed", issue = "65143")]
pub const fn is_owned(&self) -> bool {
!self.is_borrowed()
pub const fn is_owned(c: &Self) -> bool {
!Cow::is_borrowed(c)
}

/// Acquires a mutable reference to the owned form of the data.
Expand Down Expand Up @@ -327,11 +336,13 @@ impl<B: ?Sized + ToOwned> Cow<'_, B> {
}
}

// FIXME(inference): const bounds removed due to inference regressions found by crater;
// see https://github.com/rust-lang/rust/issues/147964
// #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl<B: ?Sized + ToOwned> const Deref for Cow<'_, B>
where
B::Owned: [const] Borrow<B>,
impl<B: ?Sized + ToOwned> Deref for Cow<'_, B>
// where
// B::Owned: [const] Borrow<B>,
{
type Target = B;

Expand Down Expand Up @@ -441,11 +452,13 @@ where
}
}

// FIXME(inference): const bounds removed due to inference regressions found by crater;
// see https://github.com/rust-lang/rust/issues/147964
// #[rustc_const_unstable(feature = "const_convert", issue = "143773")]
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl<T: ?Sized + ToOwned> const AsRef<T> for Cow<'_, T>
where
T::Owned: [const] Borrow<T>,
impl<T: ?Sized + ToOwned> AsRef<T> for Cow<'_, T>
// where
// T::Owned: [const] Borrow<T>,
{
fn as_ref(&self) -> &T {
self
Expand Down
Loading
Loading