Skip to content
Merged
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
bc77ae8
Switch to using a GH app for authenticating sync PRs
Kobzol Jul 29, 2025
bc089b3
clean up existing poison files
connortsui20 Jul 23, 2025
42d8ab4
add `nonpoison::mutex` implementation
connortsui20 Jul 23, 2025
e2f735a
reorder mutex tests
connortsui20 Jul 23, 2025
3494607
add nonpoison and poison mutex tests
connortsui20 Jul 23, 2025
7ae281e
add extra drop, panic, and unwind tests
connortsui20 Jul 29, 2025
207afb9
Rollup merge of #144022 - connortsui20:sync_nonpoison, r=tgross35
Zalathar Jul 29, 2025
84f9da4
Rollup merge of #144167 - zachs18:rangebounds-not-unsized-reason, r=t…
Zalathar Jul 29, 2025
1124ac6
Rollup merge of #144500 - joboet:thread-name-stack-overflow, r=ChrisD…
Zalathar Jul 29, 2025
038f313
Fix typo in `DropGuard` doc
lucaswerkmeister Jul 29, 2025
83cab05
LoongArch64 LSX fast-path for `str.contains(&str)`
heiher Jun 24, 2025
bc6be7b
Rollup merge of #144634 - lucaswerkmeister:patch-1, r=lqd
Zalathar Jul 29, 2025
04743f1
cleanup: Trim trailing whitespace
tgross35 Jul 29, 2025
6721eb1
ci: Simplify tests for verbatim paths
tgross35 Jul 29, 2025
8690b14
Fix Ord, Eq and Hash implementation of panic::Location
orlp Jul 26, 2025
2f8dad2
Auto merge of #144393 - heiher:str-contains-lsx, r=tgross35
bors Jul 29, 2025
a003f50
Rollup merge of #144510 - orlp:fix-location-ord, r=ibraheemdev
jhpratt Jul 29, 2025
af745a4
Auto merge of #144658 - jhpratt:rollup-jdzhz27, r=jhpratt
bors Jul 29, 2025
a3b663f
const-eval: full support for pointer fragments
RalfJung Jul 17, 2025
df69b7d
`AlignmentEnum` should just be `repr(usize)` now
scottmcm Jul 30, 2025
91c4f13
ci: Switch to strongly typed directives
tgross35 Jul 30, 2025
d7a266c
ci: Don't print output twice in `ci-util`
tgross35 Jul 30, 2025
618cdf8
ci: Commonize the way `PrInfo` is loaded from env
tgross35 Jul 30, 2025
4011c52
ci: Add a way to run `libm` tests that would otherwise be skipped
tgross35 Jul 30, 2025
62c925f
ci: Set pipefail before running ci-util
tgross35 Jul 30, 2025
b7e8940
Simplify the configuration for no-panic
tgross35 Jul 30, 2025
cb5ac93
Implement push_mut
balt-dev Jun 17, 2025
af568ee
Stabilize strict_overflow_ops
nxsaken Jul 30, 2025
1be3885
Prepare for merging from rust-lang/rust
invalid-email-address Jul 31, 2025
1bfa106
Merge ref '32e7a4b92b10' from rust-lang/rust
invalid-email-address Jul 31, 2025
f4d1221
Rollup merge of #135975 - balt-dev:master, r=tgross35
Zalathar Jul 31, 2025
6db2dc3
std_detect: Linux 6.16 support for RISC-V
a4lg Jul 31, 2025
371ea17
Make `libtest::ERROR_EXIT_CODE` const public to not redefine it in ru…
GuillaumeGomez Jul 22, 2025
feb3eae
Rollup merge of #144297 - GuillaumeGomez:ERROR_EXIT_CODE, r=Amanieu
samueltardieu Jul 31, 2025
158ca24
Rollup merge of #144721 - a4lg:riscv-hwprobe-linux-6.16, r=Amanieu
samueltardieu Jul 31, 2025
c578f21
uefi: Use slice equality rather than `memcmp`
tgross35 Jul 31, 2025
6fee60e
Use `core` via `rustc-std-workspace-core` in `library/panic*`
tgross35 Jul 30, 2025
fc7b60d
Remove `std`'s dependency on `compiler-builtins`
tgross35 Jul 30, 2025
ac8c84e
Correct some grammar in integer documentation
tgross35 Aug 1, 2025
3e21361
Rollup merge of #144683 - tgross35:builtins-via-std-workspace, r=bjor…
jhpratt Aug 1, 2025
46d7619
Constify additional Result functions
Randl Aug 1, 2025
64e8ed9
Fix safety comment for new_unchecked in niche_types
nilehmann Aug 1, 2025
b8f0f94
feat: implement `hash_map!` macro
stifskere Aug 1, 2025
d97f923
Rollup merge of #143771 - Randl:const-result, r=tgross35
samueltardieu Aug 2, 2025
d71da41
Rollup merge of #144185 - purplesyringa:poisoning-wording, r=Amanieu
samueltardieu Aug 2, 2025
50d1f58
Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=Am…
samueltardieu Aug 2, 2025
d52b3bb
Rollup merge of #144797 - nilehmann:safety-comment-niche, r=Noratrieb
samueltardieu Aug 2, 2025
4d64b6c
fmt with table lookup for binary, octal and hex
pascaldekloe Jul 8, 2025
17bec4c
use gcc 15 as the linker on loongarch
folkertdev Aug 2, 2025
b228233
Change visibility of Args new function
chotchki Aug 2, 2025
b2b9d3e
cargo update
invalid-email-address Aug 3, 2025
cde9c62
feat: Added another variant of the Constraint enum
madhav-madhusoodanan Aug 2, 2025
090949b
Merge pull request #1889 from rust-lang/rustc-pull
folkertdev Aug 3, 2025
e5f3f9c
rename rust_panic_without_hook
Kivooeo Aug 3, 2025
90bd755
removed gate
Kivooeo Aug 3, 2025
61c3e07
remove rust_ prefixes
Kivooeo Aug 3, 2025
f470dd4
Use `as_array` in PartialEq for arrays
scottmcm Aug 3, 2025
2b47c30
Rollup merge of #144070 - stifskere:feat/macros/hash_map, r=Noratrieb
samueltardieu Aug 3, 2025
21e872c
Rollup merge of #144843 - rust-lang:cargo_update, r=clubby789
samueltardieu Aug 3, 2025
2b97240
fix broken doc section link in `poison.rs`
connortsui20 Aug 3, 2025
ed3c994
add poisoning documentation to `LazyCell`
connortsui20 Aug 3, 2025
d194960
add poisoning documentation to `LazyLock`
connortsui20 Aug 3, 2025
78f8393
remove gate
Kivooeo Aug 3, 2025
2be5456
Rollup merge of #142205 - paolobarbolini:const_swap_with_slice-impl, …
Zalathar Aug 4, 2025
bf1b45a
Rollup merge of #144188 - joshtriplett:available-parallelism, r=Mark-…
Zalathar Aug 4, 2025
a3c6369
Rollup merge of #144667 - scottmcm:alignment-is-usize, r=tgross35
Zalathar Aug 4, 2025
4ed226c
Rollup merge of #144853 - Kivooeo:rust_-cleanup, r=Mark-Simulacrum
Zalathar Aug 4, 2025
f3058cb
remove feature gate
Kivooeo Aug 4, 2025
6a85584
remove begin prefix
Kivooeo Aug 4, 2025
db0afc5
Add new `test::print_merged_doctests_times` used by rustdoc to displa…
GuillaumeGomez Aug 4, 2025
2b1046a
std: sys: io: io_slice: Add UEFI types
Ayush1325 Jul 20, 2025
4f5ed30
Correct the use of `must_use` on btree::IterMut
JonathanBrouwer Aug 4, 2025
6683196
Rollup merge of #144852 - Kivooeo:rename-panic, r=m-ou-se
samueltardieu Aug 5, 2025
f555834
Rollup merge of #144867 - scottmcm:more-as-array, r=chenyukang
samueltardieu Aug 5, 2025
7112d06
Rollup merge of #144872 - connortsui20:once-poison-docs, r=Amanieu
samueltardieu Aug 5, 2025
ff24035
feat: cleaned the IntrinsicType struct and associated functions.
madhav-madhusoodanan Aug 5, 2025
5fbf176
chore: moved chunk_info to `common` and code cleanup
madhav-madhusoodanan Aug 5, 2025
c579bca
Merge pull request #1895 from madhav-madhusoodanan/intrinsic-test-int…
folkertdev Aug 5, 2025
a73145d
use `IntoIterator` for the `add_flags` methods
folkertdev Aug 5, 2025
9587c7e
Ignore sleep_until test on SGX
raoulstrackx Aug 5, 2025
464dc21
Stabilize `core::iter::chain`
rossmacarthur Aug 5, 2025
98d7628
compiler-builtins: plumb LSE support for aarch64 on linux
pmur Aug 4, 2025
00a2512
Dynamically enable LSE for aarch64 rust provided intrinsics
pmur Jul 31, 2025
2ef7fac
Fix description of unsigned `checked_exact_div`
tautschnig Aug 5, 2025
687efdd
Add `u8`-as-ASCII methods to `core::ascii::Char`
ChaiTRex Jul 4, 2025
01af052
Add `std::ascii::Char` `MIN` and `MAX` constants
ChaiTRex Jul 5, 2025
c00829b
Renamed `isolate_most_least_significant_one` functions
okaneco Aug 5, 2025
7fdeeea
add code example showing that file_prefix treats dotfiles as the name…
the8472 Aug 5, 2025
1430379
configure: Use `CARGO_CFG_*_{F16,F128}` rather than invoking rustc
tgross35 Aug 5, 2025
39e1791
`File::set_times`: Remove `write(true)` from the example so it works …
joshtriplett Aug 5, 2025
3092f12
`File::set_times`: Add documentation about setting directory timestamps
joshtriplett Aug 5, 2025
aae162a
Fix some doc links for intrinsics
ehuss Aug 6, 2025
ba07f05
replace version placeholder
BoxyUwU Aug 4, 2025
6ee95c9
Rollup merge of #144836 - chotchki:patch-1, r=tgross35
Kobzol Aug 6, 2025
9593fbf
Rollup merge of #144926 - JonathanBrouwer:fix-mustuse, r=cuviper
Kobzol Aug 6, 2025
2bc6d5e
Rollup merge of #144971 - okaneco:rename_isolate_ones, r=joshtriplett
Kobzol Aug 6, 2025
4ff8a80
Rollup merge of #144978 - ehuss:intrinsic-doc-links, r=scottmcm
Kobzol Aug 6, 2025
1186a72
Change stdlib float tests to account for miri nondet floats.
LorrensP-2158466 Jul 13, 2025
9f5da6e
tidy
BoxyUwU Aug 6, 2025
faa7ded
Reword documentation for `set_times` to clarify directory handling
joshtriplett Aug 6, 2025
7a5c36a
Rollup merge of #144861 - Kivooeo:payload-as-str-stabilization, r=Chr…
GuillaumeGomez Aug 6, 2025
3660653
Rollup merge of #144972 - the8472:file-prefix-docs, r=joshtriplett
GuillaumeGomez Aug 6, 2025
fe21658
Rollup merge of #144975 - joshtriplett:file-times-dir, r=jhpratt
GuillaumeGomez Aug 6, 2025
b2b2255
Optimize `char::is_alphanumeric`
Kmeakin Aug 6, 2025
36bf865
Print thread ID in panic message if thread name is unknown
tgross35 Sep 11, 2023
860d702
Auto merge of #115746 - tgross35:unnamed-threads-panic-message, r=cuv…
bors Aug 7, 2025
2558253
Rollup merge of #138689 - jedbrown:jed/nvptx-target-feature, r=ZuseZ4
Zalathar Aug 7, 2025
97979ee
Rollup merge of #140267 - jogru0:control_flow, r=dtolnay
Zalathar Aug 7, 2025
0fe2dd8
Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-foreign-…
Zalathar Aug 7, 2025
ed1cd33
Rollup merge of #144133 - oli-obk:stabilize-const-type-id, r=lcnr
Zalathar Aug 7, 2025
a43ec7e
Rollup merge of #144682 - nxsaken:strict_overflow_ops, r=Mark-Simulacrum
Zalathar Aug 7, 2025
9224939
Auto merge of #144997 - BoxyUwU:bootstrap_bump, r=Mark-Simulacrum
bors Aug 7, 2025
4874ec9
doc(library): Fix Markdown in `Iterator::by_ref`.
Hywan Aug 7, 2025
71cf0ae
Fix doc comment of File::try_lock and File::try_lock_shared
ulrichstark Aug 7, 2025
ceef639
Auto merge of #145043 - Zalathar:rollup-3dbvdrm, r=Zalathar
bors Aug 7, 2025
c6a0d02
Clean up some resolved test regressions of const trait removals in std
ShoyuVanilla Aug 7, 2025
9e09de0
Rollup merge of #144705 - pmur:murp/aarch64-lse, r=Amanieu
tgross35 Aug 8, 2025
b6e924e
Rollup merge of #144900 - Kivooeo:unsigned_signed_diff-stabilize, r=d…
tgross35 Aug 8, 2025
65edbc5
Rollup merge of #144903 - Kivooeo:panic_handler-is-not-begin, r=m-ou-se
tgross35 Aug 8, 2025
f44acd9
Rollup merge of #144974 - tgross35:update-builtins, r=tgross35
tgross35 Aug 8, 2025
e817695
Rollup merge of #145045 - Hywan:doc-library-iterator-by_ref, r=Guilla…
tgross35 Aug 8, 2025
e3a4f68
Rollup merge of #145046 - ulrichstark:master, r=tgross35
tgross35 Aug 8, 2025
055d635
Consolidate abs tests
rocurley Jul 14, 2025
145a843
Consolidate signum tests
rocurley Jul 14, 2025
fddae8c
Consolidate is_positive tests
rocurley Jul 14, 2025
a4e4853
Consolidate is_sign_negative tests
rocurley Aug 4, 2025
f73dda0
Consolidate test_next_up
rocurley Aug 4, 2025
f5bf51f
Consolidate test_next_down
rocurley Aug 4, 2025
2f54d34
Consolidate sqrt_domain tests
rocurley Aug 4, 2025
8ff9549
Consolidate clamp tests
rocurley Aug 4, 2025
5cd1589
Consolidate total_cmp tests
rocurley Aug 4, 2025
d05c57a
Hoist zero and one out into TestableFloat
rocurley Aug 8, 2025
fc870c1
Rollup merge of #144909 - GuillaumeGomez:extend-libtest-for-merged-do…
Zalathar Aug 8, 2025
7d15d80
Rollup merge of #145042 - heiher:stdarch-push, r=folkertdev
Zalathar Aug 8, 2025
420e225
Rollup merge of #145057 - ShoyuVanilla:const-trait-tests-cleanup, r=p…
Zalathar Aug 8, 2025
a71ec16
Auto merge of #145077 - Zalathar:rollup-0k4194x, r=Zalathar
bors Aug 8, 2025
98f973a
Fix wasm target build with atomics feature
Spxg Aug 8, 2025
89362ca
Revert "Rollup merge of #143906 - LorrensP-2158466:miri-float-nondet-…
Kobzol Aug 8, 2025
3e84ba2
Rollup merge of #144192 - RalfJung:atomicrmw-ptr, r=nikic
tgross35 Aug 8, 2025
7b8e489
Auto merge of #145126 - tgross35:rollup-6w87usd, r=tgross35
bors Aug 8, 2025
b5ac431
Rollup merge of #144923 - rocurley:float_tests_refactor_3, r=tgross35
Zalathar Aug 9, 2025
36871ff
Rollup merge of #145027 - Kmeakin:km/optimize-char-is-alphanumeric, r…
Zalathar Aug 9, 2025
f82e30c
Rollup merge of #145096 - Spxg:w/wasm_atomic, r=tgross35
Zalathar Aug 9, 2025
c6c6866
rustc_target: Add the `32s` target feature for LoongArch
heiher Aug 8, 2025
d451ec1
Replace unsafe function with safe alternative
ChrisDenton Aug 9, 2025
e06e0ed
Stabilize feature
Kivooeo Aug 8, 2025
29c83f4
`{BTree,Hash}Map`: add "`Entry` API" section heading
ada4a Aug 9, 2025
0cf20bd
`HashMap`: also add "Usage with custom key types" heading
ada4a Aug 9, 2025
52751e9
Avoid abbreviating "numerator" as "numer", to allow catching typo "nu…
joshtriplett Aug 9, 2025
1e5ba4d
cargo update
invalid-email-address Aug 10, 2025
b61bc0d
Let forward_ref_* macros accept multiple attributes, and require attr…
clarfonthey Jul 14, 2025
5235f7a
Constify remaining operators
clarfonthey Jul 15, 2025
e6bca6d
Rollup merge of #145135 - Kivooeo:stabilize-duration_constructors_lit…
Zalathar Aug 10, 2025
7029f55
Rollup merge of #145162 - ada4a:hash_and_btree_map-add-entry-section,…
Zalathar Aug 10, 2025
59ee82e
Rollup merge of #145150 - ChrisDenton:inherit, r=Mark-Simulacrum
jhpratt Aug 10, 2025
44db1e4
Remove unnecessary parentheses in `assert!`s
estebank Aug 10, 2025
d88aefd
mention `Hash` and `Ord`; refine description of `derive`
gewitternacht Aug 10, 2025
9e39c75
cfg_select: Support unbraced expressions
joshtriplett Aug 10, 2025
f2e76f8
Rollup merge of #143949 - clarfonthey:const-arith-ops, r=Amanieu
Zalathar Aug 11, 2025
1f8bb9f
Rollup merge of #144330 - gewitternacht:document-clone-eq, r=Amanieu
Zalathar Aug 11, 2025
893580e
Rollup merge of #144350 - Ayush1325:uefi-io, r=tgross35,nicholasbishop
Zalathar Aug 11, 2025
bfb736f
Rollup merge of #145228 - estebank:unnecessary-parens, r=joshtriplett
Zalathar Aug 11, 2025
2bf3644
std: sys: pal: uefi: Overhaul Time
Ayush1325 Apr 14, 2025
e6fd5d5
std: sys: pal: uefi: tests: Add systemtime tests
Ayush1325 May 24, 2025
309d9ba
dec2flt: Provide more valid inputs examples
jstasiak Aug 11, 2025
a70d7ec
Make a James Bond reference
jstasiak Aug 11, 2025
ad58f8c
Make explicit guarantees about `Vec`’s allocator
SabrinaJewson Aug 11, 2025
6a1fb51
Respond to review comments
SabrinaJewson Aug 11, 2025
b309211
Deprecate RUST_TEST_* env variables
epage Aug 11, 2025
5b128ea
Handle the `capacity == 0` case
SabrinaJewson Aug 12, 2025
70be52f
fix typo
ada4a Aug 12, 2025
c598835
Rollup merge of #145260 - SabrinaJewson:vec-allocator-docs, r=dtolnay
Zalathar Aug 12, 2025
aad53ec
Rollup merge of #145292 - ada4a:patch-2, r=tgross35
Zalathar Aug 12, 2025
23a3069
Link to payload_as_str() from payload().
m-ou-se Aug 12, 2025
c686675
Revert "Partially outline code inside the panic! macro".
m-ou-se Aug 12, 2025
371e15a
Address dangling doc
giltho Aug 12, 2025
65c3a65
Constify SystemTime methods
clarfonthey Jul 26, 2025
5e3267b
Add cast_init and cast_uninit methods for pointers
clarfonthey Jul 18, 2025
d6e4502
Make std use the edition 2024 prelude
theemathas Aug 13, 2025
ff12cbd
Rollup merge of #143467 - ChaiTRex:ascii_char_is_ascii, r=tgross35
Kobzol Aug 13, 2025
fbb69dd
Rollup merge of #144519 - clarfonthey:const-system-time, r=jhpratt
Kobzol Aug 13, 2025
4a80774
Rollup merge of #144870 - Kivooeo:file_prefix-stabilize, r=tgross35
Kobzol Aug 13, 2025
fc2441d
Rollup merge of #145269 - epage:test-env, r=jhpratt
Kobzol Aug 13, 2025
98082b1
Rollup merge of #145303 - m-ou-se:payload-as-str-doc, r=jhpratt
Kobzol Aug 13, 2025
940d054
Rollup merge of #145308 - giltho:dangling-doc, r=scottmcm
Kobzol Aug 13, 2025
f016862
Rollup merge of #145325 - clarfonthey:cast-init, r=scottmcm
Kobzol Aug 13, 2025
4b6317c
doc test: fix mpsc.rs try_send doc test
eval-exec Aug 12, 2025
ede1562
Hide docs for core::unicode
clarfonthey Aug 13, 2025
f312a5a
Stabilize `sse4a` and `tbm` target features
sayantn Jul 27, 2025
0d10217
Rollup merge of #142741 - a1phyr:fix_unsoundness, r=Mark-Simulacrum
GuillaumeGomez Aug 14, 2025
65e9230
Rollup merge of #144515 - scottmcm:ptr_cast_array, r=Mark-Simulacrum
GuillaumeGomez Aug 14, 2025
cbd4630
Rollup merge of #145179 - joshtriplett:number, r=RalfJung
GuillaumeGomez Aug 14, 2025
f85a5f6
Rollup merge of #145299 - eval-exec:exec-fix-145293, r=tgross35
GuillaumeGomez Aug 14, 2025
f2d2871
Print regions in `type_name`.
nnethercote Aug 7, 2025
03dba69
resolve prelude import at `build_reduced_graph` phase
LorrensP-2158466 Aug 11, 2025
ecfc84d
Auto merge of #144542 - sayantn:stabilize-sse4a-tbm, r=Amanieu,travis…
bors Aug 14, 2025
0ecb1f5
Basic implementation of `autodiff` intrinsic
Sa4dUs Aug 14, 2025
86c250f
Complete functionality and general cleanup
Sa4dUs Aug 14, 2025
d529925
std: thread: Return error if setting thread stack size fails
Gelbpunkt Jul 20, 2025
7de45d7
Rollup merge of #145233 - joshtriplett:cfg-select-expr, r=jieyouxu
Kobzol Aug 14, 2025
ca22abc
Windows: Replace `GetThreadId`+`GetCurrentThread` with `GetCurrentThr…
tgross35 Aug 15, 2025
f753cd4
Rollup merge of #118087 - GrigorenkoPV:refcell_try_map, r=Mark-Simula…
Zalathar Aug 15, 2025
cf19f90
Rollup merge of #142640 - Sa4dUs:ad-intrinsic, r=ZuseZ4
Zalathar Aug 15, 2025
080e89d
Rollup merge of #144947 - tautschnig:remove-stray-checked_div-comment…
Zalathar Aug 15, 2025
1b3a70c
Rollup merge of #145189 - rust-lang:cargo_update, r=clubby789
Zalathar Aug 15, 2025
c9c0006
Rollup merge of #145322 - LorrensP-2158466:early-prelude-processing, …
Zalathar Aug 15, 2025
affd708
Rollup merge of #145331 - theemathas:std-prelude-2024, r=tgross35
Zalathar Aug 15, 2025
a953cc8
Create unstable `From` builtin macro and register it
Kobzol Aug 4, 2025
3504bd9
Rollup merge of #144210 - Gelbpunkt:thread-stack-size-musl, r=jhpratt
Kobzol Aug 15, 2025
48e13b7
Rollup merge of #145412 - tgross35:win-tid, r=ChrisDenton
Kobzol Aug 15, 2025
3f0e8f7
stabilize const exposed provenance
Kivooeo Aug 15, 2025
f87b014
stabilize const pathbuf osstring new
Kivooeo Aug 15, 2025
d82cde3
Rollup merge of #143717 - Jules-Bertholet:pin-default, r=dtolnay
jhpratt Aug 15, 2025
57454b2
Rollup merge of #144054 - jsimmons:stabilize-as-array-of-cells, r=tgr…
jhpratt Aug 15, 2025
5efcc19
Rollup merge of #144922 - Kobzol:derive-from, r=nnethercote
jhpratt Aug 15, 2025
2567930
Rollup merge of #144963 - rossmacarthur-forks:stabilize-core-iter-cha…
jhpratt Aug 15, 2025
b6249f1
Rollup merge of #145462 - Kivooeo:stabilize-const_exposed_provenance,…
jhpratt Aug 15, 2025
0eba590
Fix typo in doc for library/std/src/fs.rs#set_permissions
alurm Aug 15, 2025
72c7f4c
Auto merge of #145304 - m-ou-se:simplify-panic, r=oli-obk
bors Aug 16, 2025
41fb7d1
library: Migrate from `cfg_if` to `cfg_select`
joshtriplett Aug 10, 2025
fba1c47
run spellcheck as a tidy extra check in ci
lolbinarycat Aug 6, 2025
6eba91d
fmt::DisplayInt abstraction obsolete with better macro
pascaldekloe Jul 10, 2025
5c1d29a
tidy now installs typos-cli as-needed via cargo
lolbinarycat Aug 8, 2025
4f7261a
std: fix more typos
lolbinarycat Aug 16, 2025
ca4ba73
Indent some code inside `cfg_select!`
joshtriplett Aug 16, 2025
90ada38
Auto merge of #144081 - RalfJung:const-ptr-fragments, r=oli-obk
bors Aug 17, 2025
772683c
Rust build fails on OpenBSD after using file_lock feature
semarie Aug 16, 2025
85cbfac
Auto merge of #145284 - nnethercote:type_name-print-regions, r=lcnr
bors Aug 17, 2025
e2f76e4
Rollup merge of #145476 - alurm:patch-1, r=ibraheemdev
Zalathar Aug 18, 2025
fd2ef7d
Remove the `From` derive macro from prelude
Kobzol Aug 18, 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
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
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
71d8d81
Auto merge of #145600 - jieyouxu:rollup-jw0bpnt, r=jieyouxu
bors Aug 19, 2025
a413935
Merge branch 'subtree/library'
Aug 20, 2025
126f39d
Update toolchain to 2025-08-20
Aug 20, 2025
df0441c
Update Kani version to a7d917d31772cc56e5f78c87a3876cae003b63b9
Aug 20, 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
331 changes: 125 additions & 206 deletions library/core/src/fmt/num.rs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions library/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,13 @@ pub mod assert_matches {
pub use crate::macros::{assert_matches, debug_assert_matches};
}

#[unstable(feature = "derive_from", issue = "144889")]
/// Unstable module containing the unstable `From` derive macro.
pub mod from {
#[unstable(feature = "derive_from", issue = "144889")]
pub use crate::macros::builtin::From;
}

// We don't export this through #[macro_export] for now, to avoid breakage.
#[unstable(feature = "autodiff", issue = "124509")]
/// Unstable module containing the unstable `autodiff` macro.
Expand Down
12 changes: 6 additions & 6 deletions library/core/src/net/ip_addr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,13 +626,13 @@ impl Ipv4Addr {
/// # Examples
///
/// ```
/// #![feature(ip_from)]
/// use std::net::Ipv4Addr;
///
/// let addr = Ipv4Addr::from_octets([13u8, 12u8, 11u8, 10u8]);
/// assert_eq!(Ipv4Addr::new(13, 12, 11, 10), addr);
/// ```
#[unstable(feature = "ip_from", issue = "131360")]
#[stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[rustc_const_stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[must_use]
#[inline]
pub const fn from_octets(octets: [u8; 4]) -> Ipv4Addr {
Expand Down Expand Up @@ -1464,7 +1464,6 @@ impl Ipv6Addr {
/// # Examples
///
/// ```
/// #![feature(ip_from)]
/// use std::net::Ipv6Addr;
///
/// let addr = Ipv6Addr::from_segments([
Expand All @@ -1479,7 +1478,8 @@ impl Ipv6Addr {
/// addr
/// );
/// ```
#[unstable(feature = "ip_from", issue = "131360")]
#[stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[rustc_const_stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[must_use]
#[inline]
pub const fn from_segments(segments: [u16; 8]) -> Ipv6Addr {
Expand Down Expand Up @@ -2029,7 +2029,6 @@ impl Ipv6Addr {
/// # Examples
///
/// ```
/// #![feature(ip_from)]
/// use std::net::Ipv6Addr;
///
/// let addr = Ipv6Addr::from_octets([
Expand All @@ -2044,7 +2043,8 @@ impl Ipv6Addr {
/// addr
/// );
/// ```
#[unstable(feature = "ip_from", issue = "131360")]
#[stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[rustc_const_stable(feature = "ip_from", since = "CURRENT_RUSTC_VERSION")]
#[must_use]
#[inline]
pub const fn from_octets(octets: [u8; 16]) -> Ipv6Addr {
Expand Down
2 changes: 2 additions & 0 deletions library/core/src/num/dec2flt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ macro_rules! from_str_float_impl {
/// * '2.5E-10'
/// * '5.'
/// * '.5', or, equivalently, '0.5'
/// * '7'
/// * '007'
/// * 'inf', '-inf', '+infinity', 'NaN'
///
/// Note that alphabetical characters are not case-sensitive.
Expand Down
9 changes: 3 additions & 6 deletions library/core/src/num/int_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2506,8 +2506,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2537,8 +2536,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2575,8 +2573,7 @@ macro_rules! int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i32` is used here.
/// Please note that this example is shared among integer types, which is why `i32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/saturating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,8 @@ macro_rules! saturating_int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i16` is used here.
/// Please note that this example is shared among integer types, which is why `i16`
/// is used.
///
/// ```
/// use std::num::Saturating;
Expand Down
13 changes: 5 additions & 8 deletions library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2122,8 +2122,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u8` is used here.
/// Please note that this example is shared among integer types, which is why `u8` is used.
///
/// ```
/// assert_eq!(10u8.wrapping_mul(12), 120);
Expand Down Expand Up @@ -2617,8 +2616,8 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why why `u32`
/// is used.
///
/// ```
/// assert_eq!(5u32.overflowing_mul(2), (10, false));
Expand All @@ -2644,8 +2643,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why `u32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down Expand Up @@ -2675,8 +2673,7 @@ macro_rules! uint_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `u32` is used here.
/// Please note that this example is shared among integer types, which is why `u32` is used.
///
/// ```
/// #![feature(bigint_helper_methods)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/wrapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -775,8 +775,8 @@ macro_rules! wrapping_int_impl {
///
/// # Examples
///
/// Please note that this example is shared between integer types.
/// Which explains why `i16` is used here.
/// Please note that this example is shared among integer types, which is why `i16`
/// is used.
///
/// Basic usage:
///
Expand Down
12 changes: 6 additions & 6 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2095,19 +2095,19 @@ impl<T> Option<&mut T> {
impl<T, E> Option<Result<T, E>> {
/// Transposes an `Option` of a [`Result`] into a [`Result`] of an `Option`.
///
/// [`None`] will be mapped to <code>[Ok]\([None])</code>.
/// <code>[Some]\([Ok]\(\_))</code> and <code>[Some]\([Err]\(\_))</code> will be mapped to
/// <code>[Ok]\([Some]\(\_))</code> and <code>[Err]\(\_)</code>.
/// <code>[Some]\([Ok]\(\_))</code> is mapped to <code>[Ok]\([Some]\(\_))</code>,
/// <code>[Some]\([Err]\(\_))</code> is mapped to <code>[Err]\(\_)</code>,
/// and [`None`] will be mapped to <code>[Ok]\([None])</code>.
///
/// # Examples
///
/// ```
/// #[derive(Debug, Eq, PartialEq)]
/// struct SomeErr;
///
/// let x: Result<Option<i32>, SomeErr> = Ok(Some(5));
/// let y: Option<Result<i32, SomeErr>> = Some(Ok(5));
/// assert_eq!(x, y.transpose());
/// let x: Option<Result<i32, SomeErr>> = Some(Ok(5));
/// let y: Result<Option<i32>, SomeErr> = Ok(Some(5));
/// assert_eq!(x.transpose(), y);
/// ```
#[inline]
#[stable(feature = "transpose_result", since = "1.33.0")]
Expand Down
7 changes: 0 additions & 7 deletions library/core/src/prelude/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,3 @@ pub use crate::macros::builtin::deref;
reason = "`type_alias_impl_trait` has open design concerns"
)]
pub use crate::macros::builtin::define_opaque;

#[unstable(
feature = "derive_from",
issue = "144889",
reason = "`derive(From)` is unstable"
)]
pub use crate::macros::builtin::From;
4 changes: 2 additions & 2 deletions library/core/src/unicode/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! Unicode internals used in liballoc and libstd. Not public API.
#![unstable(feature = "unicode_internals", issue = "none")]
#![allow(missing_docs)]
#![doc(hidden)]

// for use in alloc, not re-exported in std.
#[rustfmt::skip]
Expand Down Expand Up @@ -31,5 +32,4 @@ mod unicode_data;
///
/// The version numbering scheme is explained in
/// [Unicode 11.0 or later, Section 3.1 Versions of the Unicode Standard](https://www.unicode.org/versions/Unicode11.0.0/ch03.pdf#page=4).
#[stable(feature = "unicode_version", since = "1.45.0")]
pub const UNICODE_VERSION: (u8, u8, u8) = unicode_data::UNICODE_VERSION;
Loading
Loading