Skip to content

Merge subtree update for toolchain nightly-2025-04-01 #312

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10,000 commits into from
Apr 7, 2025
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
a2367dc
Format after patches have been applied
randomPoison Feb 4, 2025
e844f0e
Disable unsupported tests
randomPoison Feb 4, 2025
98b889d
Remove custom TLS implementation for Trusty targets
randomPoison Feb 19, 2025
eada4bc
Update Trusty support to account for recent libstd reorganization
randomPoison Mar 10, 2025
143dcf7
Rewrite comments about dropping and leaking.
kpreid Mar 10, 2025
f521173
Remove unused file
randomPoison Mar 10, 2025
b46ae3e
Rewrite example to not deal with `Copy` at all.
kpreid Mar 10, 2025
47a68bb
Expand and organize `offset_of!` documentation.
kpreid Mar 10, 2025
8cb1b55
Move `offset_of_enum` documentation to unstable book; add `offset_of_…
kpreid Mar 11, 2025
2e6e31c
debug-assert that the size_hint is well-formed in `collect`
scottmcm Mar 11, 2025
43a303d
Target definition for `wasm32-wali-linux-musl` to support the Wasm Linux
arjunr2 Jul 2, 2024
1119688
Auto merge of #136932 - m-ou-se:fmt-width-precision-u16, r=scottmcm
bors Mar 11, 2025
a270d44
Auto merge of #135651 - arjunr2:master, r=davidtwco
bors Mar 11, 2025
a7400e8
std: Mention clone-on-write mutation in Arc<T>
xizheyin Mar 11, 2025
2ef7adc
Stabilize `std::io::ErrorKind::InvalidFilename`
GrigorenkoPV Dec 9, 2024
065a29b
Implement `#[define_opaque]` attribute for functions.
oli-obk Jul 26, 2024
889b773
Enable `f16` tests for `powf`
tgross35 Mar 11, 2025
7785159
Rollup merge of #135987 - hkBst:patch-20, r=joboet
Kobzol Mar 11, 2025
7dfdb32
Rollup merge of #137967 - mustartt:fix-aix-test-hangs, r=workingjubilee
Kobzol Mar 11, 2025
22e5fde
remove must_use from <*const T>::expose_provenance
RalfJung Mar 11, 2025
8511d9f
bump libc to 0.2.171 to fix xous
xobs Mar 11, 2025
8c0e562
Add PeekMut::refresh
HeroicKatora Mar 7, 2025
49b59df
Migrate core to Rust 2024
ehuss Feb 11, 2025
ee6b801
Migrate alloc to Rust 2024
ehuss Feb 11, 2025
a354476
Migrate panic_abort to Rust 2024
ehuss Feb 11, 2025
e41134e
Migrate panic_unwind to Rust 2024
ehuss Feb 12, 2025
b1df87f
Migrate unwind to Rust 2024
ehuss Feb 12, 2025
541f05a
Migrate std to Rust 2024
ehuss Feb 12, 2025
c90c907
Migrate test to Rust 2024
ehuss Feb 12, 2025
239af34
Migrate proc_macro to Rust 2024
ehuss Feb 12, 2025
b8e1c3e
Migrate profiler_builtins to Rust 2024
ehuss Feb 12, 2025
ab9fcb7
Migrated the rustc-std-workspace crates to Rust 2024
ehuss Feb 12, 2025
68ea0b4
Migrate the sysroot crate to Rust 2024
ehuss Feb 12, 2025
d8f103c
Migrate windows-targets to Rust 2024
ehuss Feb 12, 2025
7b2fc7c
Auto merge of #128440 - oli-obk:defines, r=lcnr
bors Mar 11, 2025
a1e7fd4
Remove unnecessary parens
randomPoison Mar 11, 2025
fbcff15
Rollup merge of #138002 - 1c3t3a:fix-std-cfi-violation, r=rcvalle
matthiaskrgr Mar 11, 2025
3a88b13
Add `From<{integer}>` for `f16`/`f128` impls
beetrees Mar 11, 2025
76976e8
Simulate OOM for the `try_oom_error` test
cuviper Mar 11, 2025
ac3ede6
Deduplicate platform stdio types
thaliaarchi Feb 9, 2025
7d08159
Auto merge of #138366 - matthiaskrgr:rollup-cn16m7q, r=matthiaskrgr
bors Mar 11, 2025
6e3424a
Fix `UserRef<[T]>::copy_to_enclave_vec`
thaliaarchi Feb 26, 2025
f152d09
intrinsics: remove unnecessary leading underscore from argument names
RalfJung Mar 12, 2025
d0620fa
Rollup merge of #138161 - HeroicKatora:heap-peek-mut-refresh, r=dtolnay
matthiaskrgr Mar 12, 2025
bd67b00
Fix panic handler for cygwin
Berrysoft Mar 12, 2025
57485fa
Reduce FormattingOptions to 64 bits.
m-ou-se Mar 12, 2025
0424c57
Rollup merge of #138269 - Ayush1325:uefi-fs-permission, r=joboet
matthiaskrgr Mar 12, 2025
3e60295
Rollup merge of #138387 - RalfJung:intrinsic-arg-names, r=oli-obk
matthiaskrgr Mar 12, 2025
68f6d81
Rollup merge of #134076 - GrigorenkoPV:InvalidFilename, r=joboet
Manishearth Mar 12, 2025
673c18b
Remove `feature = "hash_raw_entry"`
cuviper Feb 26, 2025
b296531
Auto merge of #138416 - Manishearth:rollup-fejor9p, r=Manishearth
bors Mar 13, 2025
837ce42
Update library/core/src/intrinsics/mod.rs
DiuDiu777 Mar 13, 2025
71b93d0
Update library/core/src/intrinsics/mod.rs
DiuDiu777 Mar 13, 2025
4b0a0e3
Update library/core/src/intrinsics/mod.rs
DiuDiu777 Mar 13, 2025
983420c
Allow more top-down inlining for single-BB callees
scottmcm Mar 7, 2025
91d07fe
atomic intrinsics: clarify which types are supported and (if applicab…
RalfJung Mar 12, 2025
007b229
Rollup merge of #136842 - randomPoison:trusty-libstd-v3, r=ChrisDenton
matthiaskrgr Mar 13, 2025
b60598f
Rollup merge of #137355 - thaliaarchi:io-optional-methods/sgx, r=Chri…
matthiaskrgr Mar 13, 2025
5806ba3
Rollup merge of #138162 - ehuss:library-2024, r=cuviper
matthiaskrgr Mar 13, 2025
746a460
Rollup merge of #138370 - cuviper:try_oom_error, r=jhpratt
matthiaskrgr Mar 13, 2025
6a0e784
Rollup merge of #138343 - tgross35:f16-powf, r=joboet
matthiaskrgr Mar 13, 2025
48b8ba3
Rollup merge of #138356 - betrusted-io:bump-libc-0.2.171, r=jhpratt
matthiaskrgr Mar 13, 2025
3d287b4
Auto merge of #138450 - matthiaskrgr:rollup-4im25vf, r=matthiaskrgr
bors Mar 13, 2025
a1da920
Stablize feature `anonymous_pipe`
NobodyXu Mar 1, 2025
7180a30
Mv os-specific trait impl of `Pipe*` into `std::os::*`
NobodyXu Mar 7, 2025
a2174e6
Remove usage of legacy scheme paths on RedoxOS
bjorn3 Mar 13, 2025
bf96539
Rollup merge of #138425 - cuviper:remove-hash_raw_entry, r=jhpratt
matthiaskrgr Mar 13, 2025
ad95c16
Remove has_redox_scheme
bjorn3 Mar 13, 2025
2fb35ea
Deny impls for BikeshedGuaranteedNoDrop
compiler-errors Mar 14, 2025
c6020bf
Auto merge of #138157 - scottmcm:inline-more-tiny-things, r=oli-obk
bors Mar 14, 2025
54bf3e4
Merge from rustc
Mar 14, 2025
9120666
Rollup merge of #136001 - hkBst:patch-21, r=cuviper
jhpratt Mar 14, 2025
8535358
Rollup merge of #136230 - clarfonthey:net-memory-layout-assumptions, …
jhpratt Mar 14, 2025
bc52fcd
Rollup merge of #137870 - karolzwolak:lazylock-const-hashmaps-137566,…
jhpratt Mar 14, 2025
8c12431
Rollup merge of #138398 - RalfJung:atomic-intrinsics-provenance, r=nn…
jhpratt Mar 14, 2025
3c6161f
Rollup merge of #138457 - bjorn3:redox_scheme_paths, r=Noratrieb
jhpratt Mar 14, 2025
0b766fc
Auto merge of #138480 - jhpratt:rollup-y3b8wu5, r=jhpratt
bors Mar 14, 2025
9f7cc64
Forward `stream_position` in `Arc<File>` as well
tbu- Mar 14, 2025
54e9d10
Auto merge of #137424 - Ayush1325:uefi-path-node, r=nicholasbishop,cu…
bors Mar 14, 2025
1e956e8
Rollup merge of #138353 - RalfJung:expose-provenance-must-use, r=ibra…
fmease Mar 14, 2025
6eec9b4
Rollup merge of #138477 - compiler-errors:deny-bikeshed-guaranteed-no…
fmease Mar 14, 2025
924a1b7
Auto merge of #138506 - fmease:rollup-ve4h2eq, r=fmease
bors Mar 14, 2025
e3f0b00
Merge from rustc
Mar 15, 2025
0c57aa9
Optimize multi-char string patterns
yotamofek Mar 15, 2025
2c59c90
core/slice: Mark some `split_off` variants unstably const
okaneco Mar 15, 2025
3f4f42a
Rollup merge of #133055 - kpreid:clone-uninit-doc, r=Mark-Simulacrum
jieyouxu Mar 16, 2025
b65e296
Rollup merge of #137890 - lolbinarycat:docs-bufreader-peek-consume, r…
jieyouxu Mar 16, 2025
0e61dbc
Rollup merge of #138082 - thaliaarchi:slice-cfg-not-test, r=thomcc
jieyouxu Mar 16, 2025
38b0b10
Rollup merge of #138275 - folkertdev:expose-is-s390x-feature-detected…
jieyouxu Mar 16, 2025
f708a67
Rollup merge of #138303 - DiuDiu777:rc-fix, r=Mark-Simulacrum
jieyouxu Mar 16, 2025
7098dd7
Rollup merge of #138309 - DiuDiu777:intrinsic-doc-fix, r=thomcc
jieyouxu Mar 16, 2025
8112a0c
Rollup merge of #138323 - kpreid:offset-of-doc, r=Mark-Simulacrum
jieyouxu Mar 16, 2025
c5f575e
Rollup merge of #138329 - scottmcm:assert-hint, r=Mark-Simulacrum
jieyouxu Mar 16, 2025
5db6df4
Merge from rustc
Mar 16, 2025
59a117d
Rollup merge of #135080 - Enselic:debug-ptr-metadata, r=thomcc
jieyouxu Mar 16, 2025
3a03249
Rollup merge of #137492 - nabijaczleweli:master, r=thomcc
jieyouxu Mar 16, 2025
1cb95f4
Rollup merge of #137538 - tapanprakasht:fix-doc-path, r=thomcc
jieyouxu Mar 16, 2025
63ce115
Add test for new proc_macro literal methods
GuillaumeGomez Mar 16, 2025
976d3e0
Auto merge of #138537 - yotamofek:pr/lib/multi-char-pattern, r=jhpratt
bors Mar 16, 2025
2b74fa0
Make ControlFlow must_use
compiler-errors Feb 22, 2025
52c46ac
uefi: Add OwnedEvent abstraction
Ayush1325 Mar 8, 2025
7edc9a4
make `_Unwind_Action` a type alias, not enum
Noratrieb Mar 16, 2025
ab08b6d
Exclude `literal-escaper` from `library` workspace
GuillaumeGomez Mar 16, 2025
e2c1110
Auto merge of #138363 - beetrees:f16-f128-integer-convert, r=Amanieu
bors Mar 17, 2025
961d0dd
Rollup merge of #136293 - hkBst:patch-32, r=Amanieu
jhpratt Mar 17, 2025
8aa941d
Rollup merge of #136359 - hkBst:ptr_copy_docs, r=Amanieu
jhpratt Mar 17, 2025
4ac135d
Rollup merge of #138573 - Noratrieb:no-unsound-bad-bonk-bonk, r=worki…
jhpratt Mar 17, 2025
35e5e82
Auto merge of #138583 - jhpratt:rollup-h699hty, r=jhpratt
bors Mar 17, 2025
c5b628f
Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value_retriev…
jhpratt Mar 17, 2025
edd0a06
Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet
jhpratt Mar 17, 2025
93124fe
Rollup merge of #137793 - NobodyXu:stablise-annoymous-pipe, r=joshtri…
jhpratt Mar 17, 2025
bc5baf1
Rollup merge of #138341 - xizheyin:issue-138322, r=joboet
jhpratt Mar 17, 2025
cbaf83b
Mark imports of #[rustc_std_internal_symbol] items with this attribute
bjorn3 Dec 2, 2023
8902bd3
Rollup merge of #137449 - compiler-errors:control-flow, r=Amanieu,lni…
matthiaskrgr Mar 17, 2025
94c5a06
move new section into platform-specific behavior, as it is unix-specific
RalfJung Mar 17, 2025
d2d682f
Auto merge of #127173 - bjorn3:mangle_rustc_std_internal_symbol, r=we…
bors Mar 17, 2025
308c991
Implement read_buf for Hermit
thaliaarchi Feb 5, 2025
ba1640a
Update test for SGX now implementing read_buf
thaliaarchi Mar 18, 2025
be034da
uefi: fs: Implement exists
Ayush1325 Mar 14, 2025
dda1e43
Optimize io::Write::write_fmt for constant strings
thaliaarchi Mar 1, 2025
24b3800
Auto merge of #135368 - Ayush1325:uefi-fs-2, r=jhpratt,nicholasbishop
bors Mar 18, 2025
a8d58b9
Rollup merge of #136320 - RalfJung:exit, r=the8472
matthiaskrgr Mar 18, 2025
ae49cc6
Rollup merge of #138301 - thaliaarchi:io-optional-methods/hermit, r=t…
matthiaskrgr Mar 18, 2025
2eaf1cb
Remove the regex dependency from coretests
bjorn3 Mar 18, 2025
3d1e854
Apply suggestions from code review
hkBst Mar 18, 2025
459ac1d
Revert "Rollup merge of #136355 - GuillaumeGomez:proc-macro_add_value…
RalfJung Mar 18, 2025
b8de9b2
std: uefi: fs: Implement mkdir
Ayush1325 Mar 18, 2025
3b5d775
Add stack overflow handler for cygwin
Berrysoft Mar 12, 2025
6a4c8e7
Test windows file type equality
ChrisDenton Mar 18, 2025
416eda0
Fix build failure on Trusty
taiki-e Mar 18, 2025
17fd68e
Windows: fix FileType PartialEq implementation
ChrisDenton Mar 18, 2025
e8cdf43
use then
bend-n Mar 19, 2025
a96a131
Merge commit 'c14f2fc3eb69c164d8bf8d36d91ebd60bd5261e6' into sync-fro…
calebzulawski Mar 19, 2025
f03a8ae
Rollup merge of #136177 - hkBst:patch-24, r=ibraheemdev
matthiaskrgr Mar 19, 2025
fb25fee
Rollup merge of #138654 - bjorn3:remove_coretests_regex, r=tgross35
matthiaskrgr Mar 19, 2025
b840717
Rollup merge of #138661 - RalfJung:revert-rustc-dev-breakage, r=petro…
matthiaskrgr Mar 19, 2025
edd6f85
Rollup merge of #138684 - bend-n:use_then, r=jhpratt
matthiaskrgr Mar 19, 2025
9d668f3
Auto merge of #138653 - matthiaskrgr:rollup-fwwqmr7, r=matthiaskrgr
bors Mar 19, 2025
b2f2bbd
Allow spawning threads after TLS destruction.
m-ou-se Mar 19, 2025
1cd895c
Auto merge of #138693 - matthiaskrgr:rollup-ejq8mwp, r=matthiaskrgr
bors Mar 19, 2025
4e1dacc
Rollup merge of #135394 - clarfonthey:uninit-slices-part-2, r=tgross35
matthiaskrgr Mar 19, 2025
391c25a
Rollup merge of #137051 - thaliaarchi:io-optional-impls/empty, r=m-ou-se
matthiaskrgr Mar 19, 2025
5d5650a
Rollup merge of #138540 - okaneco:const_split_off_first_last, r=m-ou-se
matthiaskrgr Mar 19, 2025
d1c4b73
Add chaining versions of lt/le/gt/ge and use them in tuple PartialOrd
scottmcm Mar 6, 2025
3c384b4
add rustc_macro_edition_2021
jdonszelmann Mar 19, 2025
6bf0f52
Pin tests.
m-ou-se Mar 19, 2025
ece839e
Add cfg(not(bootstrap)) for new test.
m-ou-se Mar 19, 2025
22b3962
Document results of non-positive logarithms
syvb Mar 19, 2025
1f27619
Auto merge of #138687 - calebzulawski:sync-from-portable-simd-2025-03…
bors Mar 20, 2025
7d91beb
Merge from rustc
Mar 20, 2025
75d30c0
wasm: increase default thread stack size to 1 MB
surban Mar 20, 2025
c288ae3
Fix Thread::set_name on cygwin
Berrysoft Mar 21, 2025
677a3a0
Rollup merge of #137357 - syvb:sv/log-docs, r=tgross35
matthiaskrgr Mar 21, 2025
70a0931
Rollup merge of #138650 - thaliaarchi:io-write-fmt-known, r=ibraheemdev
matthiaskrgr Mar 21, 2025
4487585
Recognise new IPv6 non-global range from RFC9602
bardiharborow Mar 21, 2025
6857c8d
catch_unwind intrinsic: document return value
RalfJung Mar 21, 2025
65f34f8
Merge from rustc
RalfJung Mar 21, 2025
5ab8085
Rollup merge of #138717 - jdonszelmann:pin-macro, r=WaffleLapkin
matthiaskrgr Mar 21, 2025
dfe564a
Add todo comment on using a niche type for fmt flags.
m-ou-se Mar 21, 2025
73795ed
Add test for Formatter flags.
m-ou-se Mar 21, 2025
475704b
remove remnants of const_box feature
RalfJung Mar 21, 2025
66cad61
Allow inlining for `Atomic*::from_ptr`
tgross35 Mar 21, 2025
d630fb7
Revert "Stabilize file_lock"
moxian Mar 22, 2025
368b322
Implement `UniqueArc`
frank-king Nov 28, 2024
3ad9449
Make UniqueArc invariant for soundness
frank-king Mar 3, 2025
242f369
Add more APIs for UniqueArc
frank-king Mar 3, 2025
bfe6c98
Remove `PartialEq::ne` for `UniqueArc`
frank-king Mar 6, 2025
f071f05
Implement optional methods for unsupported stdio
thaliaarchi Feb 7, 2025
ec6b587
Implement exact reads for StdinRaw
thaliaarchi Feb 9, 2025
6cf92ed
Use unit structs for stateless stdio
thaliaarchi Feb 18, 2025
2e8b632
Auto merge of #136974 - m-ou-se:fmt-options-64-bit, r=scottmcm
bors Mar 22, 2025
2d77f88
Rollup merge of #138490 - tbu-:pr_arc_file_pos, r=Noratrieb
matthiaskrgr Mar 22, 2025
1c0db45
Rollup merge of #138673 - taiki-e:trusty-fix, r=Noratrieb
matthiaskrgr Mar 22, 2025
dce403d
Rollup merge of #138609 - Berrysoft:cygwin-stackoverflow, r=joboet
matthiaskrgr Mar 22, 2025
937e6c6
Rollup merge of #138773 - RalfJung:catch_unwind_docs, r=jhpratt
matthiaskrgr Mar 22, 2025
0231b79
Rollup merge of #138804 - tgross35:atomic-from-ptr-inline, r=RalfJung
matthiaskrgr Mar 22, 2025
771d245
std: move process implementations to `sys`
joboet Feb 12, 2025
cbe65be
core: optimize `RepeatN`
joboet Mar 22, 2025
ebee724
Auto merge of #138830 - matthiaskrgr:rollup-gaxgfwl, r=matthiaskrgr
bors Mar 22, 2025
50349e0
Rollup merge of #138294 - paulmenage:test-panic-unwind, r=bjorn3
matthiaskrgr Mar 22, 2025
46a983c
Rollup merge of #138765 - Berrysoft:cygwin-thread-name, r=joboet
matthiaskrgr Mar 22, 2025
e9af841
Rollup merge of #138822 - moxian:unlock, r=joshtriplett
matthiaskrgr Mar 22, 2025
7555d0c
Auto merge of #138831 - matthiaskrgr:rollup-3t0dqiz, r=matthiaskrgr
bors Mar 22, 2025
ec8b300
Auto merge of #138841 - matthiaskrgr:rollup-bfkls57, r=matthiaskrgr
bors Mar 22, 2025
b32190d
Auto merge of #138833 - joboet:optimize-repeat-n, r=thomcc
bors Mar 23, 2025
fb22f8c
Auto merge of #136769 - thaliaarchi:io-optional-methods/stdio, r=joboet
bors Mar 23, 2025
cba647b
fix typo
TaKO8Ki Mar 23, 2025
25bf314
Auto merge of #136929 - joboet:move_process_pal, r=Mark-Simulacrum
bors Mar 23, 2025
06827eb
Rollup merge of #136040 - mu001999-contrib:cleanup, r=Mark-Simulacrum
compiler-errors Mar 23, 2025
bef63c6
Rollup merge of #138236 - Ayush1325:uefi-event, r=petrochenkov
compiler-errors Mar 23, 2025
a452bf7
Rollup merge of #138631 - thaliaarchi:sgx-read-buf-test, r=workingjub…
compiler-errors Mar 23, 2025
b468e9b
Rollup merge of #138667 - Ayush1325:uefi-mkdir, r=joboet
compiler-errors Mar 23, 2025
d8e30c8
Rollup merge of #138854 - TaKO8Ki:invalid-extern-fn-body, r=compiler-…
compiler-errors Mar 23, 2025
64a43ec
Stop using specialization for this
scottmcm Mar 23, 2025
566b6ff
Update `compiler-builtins` to 0.1.152
tgross35 Mar 20, 2025
bff9773
Rollup merge of #138135 - scottmcm:chaining-ord, r=Mark-Simulacrum
jhpratt Mar 24, 2025
357e74e
Rollup merge of #138671 - ChrisDenton:filetype, r=joshtriplett
jhpratt Mar 24, 2025
f2ae9c4
Rollup merge of #138728 - tgross35:update-builtins, r=tgross35
jhpratt Mar 24, 2025
56d3ec6
Trusty: Fix build for anonymous pipes and std::sys::process
thaliaarchi Mar 24, 2025
573d3e1
std: fs: uefi: Implement canonicalize
Ayush1325 Mar 18, 2025
359927d
std: fs: uefi: Make lstat call stat
Ayush1325 Mar 18, 2025
571534f
std: fs: uefi: Implement OpenOptions
Ayush1325 Mar 18, 2025
2b695f8
Rollup merge of #138662 - Ayush1325:uefi-fs-1, r=nicholasbishop,petro…
matthiaskrgr Mar 24, 2025
23e18fa
Rollup merge of #138800 - RalfJung:const_box, r=oli-obk
matthiaskrgr Mar 24, 2025
fdca24f
allow wasm_c_abi in proc_macro bridge
RalfJung Mar 22, 2025
a01bc74
Rollup merge of #135745 - bardiharborow:std/net/rfc9602, r=cuviper
matthiaskrgr Mar 25, 2025
af2eed8
Override PartialOrd methods for bool
DaniPopes Mar 25, 2025
fd85da0
Auto merge of #138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
bors Mar 26, 2025
87a2680
Rollup merge of #138875 - thaliaarchi:trusty-build, r=randomPoison,sa…
jhpratt Mar 26, 2025
51a22a0
Rollup merge of #138945 - DaniPopes:override-partialord-bool, r=scottmcm
jhpratt Mar 26, 2025
b8b3b41
Auto merge of #138956 - jhpratt:rollup-6g7ppwd, r=jhpratt
bors Mar 26, 2025
b1c4064
Fix typo in error message
thaliaarchi Mar 16, 2025
274364d
Change the syntax of the internal `weak!` macro
madsmtm Mar 26, 2025
71da267
Use cfg_match in core
CAD97 Mar 26, 2025
da51ce8
std: get rid of pre-Vista fallback code
joboet Mar 27, 2025
a6e0dd2
Auto merge of #138702 - m-ou-se:spawn-in-atexit, r=Mark-Simulacrum
bors Mar 27, 2025
1e19bf2
Rollup merge of #139021 - joboet:pre-vista-fallback, r=ChrisDenton
jhpratt Mar 28, 2025
e419cca
Put pin!() tests in the right file.
m-ou-se Mar 28, 2025
725202a
Fix formatting nit in process.rs
barafael Mar 28, 2025
ade88f1
std: Explain range follows standard half-open range in `offset`
xizheyin Mar 28, 2025
84f9d7b
`io::Take`: avoid new `BorrowedBuf` creation in some case
a1phyr Mar 28, 2025
7d47b07
std: deduplicate `errno` accesses
joboet Mar 28, 2025
b2f7ca7
Rollup merge of #138976 - xizheyin:issue-138969, r=RalfJung
matthiaskrgr Mar 28, 2025
f125ad2
Rollup merge of #139052 - m-ou-se:pin-macro-tests, r=joboet
matthiaskrgr Mar 28, 2025
c430e62
Rollup merge of #139058 - barafael:patch-1, r=joboet
matthiaskrgr Mar 28, 2025
8384b56
Rollup merge of #139065 - RalfJung:miri-sync, r=RalfJung
matthiaskrgr Mar 28, 2025
242ff95
Rollup merge of #139069 - a1phyr:better_take, r=joboet
matthiaskrgr Mar 28, 2025
235fa56
Add a test for `Weak` created from `UniqueArc::downgrade`
frank-king Mar 29, 2025
68ccc34
Add more tests for pin!().
m-ou-se Mar 28, 2025
796cbf6
Rollup merge of #138757 - rust-wasi-web:wasi-thread-stack-size, r=ale…
matthiaskrgr Mar 29, 2025
bdbe488
Rollup merge of #138988 - madsmtm:internal-weak-macro-syntax, r=ibrah…
matthiaskrgr Mar 29, 2025
089d160
Rollup merge of #139097 - m-ou-se:pin-tests, r=WaffleLapkin
matthiaskrgr Mar 29, 2025
8db3865
Start using with_native_path in std::sys::fs
ChrisDenton Mar 22, 2025
af67f7a
Auto merge of #133572 - frank-king:feature/unique_arc, r=Amanieu
bors Mar 29, 2025
c05707b
Rollup merge of #137928 - RalfJung:const_cell, r=m-ou-se
matthiaskrgr Mar 29, 2025
3fbe016
Rollup merge of #138832 - ChrisDenton:with_native_path, r=joboet
matthiaskrgr Mar 29, 2025
bf288d5
Rollup merge of #139081 - joboet:errno_dedup, r=Noratrieb
matthiaskrgr Mar 29, 2025
2389f01
Auto merge of #139119 - matthiaskrgr:rollup-7l2ri0f, r=matthiaskrgr
bors Mar 29, 2025
098c62c
Simplify expansion for format_args!().
m-ou-se Mar 30, 2025
18e0312
Delete unreacheable `#[rustc_on_unimplemented]`
mejrs Mar 30, 2025
76087e8
use `diagnostic::on_unimplemented` instead
mejrs Mar 30, 2025
deff699
Auto merge of #139131 - m-ou-se:format-args-struct-expr, r=Mark-Simul…
bors Mar 30, 2025
4b30326
Rollup merge of #139141 - mejrs:on_unimpl, r=Noratrieb
jhpratt Mar 30, 2025
4c302b6
Remove mention of `exhaustive_patterns` from `never` docs
mejrs Mar 30, 2025
c1a4825
Auto merge of #139154 - jhpratt:rollup-rv8f915, r=jhpratt
bors Mar 31, 2025
c60865a
Rollup merge of #139157 - mejrs:never, r=Noratrieb
matthiaskrgr Mar 31, 2025
0e1cd3b
Merge from 0b45675cfcec57f30a3794e1a1e18423aa9cf200 with conflicts
Apr 2, 2025
9eaa216
Update toolchain to 2025-04-01
Apr 2, 2025
08a2823
Update Kani version to bfa2a98f80a300396f9593cce2b8ce43e77c354f
Apr 2, 2025
db73992
Resolve conflicts
tautschnig Apr 3, 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
38 changes: 2 additions & 36 deletions library/Cargo.lock

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

1 change: 0 additions & 1 deletion library/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ members = [
]

exclude = [
"literal-escaper",
# stdarch has its own Cargo workspace
"stdarch",
"windows_targets"
Expand Down
2 changes: 1 addition & 1 deletion library/alloc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ bench = false

[dependencies]
core = { path = "../core", public = true }
compiler_builtins = { version = "=0.1.151", features = ['rustc-dep-of-std'] }
compiler_builtins = { version = "=0.1.152", features = ['rustc-dep-of-std'] }
safety = { path = "../contracts/safety" }

[features]
Expand Down
11 changes: 8 additions & 3 deletions library/alloc/src/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,28 @@ use core::ptr::{self, NonNull};

unsafe extern "Rust" {
// These are the magic symbols to call the global allocator. rustc generates
// them to call `__rg_alloc` etc. if there is a `#[global_allocator]` attribute
// them to call the global allocator if there is a `#[global_allocator]` attribute
// (the code expanding that attribute macro generates those functions), or to call
// the default implementations in std (`__rdl_alloc` etc. in `library/std/src/alloc.rs`)
// otherwise.
// The rustc fork of LLVM 14 and earlier also special-cases these function names to be able to optimize them
// like `malloc`, `realloc`, and `free`, respectively.
#[rustc_allocator]
#[rustc_nounwind]
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
fn __rust_alloc(size: usize, align: usize) -> *mut u8;
#[rustc_deallocator]
#[rustc_nounwind]
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize);
#[rustc_reallocator]
#[rustc_nounwind]
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
fn __rust_realloc(ptr: *mut u8, old_size: usize, align: usize, new_size: usize) -> *mut u8;
#[rustc_allocator_zeroed]
#[rustc_nounwind]
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8;

#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
static __rust_no_alloc_shim_is_unstable: u8;
}

Expand Down Expand Up @@ -357,6 +360,7 @@ 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.
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
fn __rust_alloc_error_handler(size: usize, align: usize) -> !;
}

Expand Down Expand Up @@ -423,6 +427,7 @@ pub mod __alloc_error_handler {
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.
#[cfg_attr(not(bootstrap), rustc_std_internal_symbol)]
static __rust_alloc_error_handler_should_panic: u8;
}

Expand Down
12 changes: 4 additions & 8 deletions library/alloc/src/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1149,9 +1149,8 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
///
/// [memory layout]: self#memory-layout
#[unstable(feature = "allocator_api", issue = "32838")]
#[rustc_const_unstable(feature = "const_box", issue = "92521")]
#[inline]
pub const unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self {
pub unsafe fn from_raw_in(raw: *mut T, alloc: A) -> Self {
Box(unsafe { Unique::new_unchecked(raw) }, alloc)
}

Expand Down Expand Up @@ -1203,9 +1202,8 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
/// [memory layout]: self#memory-layout
#[unstable(feature = "allocator_api", issue = "32838")]
// #[unstable(feature = "box_vec_non_null", reason = "new API", issue = "130364")]
#[rustc_const_unstable(feature = "const_box", issue = "92521")]
#[inline]
pub const unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Self {
pub unsafe fn from_non_null_in(raw: NonNull<T>, alloc: A) -> Self {
// SAFETY: guaranteed by the caller.
unsafe { Box::from_raw_in(raw.as_ptr(), alloc) }
}
Expand Down Expand Up @@ -1550,9 +1548,8 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
/// to call it as `Box::allocator(&b)` instead of `b.allocator()`. This
/// is so that there is no conflict with a method on the inner type.
#[unstable(feature = "allocator_api", issue = "32838")]
#[rustc_const_unstable(feature = "const_box", issue = "92521")]
#[inline]
pub const fn allocator(b: &Self) -> &A {
pub fn allocator(b: &Self) -> &A {
&b.1
}

Expand Down Expand Up @@ -1639,8 +1636,7 @@ impl<T: ?Sized, A: Allocator> Box<T, A> {
/// let bar = Pin::from(foo);
/// ```
#[stable(feature = "box_into_pin", since = "1.63.0")]
#[rustc_const_unstable(feature = "const_box", issue = "92521")]
pub const fn into_pin(boxed: Self) -> Pin<Self>
pub fn into_pin(boxed: Self) -> Pin<Self>
where
A: 'static,
{
Expand Down
Loading
Loading