Stabilize #[coverage] attribute#130766
Conversation
|
r? @nnethercote rustbot has assigned @nnethercote. Use |
|
Some changes occurred in coverage tests. cc @Zalathar rust-analyzer is developed in its own repository. If possible, consider making this change to rust-lang/rust-analyzer instead. cc @rust-lang/rust-analyzer |
dc49513 to
4b64d0d
Compare
This comment has been minimized.
This comment has been minimized.
4b64d0d to
2a11c1d
Compare
This comment has been minimized.
This comment has been minimized.
2a11c1d to
8037f0c
Compare
This comment has been minimized.
This comment has been minimized.
|
I will forward this to a more appropriate reviewer: r? @Zalathar |
|
FWIW, I'm currently working on fixing the test errors-- my computer kept crashing which made it difficult to run all the tests. Unfortunately a lot of coverage tests are now off-by-one due to the removal of the line enabling the feature, and they're all going to have to be re-blessed. |
8037f0c to
53c467b
Compare
This comment has been minimized.
This comment has been minimized.
|
Appear to be getting very weird crashes with the debuginfo tests. From the backtrace: BacktraceI'm just going to run Yeah, okay. It might also be a difference in Python 3.12 that broke something too, but either way, the debuginfo tests show up as failing on my machine and the coverage tests show up as passing also, so, something weird is afoot. |
|
cc @rust-lang/lang |
I'm not exactly sure what debuginfo tests want, but bootstrap and other parts of compiletest AFAIK assumes Python 3.10 exactly, not 3.9 or 3.12. |
That feels worth documenting somewhere, considering how on my end that just shows up as LLVM hard-crashing and not as a wrong Python version. Like, maybe even worth having a virtualenv setup for the repo just to guarantee the right Python version is being used. |
|
I'm not sure if that's the root cause of your crashes, but if it is, then yes |
|
Well, I'm currently installing 3.10, so, we'll hopefully find out! |
|
Actually sorry minor correction: it's not bootstrap that expects Python 3.10 (as I see there is a toolstate check that goes through 3.10+ as well), but something in compiletest (maybe debuginfo tests?) expect Python 3.10 dll to be available. EDIT: I remembered what it is, it's lldb debuginfo tests, that requires Python 3.10 dll to be in the |
|
|
You linked #128392 twice, which I assume is a mistake. |
|
Yeah, I'm giving up on getting the debuginfo tests working. But I'll poke around to see if I can get the other tests to replicate their issues. I would have to downgrade my system Python version, since the tests explicitly link |
|
It seems that even running the test suite via docker, I can't replicate the latest errors. Running Looks like I've stumbled my way into the realm of cursed compiler testing issues that I don't know how to fix. |
…-attribute, r=wesleywiser" This reverts commit 87c2f9a.
b102eb97611 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
09ccac89813 Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton
9a5f11b6bdc Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt
808a28bb2e5 Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35
038b55923da Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyo
afb7906d983 Rollup merge of #134143 - nyurik:err-nul, r=dtolnay
09f7f735638 intrinsics: deprecate calling them via the unstable std::intrinsics path
b1bab8efb30 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
6b3eb0e11bc Update compiler-builtins to 0.1.143
c26fde2487d Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJung
d4e61054fa0 Enforce syntactical stability of const traits in HIR
8cba3108c65 Update compiler-builtins to 0.1.141
72304171451 add comments explaining main thread identification
de1528ca1d5 std: lazily allocate the main thread handle
7d65632251e Revert "Remove the Arc rt::init allocation for thread info"
1938ccffee3 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgr
e57af4cc513 Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross35
4b1f813eb19 Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
3a1522edb09 Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhpratt
d68853badd5 Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc
2583e5e939e Add another `Vec::splice` example
e53c5c9c5db uefi: helpers: Introduce OwnedDevicePath
f17b1628cec Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross35
41ac367ffc7 path: Move is_absolute check to sys::path
44a9def9f39 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
242154d7a56 Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboet
d76bc765c20 Update the explanation for why we use box_new in vec!
a8314e3425d Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
736f71506f1 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrum
f1fd86b54fa Add inherent versions of MaybeUninit methods for slices
50cffd12adb Add #[inline] to copy_from_slice
221253c726d Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors
8853a8d51d2 Make UniqueRc invariant for soundness
5c997f2acdc avoid nesting the user-defined main so deeply on the stack
1f09d97cbf0 use a single large catch_unwind in lang_start
3093827de07 update and clarify StructuralPartialEq docs
e2f8a108b9a Rename `pos` to `position`
c6dff32f287 Convert `struct FromBytesWithNulError` into enum
e47fc56aa4a Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhpratt
d8923fc714a Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet
9709d9bad5d Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton
849afc40e34 Improve the safety documentation on new_unchecked
2add857ca03 Use `NonNull::without_provenance` within the standard library
2764b7e14ab alloc: remove unsound `IsZero` for raw pointers
c577821efe2 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross35
7dbc3bcab16 Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
ab71837c330 Update a bunch of library types for MCP807
4052574937d Initial fs module for uefi
946c19e04cb Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev
01372432cbb Rollup merge of #134619 - hkBst:patch-7, r=jhpratt
c22148b767f Fix `proc_macro::quote!` for raw ident
c421c1a946a Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
c283b86cc76 Used pthread name functions returning result for FreeBSD and DragonFly
668cb10cba5 Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
f3f0119335a Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors
d7dd4a6bc58 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratt
a34edcbbb60 Remove some unnecessary `.into()` calls
661c077ae5b fmt
9d29620a31a update cfg(bootstrap)
60fa1562951 update version placeholders
c0e33bf31ca add missing provenance APIs on NonNull
830ee4bb4d6 Rollup merge of #135176 - kornelski:env-example, r=cuviper
790735e2a6d Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-se
b3fa835baa8 Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu
3987eb22905 Avoid naming variables `str`
7c71ffcfa97 Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt
6536ec2d9b0 Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee
e44be94c9eb More compelling env_clear() examples
5db91e58005 Rollup merge of #135153 - crystalstall:master, r=workingjubilee
cb8cf0fa5d0 Add support for wasm exception handling to Emscripten target
a1da07b21df chore: remove redundant words in comment
b2b55f6bdae Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb
0bd45849186 [generic_assert] Constify methods used by the formatting system
c200a189c66 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratt
e03872bb30a Mark `slice::reverse` unstably const
0e581b92097 Clarified the documentation on core::iter::from_fn and core::iter::successors
320482169fb Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubilee
e7ca1049aa7 Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum
8ffc4e84463 Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
fee42729979 Add doc aliases for `libm` and IEEE names
f4b33a3e46f library: fix adler{-> 2}.debug
2e05379f866 add regression test for unsound Flatten/FlatMap specialization
9467350f844 do not in-place-iterate over flatmap/flatten
6346a915b55 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee
3ef2891d388 Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee
24366d36dce Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors
307f559c6c4 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross35
0b2fd26bdc8 Bump backtrace to 0.3.75
3d624d66f11 Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee
6137ccc52ac sync to actual dep verions of backtrace
318269a33f4 turn rustc_box into an intrinsic
bd743cec036 Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgr
e74ac082b32 Rollup merge of #134241 - liigo:patch-16, r=dtolnay
53e41a6a5a7 Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35
366ac34fa96 Fix UWP build
cd6c49f49b5 Bump backtrace to rust-lang/backtrace-rs@4d7906b
98ee6c8c68c Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472
ffaa2184220 path in detail
aa0e6e8bd1a Move some things to `std::sync::poison` and reexport them in `std::sync`
b8087f526a0 fix doc for missing Box allocator consistency
40434b2c26c Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr
32614550fb9 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
d5f262cc53a Rename the internal simpler `quote` macro to `minimal_quote`
6c8e14169a9 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb
33b4b03fe6a Try to write the panic message with a single `write_all` call
8795c3547eb std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
fb895251bd9 Avoid use of LFS64 symbols on Emscripten
ed5888769c6 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
c1b709541e2 Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank
847cd898006 Remove qualification of `std::cmp::Ordering` in `Ord` doc
e38fc1b0843 Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm
4f7e5a623be Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgr
aff952b674c char to_digit: avoid unnecessary casts to u64
9e0a6b0a3c4 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJung
b003e5812c2 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross35
8b8fd2d5855 Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhpratt
d487d12d362 Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcm
bfe0d0f6000 fix doc for read write unaligned in zst operation
99ca6ca7611 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
316349488dc ptr docs: make it clear that we are talking only about memory accesses
b7b6a5d0649 Make slice::as_flattened_mut unstably const
0b1d0d95c67 Fix ptr::from_ref documentation example comment
f26cc531ab6 Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
b7620c7c1d9 Rollup merge of #134870 - geofft:patch-1, r=jhpratt
9adc4a11633 fix: typos
f5e949debed Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35
309cb6599b7 Fix sentence fragment in `pin` module docs
d086afd99b8 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
15137457840 Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc
5807d879643 Rollup merge of #134832 - tgross35:update-builtins, r=tgross35
c6c4ae7c842 Tidy up bigint mul methods
a9e94810233 Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay
0e23de8b41d Update library/alloc/tests/sort/tests.rs
c94032f1779 Update `compiler-builtins` to 0.1.140
a41400395c5 Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
764af3bad24 Override `carrying_mul_add` in cg_llvm
18ee1da10b9 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
559fdf03383 Fix typos
acfeed3d3df Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu
5fb4df97165 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum
68b148643ac Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum
6f23131fac2 Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrum
e290e70bdc1 Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross35
5cf455ff60d Fix renaming symlinks on Windows
0a3943e9496 Fix mistake in windows file open
051ece2a59c Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross35
3a2ca84c46f Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum
3cbbd43963e Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
1e8a843e7fd Rollup merge of #134728 - deltragon:barrier-doc, r=tgross35
9b632c12457 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcc
a9b12533594 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
7d72bc6894b Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
c988c5c469a docs: inline `core::ffi::c_str` types to `core::ffi`
f3a43e876b3 docs: inline `std::ffi::c_str` types to `std::ffi`
ef9344328ea unwinding: bump version to fix asm
b5a7e1cb2c3 Impl FromIterator for tuples with arity 1-12
97a492b242e Fix formatting
7bb71817d2d docs: update code example for Iterator#rposition
838b01dae5e stabilize const_alloc_layout
7c4bb0b875d rename typed_swap → typed_swap_nonoverlapping
3d7df0fa2cb stabilize const_swap
adefdcb1aaf Auto merge of #134729 - oliveredget:typo, r=jieyouxu
a76414742c2 Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu
7102c61d871 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda
781fb68dbba Fix compilation issues on other unixes
2b6589fec62 Bump `stdarch`
301f4c8ba3f chore: fix typos
b3642490a4a Use scoped threads in `std::sync::Barrier` examples
efbda65a57a Windows: Use FILE_ALLOCATION_INFO for truncation
0429732714d Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
f71f75d522a Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu
6fc5a515b01 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
2a7c4107dd3 Rollup merge of #134363 - estebank:derive-default, r=SparrowLii
6a41c5bd0cd Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser
00523c6df55 Use `#[derive(Default)]` instead of manually implementing it
7a6c4cf81d9 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
1d47e6a5af8 Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr
47eacac789d Auto merge of #131311 - rust-lang:cargo_update, r=clubby789
08311d3b105 Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors
49d33b15720 Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubilee
ce16d167b68 Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton
5ec57233686 Fixes safety docs for `dyn Any + Send {+ Sync}`
e31ed41f4ba Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
736e842fc2a Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper
1a45918d751 docs: Permissions.readonly() also ignores root user special permissions
e15ef644395 Improve prose around `as_slice` example of IterMut
d03b67c2429 Specify only that duplicates are discarded, not the order.
e70cbb149f5 Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472
619365dce13 Delete `Rvalue::Len`
f913021f500 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
0233b4ec888 Impl String::into_chars
56cc86af99f Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross35
9549c0c5306 Fix forgetting to save statx availability on success
c50706f5f04 Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr
42621a94cbe Document collection `From` and `FromIterator` impls that drop duplicate keys.
22c6dcd7b19 Rollup merge of #134630 - fifty-six:master, r=workingjubilee
9c5420a144f Auto merge of #130733 - okaneco:is_ascii, r=scottmcm
a5f05c31739 cargo update
88936d663d5 Eliminate redundant statx syscalls
ae80bcc9736 Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung
37803ed66ad Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton
3edae543ffa Use `&raw` for `ptr` primitive docs
9f89bf55fb2 Unify fs::copy and io::copy
8f6317d2b8a Windows: Use WriteFile to write to a UTF-8 console
dca1911ca13 Avoid short writes in LineWriter
10f58801c5e Document CTFE behavior of methods that call is_null
52c70cefc4e Correctly document is_null CTFE behavior.
8240334bbea ptr::copy: fix docs for the overlapping case
3d7ea928c48 Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
8d44917bb2b Rollup merge of #134579 - hkBst:patch-6, r=jhpratt
d1a3570e402 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt
797d88a4f6e Rollup merge of #134576 - hkBst:patch-4, r=jhpratt
0d4f2977e8f Document `PointerLike` implementation restrictions.
39c036dacf9 Less unwrap() in documentation
9eacbacb845 Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton
605e793d35f Rollup merge of #134573 - lukas-code:unimpl-dyn-pointerlike, r=compiler-errors
03b554d4296 Rollup merge of #134570 - hkBst:patch-3, r=joboet
cb9fd5abb2d Rollup merge of #134560 - RalfJung:miri-thread-spawn, r=jhpratt
8ef4e1708c6 Improve prose around into_slice example of IterMut
490893e4337 Improve prose around `as_slice` example of Iter
346bb96231a Improve prose around basic examples of Iter and IterMut
b2c67187209 remove reference to dangling from slice::Iter
8a76ac07549 fix `PointerLike` docs
ea624faa800 unimplement `PointerLike` for trait objects
0348754b8e8 split up `#[rustc_deny_explicit_impl]` attribute
83961772930 mri: add track_caller to thread spawning methods for better backtraces
47c18d11c25 Rollup merge of #134518 - hltj:typo-fix, r=tgross35
a407b54ba53 Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35
1e42e55ad7f Rollup merge of #126118 - jan-ferdinand:docs_for_vec_set_len, r=the8472
325c2c83a7d fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
2a30c761db7 build: Update libc version
ff8e6c7266c Rollup merge of #134490 - hong9lol:typo, r=jhpratt
1ef2006c9ff Rollup merge of #132056 - weiznich:diagnostic_do_not_recommend_final_tests, r=compiler-errors
36dec866386 fix typo in ptr/mod.rs
ba3898d82f3 Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
815119ea508 Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35
e5a64b47a53 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
1e20f65b874 Implement Condvar::wait_timeout for targets without threads
0d4be900a97 Auto merge of #134425 - clubby789:cargo-update, r=jieyouxu
e94636ef1eb fix(LazyCell): documentation of get[_mut] was wrong
9552b94e220 Stabilize `#[diagnostic::do_not_recommend]`
8f6473ca201 Use field init shorthand where possible
4dd1bd84b80 Rollup merge of #134426 - hkBst:patch-3, r=lqd
439ea50e256 Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
5b50e4a613b compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2
fbac32d2761 Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser
f8d5f2f5031 Fix typo in uint_macros.rs
773ce8e12e0 Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez
1ea6333e43b Remove `rustc::existing_doc_keyword` lint.
879b904eae9 Move `doc(keyword = "while")`.
d655fd187d6 Stabilize #[coverage] attribute
7adb8ab561b remove obsolete comment and pub(super) visibility
71740c5e592 remove bounds from vec and linkedlist ExtractIf
f5981cec754 Add a range argument to vec.extract_if
f0297f13dde Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez
e88df256c16 Auto merge of #134332 - Zalathar:rollup-oe23hkw, r=Zalathar
93329f34b67 Rollup merge of #134310 - tkr-sh:master, r=Noratrieb
ab4f84cae3e Rollup merge of #133406 - EFanZh:lock-value-accessors, r=Noratrieb
69756988c15 Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper
114f5e2c405 Auto merge of #133223 - zachs18:uniquerc-impls, r=Noratrieb
cd6542897cb Asserts the maximum value that can be returned from `Vec::len`
9d2ca9a3477 Auto merge of #134258 - bjorn3:no_public_specialization, r=petrochenkov
66b6e751301 Rollup merge of #134022 - shahn:doc_clarify_extend_for_tuple_version, r=tgross35
3aa32597ed9 Rollup merge of #133986 - olishmollie:tracking-issue-127154-documentation, r=tgross35
b35e7babfbf Correct spelling of CURRENT_RUSTC_VERSION
dca96f2d618 Replace i32 by char in `split_at` & `_unchecked`
5c0062fd6ba Add clarity to the "greater" of `VecDeque::insert`
36d2006d1e1 Replace i32 by char to add clarity
f9d5fcf495e Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr
5416be5795f Add documentation for anonymous pipe module
bd52a6d6b8d Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
1d8c71769ac Rollup merge of #134255 - bjoernager:master, r=Noratrieb
cd53ef86a04 Rollup merge of #134254 - hermit-os:hermit-c_char, r=workingjubilee
feb218aac4a Rollup merge of #134252 - hermit-os:hermit-is_absolute, r=tgross35
78ef2d597d4 rustdoc-search: let From and Into be unboxed
c1f85483921 Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlin
d03fb91bd4d Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obk
c90e7e3ca98 Remove support for specializing ToString outside the standard library
1c55c9fbc60 Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se
12a12d4f161 Update includes in '/library/core/src/error.rs';
5a5d80fb80a Fix building `std` for Hermit after `c_char` change
bfe81248fa4 Fix `Path::is_absolute` on Hermit
5d2388da58b Reword prelude for AsyncFn stabilization
9731c019cbe Stabilize async closures
fd9b9cd330a Fix typos in docs on provenance
7837903093e feat: clarify how to use `black_box()`
0c7c57b9e3c Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
72e40f07dfe Rollup merge of #134179 - zachs18:align_offset_mut_ptr_doc, r=workingjubilee
67ef22c7127 Rollup merge of #134178 - ehuss:stabilize-2024-prelude, r=amanieu,traviscross,tgross35
0834c1f1db0 Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross35
09d16d15513 Rollup merge of #133859 - bjorn3:move_tests_to_alloctests, r=tgross35
94ec2233bd0 Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov
fa1541a5660 Stabilize the Rust 2024 prelude
6942ce52e34 Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr
3a1745b09e5 Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcm
566ea0f3dd8 Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35
ed224f8c25a Remove consteval note from <*mut T>::align_offset docs.
197f4744559 Rollup merge of #134079 - tbu-:pr_doc_x8_to_from_xe_bytes, r=jhpratt
ff50c42ded8 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
809dc2d9649 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
420c83c0cd8 Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhpratt
bb71e111888 Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnay
d846ee80d9e Add references to the specific ABI documents
faa946af9e7 Remove l4re from the unsigned char operating system list
c589942e7af De-duplicate and improve definition of core::ffi::c_char
f5dfac33df4 stabilize const_nonnull_new
e24f63040e1 Rollup merge of #133472 - rust-wasi-web:master, r=joboet
0c9c5edf2d9 Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton
1079f47e289 Rollup merge of #133184 - osiewicz:wasm-fix-infinite-loop-in-remove-dir-all, r=Noratrieb
577c96562be Remove rustc_const_stable attribute on const NOOP
7234c4f09e7 Rollup merge of #134032 - snprajwal:fix-docs, r=joboet
24e395ad1ab core: use public method instead of instrinsic
3a36268f22b core: improve comments
a09c0403f2d Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr
a9c38ee0d29 Rollup merge of #134050 - RalfJung:miri-sync, r=RalfJung
6fa0126c89c Rollup merge of #133880 - ChrisDenton:homedir, r=Mark-Simulacrum
0e491a9a3b1 Rollup merge of #133789 - rossmacarthur:then-with-doc-alias, r=Mark-Simulacrum
ed50cd40ea2 Switch inline(always) in core/src/fmt/rt.rs to plain inline
886328011ef Downgrade cc
e9bfb10f867 Rollup merge of #134013 - BLANKatGITHUB:intrinsic, r=saethlin
4e0eec33e6f Adds new intrinsic declaration
c1d57f82a0e Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
8f4016eba75 docs: better examples for `std::ops::ControlFlow`
a73f6c64a01 Merge from rustc
fd6e8d7358e Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgr
069b38123a6 Merge from rustc
5852362e5d1 Define acronym for thread local storage
70e63e17b2c Auto merge of #118159 - EliasHolzmann:formatting_options, r=m-ou-se
3bcad5cb18b Rollup merge of #132187 - shahn:extend_more_tuples, r=dtolnay
f761e9c676f Rollup merge of #130254 - GrigorenkoPV:QuotaExceeded, r=dtolnay
ef4c4ae6b50 Rollup merge of #130209 - GrigorenkoPV:CrossesDevices, r=dtolnay
11e4cd165ae Auto merge of #133089 - eholk:stabilize-noop-waker, r=dtolnay
aa5fc647d04 core: implement `bool::select_unpredictable`
70153836edd Rollup merge of #133790 - HypheX:improve-vec-docs, r=harudagondi,workingjubilee
ca5965a8639 Merge from rustc
706da00d0ff Rollup merge of #133821 - Kobzol:replace-black-with-ruff, r=onur-ozkan
debbad652d9 Stabilize noop_waker
fa414d5787d Access members of `FormattingOptions` directly instead of via getters/setters
02156e9faf6 Removed constness for methods receiving a `&mut` parameter
a0526432656 Added better reason for exposing `flags` and `get_flags` as unstable
9492becae41 Formatted
322c8b766b2 Refactored FormattingOptions to use a bitmask for storing flags
a1b4810cfcf Revert "Turned public+unstable+hidden functions into private functions"
8bd8c11c06a Turned public+unstable+hidden functions into private functions
177d5fac526 Made all fns const
b06f16ba681 impl Default for fmt::FormattingOptions
157c4f662e0 Fixed copy+paste error in comment
8fe085f1349 fmt::FormattingOptions: Renamed `alignment` to `align`
7de3770f6c6 Formatter::with_options: Use different lifetimes
3d16495ff6c Fixed another broken test
4d3d0470d23 Added struct `fmt::FormattingOptions`
29f1b2498b6 Formatter: Access members via getter methods wherever possible
7f0a865ead6 Improve documentation
4155a213e3e Add libc funcitons only for wasm32-wasip1-threads.
a58d30811b5 Fix compilation for wasm32-wasip1 (without threads).
2834b3e1213 Rollup merge of #133882 - jyn514:doc-backtraces, r=saethlin
37f75ad5a08 Rollup merge of #133844 - RalfJung:simd_relaxed_fma-nondet, r=workingjubilee
b89e20d1e5e Rollup merge of #127565 - esp-rs:xtensa-vaargs, r=workingjubilee
7af25276b17 Rollup merge of #133863 - oli-obk:push-pystoxvtvssx, r=lqd
f4ab4b484fe Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillot
db3e689077b Improve comments for the default backtrace printer
8874ede0208 Expand home_dir docs
33345baf830 Reformat Python code with `ruff`
6cfe2423972 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro`
8d19d7cf046 Move some alloc tests to the alloctests crate
b75783a7146 clarify simd_relaxed_fma non-determinism
04abf699af3 Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli-obk
59c58640a80 Auto merge of #133818 - matthiaskrgr:rollup-iav1wq7, r=matthiaskrgr
6bebe1c8423 Rollup merge of #133726 - joshtriplett:breakpoint, r=oli-obk
57dbb716624 Rollup merge of #132937 - xmh0511:master, r=m-ou-se
1a1fa731d58 Update `NonZero` and `NonNull` to not field-project (per MCP807)
8df6841cf41 Rollup merge of #133796 - TDecking:borrowing-sub, r=tgross35
5248edd2723 Rollup merge of #133762 - RalfJung:const-size-of-val, r=workingjubilee
97f98da1fce Rollup merge of #133696 - RalfJung:const-hashmap, r=cuviper
592d87fafca Use UNIX thread_local implementation for WASI.
0b39639fa39 Update the definition of `borrowing_sub`
2f0494f936b Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
fb668a45993 Add `core::arch::breakpoint` and test
1ae06991054 Add doc alias 'then_with' for `then` method on `bool`
04e41db91f5 ./x miri: fix sysroot build
a351bae8511 Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee
6dd07606b78 Rollup merge of #133763 - Urgau:f16-midpoint-const-feat, r=Amanieu
7ef9e82c0ea Rollup merge of #133701 - kornelski:c-str, r=workingjubilee
e5e10c242ac Rollup merge of #131713 - tgross35:stabilize-const_maybe_uninit_write, r=RalfJung,dtolnay
eb96f323fa0 stabilize const_{size,align}_of_val
2b42df79e1a Stabilize `const_maybe_uninit_write`
7b043597c80 Use c"lit" for CStrings without unwrap
b06cd98bd77 Allow fn pointers comparisons lint in library
3d21446fa49 Fix `f16::midpoint` const feature gate
072ea73a1f6 Rollup merge of #133743 - bjoernager:slice-as-array, r=joboet
21529533fde stabilize const_collections_with_hasher and build_hasher_default_const_new
166cfb13136 Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhpratt
ec43e851a59 Fix docs for '<[T]>::as_array';
4a95157e48e Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhpratt
f7d558398a2 Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhpratt
cf34b1540ea Rollup merge of #133711 - cod10129:master, r=Noratrieb
45418e9d2a6 Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnay
0ba4fb63cc1 Rollup merge of #131416 - okaneco:const_copy, r=RalfJung
58b87f49645 Mark `slice::copy_from_slice` unstably const
50363a21191 add isatty alias for is_terminal
06c9316079c Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu
b2f5848193a Rollup merge of #133669 - RalfJung:const_swap_splitup, r=dtolnay
833dd81deba Run `cargo update` and update licenses
5c2d5ca1784 Stabilize unsigned `num_midpoint` feature
f4630c8d109 Rollup merge of #133686 - samueltardieu:push-xkxwxzxqokuu, r=compiler-errors
487eef7a511 Rollup merge of #133622 - mkroening:exception-blog, r=cuviper
84b80170276 Rollup merge of #133602 - SanchithHegde:fix-pathbuf-example-codeblocks, r=cuviper
2bfc089b74f Rollup merge of #133515 - SteveLauC:fix/hurd, r=ChrisDenton
964c0c061fe Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubilee
7b3ae4b14e8 Auto merge of #133684 - RalfJung:rollup-j2tmrg7, r=RalfJung
b7abc7692ff Switch rtems target to panic unwind
afea5597238 Add diagnostic item for `std::ops::ControlFlow`
d17c5979b26 Rollup merge of #133670 - RalfJung:hashbrown, r=Amanieu
6965d9c1b06 Auto merge of #133659 - jieyouxu:rollup-576gh4p, r=jieyouxu
e142fe090ef std: clarify comments about initialization
0236bd2058d Stabilize `ptr::fn_addr_eq`
a54b5c85a48 Add value accessor methods to `Mutex` and `RwLock`
ec760c9108f fix: hurd build, stat64.st_fsid was renamed to st_dev
550bfc05b24 rustc_allow_const_fn_unstable is not used in proc_macro
1ccf19dc122 get rid of a bunch of unnecessary rustc_const_unstable
70183029716 Fix chaining `carrying_add`s
dd29fadf097 add test for bytewise ptr::swap of a pointer
a7f3a3cc076 remove a whole bunch of unnecessary const feature gates
943aa44906f Abstract `ProcThreadAttributeList` into its own struct
e6a732b0db2 move swap_nonoverlapping constness to separate feature gate
9d56b9dbedd bump hashbrown version
e423a339a39 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
46851ab5cc9 Rollup merge of #133548 - cuviper:btreeset-entry-api, r=Mark-Simulacrum
b6bb042b28c Rollup merge of #133496 - rust-wasi-web:wasi-available-parallelism, r=Amanieu
5e218fe390d Rollup merge of #133106 - BLANKatGITHUB:intrinsic, r=RalfJung
3b2bca7e9f0 Rollup merge of #132515 - kornelski:home_fix, r=jhpratt
407d5985ad5 Rollup merge of #133625 - RalfJung:custom-mir-debug-info, r=compiler-errors
a0b4e2ff644 Rollup merge of #116161 - Soveu:varargs2, r=cjgillot
eeb808edfce Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrum
2992ba7e050 refine mir debuginfo docs
bf4636bee39 Doc comment custom MIR debuginfo.
547854bab55 update link to "C++ Exceptions under the hood" blog
c145db8fec3 Rollup merge of #133530 - timvisee:master, r=jhpratt
3ccd6102eae Rollup merge of #133466 - aksh1618:patch-1, r=thomcc
e5e4ec16636 fix: fix codeblocks in `PathBuf` example
069a3f311a4 Auto merge of #123244 - Mark-Simulacrum:share-inline-never-generics, r=saethlin
aa2609a583f Change `GetManyMutError` to match T-libs-api decision
e97ec53b763 Share inline(never) generics across crates
68d3ed3d908 Also use zero when referencing to capacity or length
657e081ba8f Use consistent wording in docs, use zero instead of 0
e97f024d14b Auto merge of #133561 - GuillaumeGomez:rollup-g4upmv4, r=GuillaumeGomez
c8ce91a5e34 Rollup merge of #133543 - mustartt:aix-lgammaf_r-shim, r=cuviper
3d06a7c117e Rollup merge of #133512 - bjoernager:slice-as-array, r=Amanieu
5a2e12351d7 Rollup merge of #129409 - grinapo:patch-1, r=Amanieu
64d66ce14ba Rollup merge of #133498 - GuillaumeGomez:missing-examples, r=joboet
95afca906a6 Stabilize `extended_varargs_abi_support`
8416a6beeca Fill in a `BTreeSet::entry` example
32276df18d5 Add a tracking issue for `btree_set_entry`
0b8b46754ae Add `BTreeSet` entry APIs to match `HashSet`
de67dab738c fmt
b255bcd4709 update cfgs
d5ee74c8b2c Implement code review
cc94a61244f replace placeholder version
ea762e31d64 Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxu
be4d7f97a51 Rollup merge of #133449 - joboet:io_const_error, r=tgross35
fddc6136036 Rollup merge of #133402 - compiler-errors:drop-and-destruct, r=lcnr
b5baaaa3d2a Auto merge of #133505 - compiler-errors:rollup-xjp8hdi, r=compiler-errors
11a4630ce28 chore: Improve doc comments
d3ade682724 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
cdf278252ad std: update internal uses of `io::const_error!`
182e0fde338 Rollup merge of #133435 - RalfJung:test_downgrade_observe, r=tgross35
6e22739b070 Rollup merge of #133282 - tgross35:maybe-uninit-debug, r=Amanieu
585dfc5b52e Rollup merge of #133136 - ChayimFriedman2:get-many-mut, r=Amanieu
75101ecc49d Rollup merge of #133042 - cuviper:btreemap-insert_entry, r=Amanieu
c590ef03caa Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboet
b0910ed9eec Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, r=Amanieu
ec61c1e49a2 Add missing code examples on `LocalKey`
c8c96e00fdc thread::available_parallelism for wasm32-wasip1-threads
85ceea5ea32 Refactor ReadDir into a state machine
9e9b5eeb86b Run TLS destructors for wasm32-wasip1-threads
2dec6432dc5 Fix typos in pin.rs
02b3316cbb9 std::thread: avoid leading whitespace in some panic messages
ee91620dbef Constify Drop and Destruct
7abb3262e5d std: expose `const_io_error!` as `const_error!`
786c3e18dcb Auto merge of #133247 - GuillaumeGomez:reduce-integer-display-impl, r=workingjubilee
992b1d2573c Support ranges in `<[T]>::get_many_mut()`
41bd055eaed miri: disable test_downgrade_observe test on macOS
ca2246ba724 Rollup merge of #132982 - suaviloquence:2-doc-changed-alloc-methods, r=Mark-Simulacrum
6e2012f32d9 Rollup merge of #132533 - SUPERCILEX:patch-4, r=Mark-Simulacrum
ed2598bafce fix `Allocator` method names in `alloc` free function docs
fd68d3e37ee Rollup merge of #133298 - n0toose:remove-dir-all-but-not-paths, r=Noratrieb
74f078b7290 Rollup merge of #133260 - compiler-errors:deref, r=fee1-dead
d1cf863b68f Rollup merge of #132730 - joboet:after_main_sync, r=Noratrieb
3f9124b0cf3 Added a doc test for std::path::strip_prefix
cea713a6711 Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung
04dab39dbea Rollup merge of #133301 - GuillaumeGomez:add-example-wrapping-neg, r=workingjubilee
dd7b253bb5d changes old intrinsic declaration to new declaration
ce181b51151 Auto merge of #132611 - compiler-errors:async-prelude, r=ibraheemdev
9fc2c20cb23 Auto merge of #132597 - lukas-code:btree-plug-leak, r=jhpratt
7f63ef45955 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
75fe14cbea0 Remove unnecessary `#![allow(unused_features)]`
8ff9319664c Sort and separate lint/feature attributes in `profiler_builtins`
000c27de7b8 Constify Deref and DerefMut
e105ad36675 Match simd_relaxed_fma documentation to fmuladd intrinsic
bc1b909d1cf Auto merge of #133379 - jieyouxu:rollup-00jxo71, r=jieyouxu
a0222ed6f11 Add simd_relaxed_fma intrinsic
18a772c0abf Stabilize `const_float_methods`
1fa5b7136ba Auto merge of #133377 - jieyouxu:rollup-n536hzq, r=jieyouxu
5048c462f73 Improve code by using `unsigned_abs`
e8829bde64b Rollup merge of #133237 - fee1-dead-contrib:constadd, r=compiler-errors
4151e360996 Rollup merge of #133332 - bjoernager:const-array-as-mut-slice, r=jhpratt
842ed39a839 Rollup merge of #131505 - madsmtm:darwin_user_temp_dir, r=dtolnay
0b0403aade1 Auto merge of #132994 - clubby789:cc-bisect, r=Kobzol
44de774c840 Auto merge of #133360 - compiler-errors:rollup-a2o38tq, r=compiler-errors
6ea276ef35c Rollup merge of #133264 - lolbinarycat:os-string-truncate, r=joboet
5a6926c6a54 Auto merge of #132329 - compiler-errors:fn-and-destruct, r=lcnr
8cace9e9e4d Shorten the `MaybeUninit` `Debug` implementation
9fff2a79a89 aix: create shim for lgammaf_r
0c2dadaf889 Add code example for `wrapping_neg` method for signed integers
b0893a5fb1d Deduplicate checking drop terminator
25cfe493429 Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration check
df5f774cf44 Auto merge of #133339 - jieyouxu:rollup-gav0nvr, r=jieyouxu
fd9dfbfa58e Rollup merge of #133337 - ColinFinck:thread-scoped-fix-typo, r=joboet
6ca197967f0 Rollup merge of #133330 - RalfJung:close, r=the8472
8cec9604aec Rollup merge of #133313 - thesummer:fix-arc4random, r=cuviper
bd8c70b7603 Rollup merge of #133288 - bjoernager:const-array-each-ref, r=jhpratt
c9a80ad59f4 Rollup merge of #133238 - heiher:loong-stdarch-rexport, r=Amanieu
0eb96d1dc9c Auto merge of #130867 - michirakara:steps_between, r=dtolnay
c57bc831f1c Fix typo in `std::thread::Scope::spawn` documentation.
b621e5886f5 Mark '<[T; N]>::as_mut_slice' as 'const';
01df57db50c library: update comment around close()
125a43354b7 Don't try to use confstr in Miri
dc9cd998086 Auto merge of #129238 - umgefahren:stabilize-ipv6-unique-local, r=dtolnay
e515d5fdd20 distinguish overflow and unimplemented in Step::steps_between
7e9c665fcec Use arc4random of libc for RTEMS target
fb92c4e9f3f Mention that std::fs::remove_dir_all fails on files
7edd22c19b6 Mark and implement 'each_ref' and 'each_mut' in '[T; N]' as const;
e411c3361f6 constify `Add`
956d316aa96 Rollup merge of #131736 - hoodmane:emscripten-wasm-bigint, r=workingjubilee
8defa07da76 implement OsString::truncate
9dd9ebdafe5 Rollup merge of #133226 - compiler-errors:opt-in-pointer-like, r=lcnr
c3a7a9ea54d Rollup merge of #130800 - bjoernager:const-mut-cursor, r=joshtriplett
05d96c22b33 Rollup merge of #129838 - Ayush1325:uefi-process-args, r=joboet
7691bc11882 Make PointerLike opt-in as a trait
5c581c3aadf Reduce integer `Display` implementation size
c819ed39def Stabilize const_pin_2
bb443655059 re-export `is_loongarch_feature_detected`
63a5059a757 Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=Urgau
f48d6a9b1d9 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
e3055f65ed6 UniqueRc: PinCoerceUnsized and DerefPure
f53e523d3c8 UniqueRc: comparisons and Hash
5f8f1a32611 Rollup merge of #133183 - n0toose:improve-remove-dir-docs, r=joboet
88965979fa9 Rollup merge of #125405 - m-ou-se:thread-add-spawn-hook, r=WaffleLapkin
4da0cb33032 Rollup merge of #123947 - zopsicle:vec_deque-Iter-as_slices, r=Amanieu
31096758b3f UniqueRc: Add more trait impls.
4f1707779d3 Update doc comments for spawn hook.
e7cb7389192 Address review comments.
595f0d9f0f8 Fix tracking issue.
4fe82dfc2b3 Add tracking issue.
56ea82557bd Use Send + Sync for spawn hooks.
977c4c304f2 Add thread Builder::no_hooks().
e253c673db1 Update thread spawn hooks.
053640f6f35 Use add_spawn_hook for libtest's output capturing.
2a846d803f4 Add std::thread::add_spawn_hook.
525dab97bb6 Correct comments concerning updated dangling pointer lint
d2430399b75 Auto merge of #133205 - matthiaskrgr:rollup-xhhhp5u, r=matthiaskrgr
3c67ef9e5a2 Rollup merge of #133200 - RalfJung:miri-rwlock-test, r=tgross35
3516801bae2 ignore an occasionally-failing test in Miri
207627c1104 Rollup merge of #133182 - RalfJung:const-panic-inline, r=tgross35
fb525301a5f Rollup merge of #132758 - nnethercote:improve-get_key_value-docs, r=cuviper
3bd5a7f4276 Mention std::fs::remove_dir_all in std::fs::remove_dir
40ecf6c22bf wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
6da3fda3593 Bump `stdarch` to the latest master
d70eaaa68ec const_panic: inline in bootstrap builds to avoid f16/f128 crashes
1da1cc9cf07 std: allow after-main use of synchronization primitives
307d6f22226 Auto merge of #133160 - jhpratt:rollup-wzj9q15, r=jhpratt
e09425b475c Rollup merge of #133145 - kornelski:static-mutex, r=traviscross
58da10b98d8 Auto merge of #128219 - connortsui20:rwlock-downgrade, r=tgross35
997906157b4 rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect
601132a1007 Improve `{BTreeMap,HashMap}::get_key_value` docs.
2e135b01a22 Document alternatives to `static mut`
bde38e315d0 Auto merge of #120370 - x17jiri:likely_unlikely_fix, r=saethlin
b407a672d3c Likely unlikely fix
f1532b9b5b2 Rollup merge of #133126 - ohno418:fix-String-doc, r=jhpratt
91ab1736cfe Rollup merge of #133116 - RalfJung:const-null-ptr, r=dtolnay
6f53685158e alloc: fix `String`'s doc
61efdcc7741 clean up const stability around UB checks
c313f7e9291 stabilize const_ptr_is_null
6aced621042 Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errors
0250296af6c Rollup merge of #131717 - tgross35:stabilize-const_atomic_from_ptr, r=RalfJung
d27c37b4c4a reduce threads in downgrade test
8619ddabd64 fix `DOWNGRADED` bit unpreserved
45a5a4e3f1d fix memory ordering bug + bad test
525248ca5db add safety comments for queue implementation
e2543ddca9c add `downgrade` to `queue` implementation
c05bcc9c7fb modify queue implementation documentation
ddd48e97263 add `downgrade` to `futex` implementation
f9bcdb4474d add simple `downgrade` implementations
54967218559 add `downgrade` method onto `RwLockWriteGuard`
dcda8df4676 add `RwLock` `downgrade` tests
49b742da57d Rollup merge of #133050 - tgross35:inline-f16-f128, r=saethlin
9b405001aa8 Rollup merge of #133048 - cyrgani:ptr-doc-update, r=Amanieu
3357615fc72 Rollup merge of #133019 - sorairolake:add-missing-period-and-colon, r=tgross35
7e17a11e61d Rollup merge of #132984 - sunshowers:pipe2, r=tgross35
e8a67ba743b Rollup merge of #132977 - cberner:fix_solaris, r=tgross35
dbd5fb14b17 Rollup merge of #132790 - aDotInTheVoid:ioslice-asslice-rides-again, r=cuviper
1b4ad7703eb Pass `f16` and `f128` by value in `const_assert!`
e4c94766246 Remove one stray space.
58c02681d8f use `&raw` in `{read, write}_unaligned` documentation
1239f03791f btree: add `{Entry,VacantEntry}::insert_entry`
9aa607df7aa Auto merge of #132709 - programmerjake:optimize-charto_digit, r=joshtriplett
78626b047b6 Rollup merge of #133027 - no1wudi:master, r=jhpratt
c6347be9b59 Auto merge of #133026 - workingjubilee:rollup-q8ig6ah, r=workingjubilee
28f9f7f6736 Fix a copy-paste issue in the NuttX raw type definition
c1bd3483194 Rollup merge of #133008 - onur-ozkan:update-outdated-comment, r=jieyouxu
51884ccd46d Rollup merge of #133004 - cuviper:unrecover-btree, r=ibraheemdev
9d1b5289926 Rollup merge of #133003 - zachs18:clonetouninit-dyn-compat-u8, r=dtolnay
275fab34cf3 Rollup merge of #132907 - BLANKatGITHUB:intrinsic, r=saethlin
265f69fd7de Rollup merge of #131304 - RalfJung:float-core, r=tgross35
521d06b1f3a Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjubilee
0874a0035d0 docs: Fix missing colon in methods for primitive types
524cbdaf3b7 docs: Fix missing period in methods for integer types
948e53de4bb Auto merge of #133006 - matthiaskrgr:rollup-dz6oiq5, r=matthiaskrgr
4a5f8c13225 update outdated comment about test-float-parse
5b9d092b2cf Rollup merge of #126046 - davidzeng0:mixed_integer_ops_unsigned_sub, r=Amanieu
0ec0a66f5ca Auto merge of #132662 - RalfJung:const-panic-inlining, r=tgross35
3a28e6e022a Update core CloneToUninit tests
35e1775fe1f btree: simplify the backdoor between set and map
0495cd155b6 Bump `cc`
ec80ac9760a Fix compilation error on Solaris due to flock usage
cdcb1d2d589 Auto merge of #132556 - clubby789:cargo-update, r=Mark-Simulacrum
a66f410edcd Run `cargo update` and update licenses
1cccc6a94cc const_panic: don't wrap it in a separate function
f79ecc84837 [illumos] use pipe2 to create anonymous pipes
46925ba44db Auto merge of #132883 - LaihoE:vectorized_is_sorted, r=thomcc
4ccf16b1eb0 Auto merge of #132972 - matthiaskrgr:rollup-456osr7, r=matthiaskrgr
fe508063c28 Rollup merge of #132970 - tyilo:nonzero-u-div-ceil-issue, r=tgross35
e35eeacfc3e Rollup merge of #132966 - RalfJung:const_option_ext, r=jhpratt
d1b467ef3b0 Rollup merge of #132948 - RalfJung:const_unicode_case_lookup, r=Noratrieb
5a207560656 Rollup merge of #132851 - chansuke:update-comment, r=thomcc
ff8020378de Auto merge of #132870 - Noratrieb:inline-int-parsing, r=tgross35
7f43800757b Add tracking issue number to unsigned_nonzero_div_ceil feature
dfdaf4d0da8 Make `CloneToUninit` dyn-compatible
a6ab20eb090 stabilize const_option_ext
aef6c7529bf Rollup merge of #132541 - RalfJung:const-stable-extern-crate, r=compiler-errors
9792fc3fa32 stabilize const_unicode_case_lookup
7cd4be6ea3f Stabilize `Ipv6Addr::is_unique_local` and `Ipv6Addr::is_unicast_link_local`
15b4af14a52 adds new declaration to codegen
513cbf8297b Auto merge of #132943 - matthiaskrgr:rollup-164l3ej, r=matthiaskrgr
a636ccb7e8c Rollup merge of #132914 - rcorre:cell-grammar, r=tgross35
5af9cd39bdb Rollup merge of #132895 - scottmcm:generalize-nonnull-from-raw-parts, r=ibraheemdev
bd35c207e83 remove no-longer-needed abs_private
71c0928f8e5 allow rustc_private feature in force-unstable-if-unmarked crates
2d1521ec8d3 Rollup merge of #132929 - cuviper:check-alloc_zeroed, r=tgross35
ba37edb8236 Rollup merge of #132869 - lolbinarycat:library-fix-too_long_first_doc_paragraph, r=tgross35
c3aa0fd6d20 Rollup merge of #132847 - RalfJung:addr-dont-expose, r=Mark-Simulacrum
7b678a96b68 Auto merge of #132919 - matthiaskrgr:rollup-ogghyvp, r=matthiaskrgr
fe2df9994be a release operation synchronizes with an acquire operation
59ea28527ec Check for null in the `alloc_zeroed` example
422c4e8dc6b new intrinsic declaration
be313a69b63 new intrinsic declaration
bf896164821 Rollup merge of #132144 - adetaylor:receiver-trait-itself, r=wesleywiser
95128df8753 Rollup merge of #120077 - SUPERCILEX:set-entry, r=Amanieu
5b2d93dadf0 Update dangling pointer tests
ed8add25d55 Tag relevant functions with #[rustc_as_ptr] attribute
eee61579d6d Auto merge of #132902 - matthiaskrgr:rollup-43qgg3t, r=matthiaskrgr
6bc254b09ed Update grammar in std::cell docs.
bae8842bd22 Emscripten: link with -sWASM_BIGINT
6bc8a98cbb4 Rollup merge of #130999 - cberner:flock_pr, r=joboet
2e3a4db79e1 Auto merge of #127589 - notriddle:notriddle/search-sem-3, r=GuillaumeGomez
08e1228e615 Generalize `NonNull::from_raw_parts` per ACP362
f9a5ed02f86 vectorize slice::is_sorted
318b54e4aa4 `#[inline]` integer parsing functions
2b0fd040446 split up the first paragraph of doc comments for better summaries
863ba5a66b4 Update the doc comment of `ASCII_CASE_MASK`
192601ab1ba elem_offset / subslice_range: use addr() instead of 'as usize'
458dbbd00c3 Rollup merge of #132136 - RalfJung:target-feature-abi-compat, r=Mark-Simulacrum
29571c684a7 honor rustc_const_stable_indirect in non-staged_api crate with -Zforce-unstable-if-unmarked
f1e6a403adc Improve documentation of `element_offset` and related methods
6a9d2a411f5 Rename `elem_offset` to `element_offset`
310a91d1a6a Add as_slice/into_slice for IoSlice/IoSliceMut.
450aa1288bd Rollup merge of #132778 - lolbinarycat:io-Error-into_inner-docs, r=cuviper
e53a11a5e8f update io::Error::into_inner to acknowlage io::Error::other
3a3ed52ed1d Address review comments
70d11b2f164 Update library/std/src/sys/pal/windows/fs.rs
87dd8ff600f Auto merge of #132717 - RalfJung:rustc_safe_intrinsic, r=compiler-errors
d51ad86fa5a remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic functions instead
362e652f6c6 Rollup merge of #132738 - cuviper:channel-heap-init, r=ibraheemdev
ca7caf9db4c mark is_val_statically_known intrinsic as stably const-callable
36fd72193f9 Rollup merge of #132696 - fortanix:raoul/rte-235-fix_fmodl_missing_symbol_issue, r=tgross35
256a7ced72c Rollup merge of #132639 - RalfJung:intrinsics, r=workingjubilee,Amanieu
79569ee933c Initialize channel `Block`s directly on the heap
db2b12c9066 core: move intrinsics.rs into intrinsics folder
0fa9a6c6c9e Auto merge of #132714 - mati865:update-memchr, r=tgross35
6d60a72a8d9 Rollup merge of #132715 - tabokie:fix-lazy-lock-doc, r=Noratrieb
17e5d3b5522 Rollup merge of #132665 - tyilo:nonzero-u-div-ceil, r=joboet
da1331d6c40 Separate f128 `%` operation to deal with missing `fmodl` symbol
57cef21786e Auto merge of #132705 - kornelski:inline-repeat, r=tgross35
7802368a477 fix lazylock comment
a5d839dc87d Auto merge of #131888 - ChrisDenton:deopt, r=ibraheemdev
64f77df1882 unpin and update memchr
2d7984a960f optimize char::to_digit and assert radix is at least 2
7317cd4555d Inline str::repeat
8446e1a5f47 Rollup merge of #132617 - uellenberg:fix-rendered-doc, r=cuviper
df1594bbcf8 Auto merge of #131721 - okaneco:const_eq_ignore_ascii_case, r=m-ou-se
7e7f9ed6a32 Add `is_ascii` function optimized for x86-64 for [u8]
b76ab440a07 Auto merge of #132500 - RalfJung:char-is-whitespace-const, r=jhpratt
a442ac02b25 Add new implementation benchmark
5c39de3744c Add new unstable feature `const_eq_ignore_ascii_case`
3adbc621669 Auto merge of #132664 - matthiaskrgr:rollup-i27nr7i, r=matthiaskrgr
8ddab887db1 Change some code blocks to quotes in rendered std doc
ef47b33a8cb Rollup merge of #131261 - clarfonthey:unsafe-cell-from-mut, r=m-ou-se
dc052ced3b7 Auto merge of #132661 - matthiaskrgr:rollup-npytbl6, r=matthiaskrgr
9be5c2dc1de Implement div_ceil for NonZero<unsigned>
b39a2860435 Rollup merge of #132571 - RalfJung:const_eval_select_macro, r=oli-obk
3a28e6ad6b1 Rollup merge of #132473 - ZhekaS:core_fmt_radix_no_panic, r=joboet
46c3034cd24 Rollup merge of #132153 - bjoernager:const-char-encode-utf16, r=dtolnay
d52956082bc add const_eval_select macro to reduce redundancy
9250b4c4b59 Rollup merge of #132609 - NotWearingPants:patch-1, r=Amanieu
54bd3adf0e3 Rollup merge of #132606 - eduardosm:char-slice-str-pattern-doc, r=tgross35
6b9a5af164d most const intrinsics don't need an explicit rustc_const_unstable any more
49143b3b622 add new rustc_const_stable_intrinsic attribute for const-stable intrinsics
031f9c28368 convert all const-callable intrinsics into the new form (without extern block)
127883633f8 docs: fix grammar in doc comment at unix/process.rs
ff59429bddf Improve example of `impl Pattern for &[char]`
a68e38323fc Add AsyncFn* to to the prelude in all editions
b8fe4fde115 Fixed typo, rebased
29a8fc997da Updated SAFETY comment to address underflow
008a74c9f20 Replace checked slice indexing by unchecked to support panic-free code
ceac65d1adf Rollup merge of #132579 - RalfJung:rustc-std-workspace-crates, r=Amanieu
2ccb95e8380 btree: don't leak value if destructor of key panics
27c96552095 Stabilise 'const_char_encode_utf16';
509dd073b69 Auto merge of #132586 - workingjubilee:rollup-qrmn49a, r=workingjubilee
4926ac05cdf update rustc-std-workspace crates
8d4546d424f Rollup merge of #132423 - RalfJung:const-eval-align-offset, r=dtolnay
ae28b877064 Auto merge of #132434 - tgross35:f128-tests, r=workingjubilee
b82b6a45cf7 Fix and undeprecate home_dir()
db581d1e2bf Enable `f128` tests on all non-buggy platforms 🎉
9e03f8084c3 Auto merge of #132581 - workingjubilee:rollup-4wj318p, r=workingjubilee
c506c0279ef Update `compiler_builtins` to 0.1.138 and pin it
4a3b0948bbe Rollup merge of #132563 - frectonz:master, r=Amanieu
803847138ff Auto merge of #123723 - madsmtm:apple-std-os, r=dtolnay
f2175096363 Auto merge of #132479 - compiler-errors:fx-feat-yeet, r=fee1-dead
caacc66a634 Rename the FIXMEs, remove a few that dont matter anymore
8bb7ce8a697 Auto merge of #132542 - RalfJung:const_panic, r=tgross35
72beb748321 remove const-support for align_offset
48f72455d35 Modify `NonZero` documentation to reference the underlying integer type
b10bc73da0a Rollup merge of #132511 - RalfJung:const_arguments_as_str, r=dtolnay
dee386e7977 Rollup merge of #132503 - RalfJung:const-hash-map, r=Amanieu
028616a5bca Rollup merge of #132499 - RalfJung:unicode_data.rs, r=tgross35
a04ae3433a7 Rollup merge of #132393 - zedddie16:issue-131865-fix, r=tgross35
99edf316755 Rollup merge of #131377 - rick-de-water:nonzero-exp, r=dtolnay
141ffe504bd Rollup merge of #129329 - eduardosm:rc-from-mut-slice, r=dtolnay
0f4c0ab62ba add const_panic macro to make it easier to fall back to non-formatting panic in const
0bad6557b73 stabilize const_arguments_as_str
c77491eb408 Auto merge of #132458 - RalfJung:rustc-const-unstable, r=Amanieu
39157edbc09 Rustdoc: added brief colon explanation
e4225758db0 Add Set entry API
578b3ff91b0 Add BorrowedBuf::into_filled{,_mut} methods to allow returning buffer with original lifetime
2037eace73d Rollup merge of #132495 - Houtamelo:remove_unintended_link, r=jieyouxu
31a805b08cf Rollup merge of #132493 - Houtamelo:doc_type-ref_html-tag, r=jieyouxu
c2f25cd880d Rollup merge of #132482 - lukas-code:stab-attrs, r=Noratrieb
cc5191d1d82 remove const_hash feature leftovers
2728af9203a const_with_hasher test: actually construct a usable HashMap
a4a50b1b672 make char::is_whitespace unstably const
970eae4d52b unicode_data.rs: show command for generating file
f5f55442e3f get rid of a whole bunch of unnecessary rustc_const_unstable attributes
b14c6792db7 Rollup merge of #132398 - krtab:add_doc_link, r=Noratrieb
6f094ac1107 Remove unintended link
a74274e4c08 Fix type reference in documents which was being confused with html tags.
033cb2e7928 fix some stability annotations
bd16467dcc4 Rollup merge of #132459 - RalfJung:byte_sub_ptr, r=scottmcm
e145c80b018 Rollup merge of #132455 - RalfJung:const_alloc_layout, r=dtolnay
c22c341e06a Rollup merge of #132451 - RalfJung:less-rustc_allow_const_fn_unstable, r=tgross35
3bbba3d8bab Rollup merge of #132445 - RalfJung:const-unchecked-shifts, r=tgross35
7df01bee11b Rollup merge of #132413 - lolbinarycat:offset_of_nested-docs, r=workingjubilee
0579de67e47 remove no-longer-needed attribute
b56688f9d64 add missing safety comments
d12f27d4ef9 adjust test gating for f16/f128
d80df07dc04 float types: move copysign, abs, signum to libcore
5f86b1888e2 offset_from / sub_ptr docs: emphasize that pointers must be in the same allocation
c34766cbcdc feat(byte_sub_ptr): add ptr::byte_sub_ptr
080a2e20906 make const_alloc_layout feature gate only about functions that are already stable
e12063485b9 unchecked_shifts, unchecked_neg are safe-to-const-expose-on-stable, so we can get rid of a bunch of attributes
53bc80ca335 remove some unnecessary rustc_allow_const_fn_unstable
9661266001a Auto merge of #132206 - tgross35:update-builtins, r=wesleywiser
c5d1f3effc7 use semantic line break
804ea40144f update offset_of! docs to reflect the stablization of nesting
1f1310db6fc Add intra-doc link in str::xxx_char_boundary
93963fe694b Add a `collect_into` tuple test case
e19e4426450 Don't impl Extend for 13-tuples
86598670051 rustdoc-search: simplify rules for generics and type params
ea2ceffe08d Remove do_not_const_check from Iterator methods
f7e46bc4e8d Add intra-doc link in str::xxx_prefix
ad90a435921 Auto merge of #132238 - Urgau:midpoint-i64-hackers-impl, r=joboet
b1a8ad0421e Implement `From<&mut {slice}>` for `Box/Rc/Arc<{slice}>`
de81c2cfd47 Auto merge of #132326 - matthiaskrgr:rollup-ngyw18g, r=matthiaskrgr
c52ccba99aa Rollup merge of #132321 - betrusted-io:xous/fix-rustc_const_stable-attribute, r=joboet
8148aa07cca Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross35
8c010b9c476 xous: sync: remove `rustc_const_stable` attribute
129f8e8c883 Win: rename: Use offset_of! in struct size calculation
38ae7fe6247 Rollup merge of #132270 - yakiimoninja:fs-truncate-docs, r=Noratrieb
94b192d0f13 Rollup merge of #132233 - WaffleLapkin:box-module-split, r=workingjubilee
16b2c9a2db5 Rollup merge of #131520 - zachs18:const-str-split, r=Noratrieb
5a311c1d378 Auto merge of #132277 - workingjubilee:rollup-5e6q6e4, r=workingjubilee
f1a9b205273 Stabilize `const_atomic_from_ptr`
2525108f4c5 Auto merge of #128985 - GrigorenkoPV:instantly-dangling-pointer, r=Urgau
5e9f5b7bb19 Rc destructor: tweak inlining
70e917c03c0 Split `boxed.rs` into a few modules
fedcb7c717f Rollup merge of #131441 - SpriteOvO:proc-macro-to-tokens-trait, r=dtolnay
f156bce99c2 clarified std::fs truncate doc
1050cdf4056 Auto merge of #132145 - RalfJung:stdarch, r=Amanieu
ace4a33dfbb clarified doc for `std::fs::OpenOptions.truncate()`
47fa409434a std: refactor `pthread`-based synchronization
b1d5523119b New lint: `dangling_pointers_from_temporaries`
64c9d4f1857 Rollup merge of #131391 - ChaiTRex:isqrt, r=scottmcm,tgross35
53780a64b4c we can now enable the 'const stable fn must be stable' check
1f1a027091f bump stdarch
56e3763facb Auto merge of #132251 - jieyouxu:rollup-mtv9mpd, r=jieyouxu
4d02c63de8e Auto merge of #132200 - Mark-Simulacrum:strengthen-cross-lang, r=RalfJung
17cb40d2ccc Support `char::is_digit` in const contexts
77075c6dbc8 Use Hacker's Delight impl in `i64::midpoint` instead of wide `i128` impl
8ce9b1cfab9 Rc/Arc: don't leak the allocation if drop panics
99da8532715 add test for panicking drop in Box/Rc/Arc
b737edbfba5 Auto merge of #131284 - dingxiangfei2009:rename-smart-ptr-to-coerce-referent, r=compiler-errors
01a07cd4871 Auto merge of #132191 - Urgau:midpoint_signed_towards_zero, r=dtolnay
c3b9a53453f Add a new trait `proc_macro::ToTokens`
3dd1c135709 Update compiler-builtins to 0.1.136
dc9b4671988 Auto merge of #131715 - tgross35:add-const_sockaddr_setters, r=Amanieu
c40fc128e80 Make clearer that guarantees in ABI compatibility are for Rust only
9be44cb8f7b Add test for all midpoint expectations
c4cdbf7fbb1 Simplify documentation for Extend impl for tuples
c528f49e40c Round negative signed integer towards zero in `iN::midpoint`
a60439c0bce Rollup merge of #132019 - daboross:document-partialeq-oncelock, r=Mark-Simulacrum
c1f1caa4131 Add Extend impls for tuples of arity 1 through 12
b0fc28c0c8b Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errors
ac13eae8512 Rollup merge of #132137 - RalfJung:behavior, r=Noratrieb
a8f0d49ac66 get rid of the internal unlikely macro
752b4f49c6f Re-do recursive const stability checks
58397bb1fdd Arbitrary self types v2: (unused) Receiver trait
8ebd2382ca1 library: consistently use American spelling for 'behavior'
75eb49968ea ABI compatibility: remove section on target features
31b83431cee Rollup merge of #131457 - kpreid:fnaddr, r=dtolnay
3e063d045dc Auto merge of #132121 - workingjubilee:rollup-yrtn33e, r=workingjubilee
60585ca1420 Rollup merge of #132113 - LaihoE:pattern_as_utf8_default_impl, r=workingjubilee
b6a311980d5 Rollup merge of #132101 - youknowone:thread_local-gyneiene, r=tgross35
798bde442ca Rollup merge of #132048 - mustartt:aix-random-impl, r=workingjubilee
6feac64de56 Rollup merge of #131851 - sunshowers:musl-posix, r=workingjubilee
f5ccf0690b8 Avoid use imports in thread_local_inner! in statik
2e8a2eb7e08 Auto merge of #132116 - matthiaskrgr:rollup-3a0ia4r, r=matthiaskrgr
2a751f0ecfb Rollup merge of #131790 - nmathewson:doc_socketaddr_representation, r=tgross35
7315f476515 Auto merge of #131985 - compiler-errors:const-pred, r=fee1-dead
deebbdb006e provide default impl for as_utf8_pattern
478357c2879 Auto merge of #123550 - GnomedDev:remove-initial-arc, r=Noratrieb
2ed812b6ba9 Document textual format of SocketAddrV{4,6}
2dd5cd15ed1 Remove associated type based effects logic
c50af69cc05 [musl] use posix_spawn if a directory change was requested
ec9c62c5d8b Rollup merge of #130225 - adetaylor:rename-old-receiver, r=wesleywiser
58baa6b1017 Rollup merge of #132066 - tifv:ptr-docs-typo, r=Amanieu
4eafd5f88bf Rollup merge of #132065 - tifv:dangling-docs, r=Noratrieb
a351830dc1e Rollup merge of #132060 - joshtriplett:innermost-outermost, r=jieyouxu
726032a41a5 Rollup merge of #132039 - a1phyr:vecdeque_read_exact, r=Noratrieb
52be5ab2eba Rollup merge of #130991 - LaihoE:vectorized_slice_contains, r=Noratrieb
ed7dcef9363 const fn str::split_at*
908c430f90b const fn str::is_char_boundary
3804ceb5928 vectorized SliceContains
dab8a07e0c6 s/SmartPointer/CoerceReferent/g
be2e2520a8f fix a typo in documentation of pointer::sub_ptr()
4489ada2533 fix documentation of ptr::dangling() function
beb0813c0f9 "innermost", "outermost", "leftmost", and "rightmost" don't need hyphens
e5207dc3e2f Specialize `read_exact` and `read_buf_exact` for `VecDeque`
57241596b67 Rollup merge of #132031 - slanterns:rc_default, r=ibraheemdev
cdf7373322d Rollup merge of #131707 - clarfonthey:constify-core-tests, r=thomcc
a723e9945c0 Auto merge of #131929 - LaihoE:replace_default_capacity, r=joboet
e4fc33d4c2b AIX use /dev/urandom for impl
c0f78b0fd64 better default capacity for str::replace
6cb2df2e4f2 Rename Receiver -> LegacyReceiver
44957966850 refactor `Arc<T>::default`
82498152f13 optimize `Rc<T>::default`
cd6cb9b77a8 Rollup merge of #131697 - ShE3py:rt-arg-lifetimes, r=Amanieu
9d53c3d831f Document PartialEq impl for OnceLock
f03c8c01999 Rollup merge of #132003 - RalfJung:abi-compat-docs, r=traviscross
4066a64f143 Rollup merge of #130350 - RalfJung:strict-provenance, r=dtolnay
bda4d9a08c4 update ABI compatibility docs for new option-like rules
f215166548f move strict provenance lints to new feature gate, remove old feature gates
f623dd3510b stabilize Strict Provenance and Exposed Provenance
f6c9bdee93a fix docs
8ca8d1c2840 replace FindFirstFileW with FindFirstFileExW and apply optimization
ec7fd656204 replace FindFirstFileW with FindFirstFileExW and regenerate bindings
fe800fec874 Auto merge of #131948 - matthiaskrgr:rollup-c9rvzu6, r=matthiaskrgr
cbce52d7930 Support lock() and lock_shared() on async IO Files
337589b47fe Rollup merge of #131921 - klensy:statx_all, r=ChrisDenton
a18ec462803 Rollup merge of #131772 - GnomedDev:remove-proc_macro-todo, r=petrochenkov
2de2bb8c725 Auto merge of #131907 - saethlin:update-compiler-builtins, r=tgross35
27da9878375 Update `compiler-builtins` to 0.1.134
4926eaf8eb3 Rollup merge of #131919 - RalfJung:zero-sized-accesses, r=jhpratt
128a16b2582 Rollup merge of #131890 - printfn:precise-capturing-docs, r=traviscross
482e00e978e Rollup merge of #127462 - Ayush1325:uefi-env, r=joboet
5b58eaf4c04 Remove the Arc rt::init allocation for thread info
907235305db Auto merge of #131816 - Zalathar:profiler-feature, r=Kobzol
50b999587c3 replace STATX_ALL with (STATX_BASIC_STATS | STATX_BTIME) as former is deprecated
e10007c801c zero-sized accesses are fine on null pointers
c839b06e6f7 Update `use` keyword docs to describe precise capturing
52d741650e3 std: uefi: Use common function for UEFI shell
ee906dc299f std: uefi: Add basic Env variables
bcb8c74ac6d Auto merge of #131895 - jieyouxu:rollup-jyt3pic, r=jieyouxu
ec7185ea142 Rollup merge of #126207 - devnexen:stack_overflow_libc_upd, r=joboet
d490861f932 Auto merge of #131841 - paulmenage:futex-abstraction, r=joboet
321ed487b43 Revert using `HEAP` static in Windows alloc
9f4792a0c17 Rollup merge of #131866 - jieyouxu:thread_local, r=jhpratt
70a07c3e85c Rollup merge of #131858 - AnthonyMikh:AnthonyMikh/repeat_n-is-not-that-special-anymore, r=jhpratt
397c893fc1a Rollup merge of #131809 - collinoc:fix-retain-mut-docs, r=jhpratt
958ce90f8b5 Rollup merge of #131774 - thesummer:rtems-add-getentropy, r=joboet
a02fe2c3ab7 Rollup merge of #130136 - GKFX:stabilize-const-pin, r=dtolnay
b75a761783d Add entropy source for RTEMS
ee0238f6983 Rollup merge of #131850 - lexeyOK:master, r=compiler-errors
2fb1b3123dc Rollup merge of #131823 - thesummer:bump-libc-0.2.160, r=workingjubilee
bad79f7adeb Rollup merge of #131654 - betrusted-io:xous-various-fixes, r=thomcc
5c57b583a5e Avoid shadowing user provided types or type aliases in `thread_local!`
3d6e29ab956 remove outdated documentation for `repeat_n`
2925689b331 Auto merge of #131572 - cuviper:ub-index_range, r=thomcc
7e5438a1c0e Bump libc to 0.2.161
11e5ea4617e std::unix::stack_overflow::drop_handler addressing todo through libc update
f7bd16a03cc Missing parenthesis
1df22fb2b27 Abstract the state type for futexes
704ed799ad7 Rollup merge of #131835 - ferrocene:amanjeev/add-missing-attribute-unwind, r=Noratrieb
afedc50a999 Rollup merge of #131833 - c-ryan747:patch-1, r=Noratrieb
55231fc463a Auto merge of #130223 - LaihoE:faster_str_replace, r=thomcc
e3b067b3d5c Do not run test where it cannot run
96406cc04ba Add must_use to CommandExt::exec
ff3476a0445 Make `profiler_builtins` an optional dependency of sysroot, not std
f94af194acf Remove TODO in proc_macro now `const_refs_to_static` is stable
31b63e6cd04 Fix predicate signatures in retain_mut docs
bfca7d41a5f Win: Remove special casing of the win7 target for `std::fs::rename`
85ffa8b1c0d Auto merge of #131797 - matthiaskrgr:rollup-lzpze2k, r=matthiaskrgr
ea93b310074 Partially stabilize const_pin
5f8ad4da356 Rollup merge of #131730 - zlfn:master, r=tgross35
354887191ca Auto merge of #131792 - matthiaskrgr:rollup-480nwg4, r=matthiaskrgr
828d995efd6 Rollup merge of #130822 - bjoernager:non-null-from-ref, r=dtolnay
0d4e8ae492a Auto merge of #131767 - cuviper:bump-stage0, r=Mark-Simulacrum
3fc0b3dd5ab Rollup merge of #131746 - slanterns:once_box_order, r=joboet
1e8ad2f6796 Rollup merge of #131712 - tgross35:const-lazy_cell_into_inner, r=joboet
67981579caa Auto merge of #131460 - jwong101:default-placement-new, r=ibraheemdev
c38229a1748 update bootstrap configs
0a1c9a389b5 replace placeholder version
9f57bef95bb relax a memory order in `once_box`
fa35f4afd1d Rollup merge of #131521 - jdonszelmann:rc, r=joboet
466bf5e0288 Rollup merge of #130568 - eduardosm:…
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
b522de4 [create-pull-request] automated change a1dbb6a Rustfmt a52615b occured -> occurred 5a37baa Allow Rust to use a number of libc filesystem calls 03f5709 Windows: Test that deleting a running binary fails 471baea Update platform information for remove_file 89f2005 Windows: remove readonly files d49e4a6 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 3b68051 Document `Sum::sum` returns additive identities for `[]` 3f758e4 Clean up 'HashMap' and 'HashSet' docs; 793027c Optimize `Rc::<str>::default()` implementation 25c4f83 std: get rid of `sys_common::io` ea0d492 std: move `io` module out of `pal` 805e8e6 Move two windows process tests to tests/ui ad7b631 tests(std/net): remove outdated `base_port` calculation d816238 sys: net: Add UEFI stubs 1a2ca8d Remove some unnecessary parens in `assert!` conditions 18d5bbe remove use of `feature(trait_upcasting)` from core tests f1b58f1 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; f737e2e Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` ce3ffd6 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` ef629cd Fix unreachable_pub lint for hermit target 0c53135 Fix link in from_fn.rs bc61def Use `widening_mul` 428b7c7 Add OneSidedRangeBound to eliminate panic in `split_point_of` a5fa615 Rename slice::take methods to split_off e6d28e5 Update `compiler-builtins` to 0.1.145 02e41f1 specify a prim@slice in docs 14f7f4c implement inherent str constructors 0afdd69 std: move network code into `sys` 702ef8b uefi: process: Add support for command environment variables fa2c0cc Mark `std::fmt::from_fn` as `#[must_use]` 1ab8856 Rename rustc_contract to contract da34e0f Improve contracts intrisics and remove wrapper function 435f432 Separate contract feature gates for the internal machinery e064caf Desugars contract into the internal AST extensions 2b9391a Express contracts as part of function header and lower it to the contract lang items 2541430 contracts: added lang items that act as hooks for rustc-injected code to invoke. c58a634 Contracts core intrinsics. 8c36c0d More PR feedback 2200ba1 PR feedback 52234f8 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation e9cbf64 Add note about `FnPtr` being exposed as public bound 2473ac4 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 1103e48 For NonZero impl macros, give unsigned impls access to the corresponding signed type ed9c395 std::fs: further simplify dirent64 handling 68247c8 add UnsafeCell direct access APIs 7df9713 primitive type migration from mod.rs to primitives.rs 488bc0b implement unstable `new_range` feature bdf4a43 std::range bf38e5b Remove stabilized feature gate 1da5a34 Move env modifying tests to a separate integration test a8fbaca Fix for SGX d7ded6a Fix benchmarking of libstd ffe0f5c Move std::sync unit tests to integration tests 5258561 Move std::thread_local unit tests to integration tests ec2a17a Move std::time unit tests to integration tests 2ef34e0 Move std::path unit tests to integration tests 6a95d3d Move std::panic unit tests to integration tests 361d3bc Move std::num unit tests to integration tests 03131a8 Move std float unit tests to integration tests 531b7f7 Move std::error unit tests to integration tests 39f7281 Move std::env unit tests to integration tests 77640c1 no unsafe pointer and no overflowing_literals in fmt::Display of integers 93b2a7d black_box integer-input on fmt benches dcba488 OnceCell & OnceLock docs: Using (un)initialized consistently e666d1e Docs for f16 and f128: correct a typo and add details 9966ad4 rustc_allowed_through_unstable_modules: require deprecation message a5e952c Update encode_utf16 to mention it is native endian f96f4d7 remove Rustc{En,De}codable from library and compiler 9c247ef make rustc_encodable_decodable feature properly unstable 230cd60 Fix sentence in process::abort d79ae4b document ptr comparison being by address e319527 stabilize `once_wait` 8cb78d6 implement all min/max fns in terms of `<`/`is_lt` d61cec3 improve doc tests for (min/max/minmax).* functions af91544 docs: Documented Send and Sync requirements for Mutex + MutexGuard cd7b822 Add documentation for derive(CoercePointee) ac653f9 Fix off-by-one error causing driftsort to crash c77eb3d Insert null checks for pointer dereferences when debug assertions are enabled 3e9d605 atomic: extend compare_and_swap migration docs 8f3ae96 float::min/max: mention the non-determinism around signed 0 be452a6 Stabilize `const_black_box` 00a9e43 Improve documentation for file locking 54d3b74 Remove minor future footgun in `impl Debug for MaybeUninit` e5f6d8f Add `AsyncFn*` to core prelude 9a0a709 uefi: Implement path 35f11ca Implement `int_from_ascii` (rust-lang#134821) 35d4163 Cleanup docs for Allocator ac377e6 btree/node.rs: pop_internal_level: does not invalidate other handles 920fa6e btree/node.rs: remove incorrect comment from pop_internal_level docs 385c717 add inline attribute and codegen test adf0dec split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 7c5ab2e optimize slice::ptr_rotate for compile-time-constant small rotates 33cd5d1 Test pipes also when not running on Windows and Linux simultaneously 6f8fc94 uefi: process: Fix args 1eb9fe0 [cfg_match] Document the use of expressions 698df05 Update comments and sort target_arch in c_char_definition 8c5c4f0 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 45c54a6 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3733a5f Document powf and powi calls that always return 1.0 6d30eb1 Document purpose of closure in from_fn.rs more clearly c915d27 add missing allocator safety in alloc crate 1869be4 alloc: add `#![warn(unreachable_pub)]` e862ecf Implement `AtomicT::update` & `AtomicT::try_update` 9185d66 fix doc for std::sync::mpmc 9fc7eba Implement phantom variance markers 98ea36e Clarify WindowsMut (Lending)Iterator 5639930 compiler_fence: fix example 92cf2a2 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 80956bb Move `std::io::pipe` code into its own file f2caa70 Actually run the bstr test 58d5b32 Update comment 6def6d8 Put all coretests in a separate crate 78bd21a Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls dd425d8 add nto80 x86-64 and aarch64 target 3b06df9 Add support for QNX 7.1 with io-sock on x64 af2473e Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 09b2a5f Update a bunch of comments from before wasi support was added d838323 Remove a bunch of emscripten test ignores cae9279 Fix testing of the standard library with Emscripten d3ae4b2 fix(libtest): Deprecate '--logfile' 98e19ba docs: fix typo in std::pin overview 6c8e6c4 ports last few library files to new intrinsic style bf63483 Improve and expand documentation of pipes bf792c9 Fix set_name in thread mod for NuttX 1abd186 Fix `FormattingOptions` instantiation with `Default` 6aca6b1 Update library/core/src/num/nonzero.rs 8e1de57 Add memory layout documentation to generic NonZero<T> a5992d4 Fix whitespace 1d55704 document order of items in iterator from drain 914a680 Add `File already exists` error doc to `hard_link` function e53a737 Doc difference between extend and extend_from_slice 2859105 Make `Vec::pop_if` a bit more presentable f78e3c6 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` d908b58 remove pointless allowed_through_unstable_modules on TryFromSliceError 0ae2a56 test: add `#![warn(unreachable_pub)]` e0f56a9 proc_macro: add `#![warn(unreachable_pub)]` cd83512 Implement `CloneToUninit` for `ByteStr` 09568ff Add doc aliases for BStr and BString f89a518 Omit some more `From` impls to avoid inference failures ac8b121 Support `no_rc`, `no_sync`, and `no_global_oom_handling` f84f570 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 427d60b Implement `ByteStr` and `ByteString` types 39f3629 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` f69f613 Library: Finalize dyn compatibility renaming 962b63e Remove test panic from File::open d14a543 fix OsString::from_encoded_bytes_unchecked description 26a1665 Add an example of using `carrying_mul_add` to write wider multiplication ac29059 Outline panicking code for `LocalKey::with` f0b087f core: `#[allow(unreachable_pub)]` on unreachable `pub use` f3c8222 core: add `#![warn(unreachable_pub)]` 4784e6d rtstartup: add `#![warn(unreachable_pub)]` 0efea71 panic_unwind: add `#![warn(unreachable_pub)]` b7dc82d Recognise new IPv6 documentation range from RFC9637 565cb69 1. Removed 'rustc_nounwind' 2. Rewording of comments 3527011 Export likely(), unlikely() and cold_path() in std::hint ea48e49 Correct counting to four in cell module docs 82056ef doc: Point to methods on `Command` as alternatives to `set/remove_var` 4587e75 wasi/io: remove dead files 8ce42ed remove unnecessary rustc_allowed_through_unstable_modules 7ae50ed further improve panic_immediate_abort by removing rtprintpanic messages 42ec27d cargo update d73144b Rewrap following accepting review suggestions from @ibraheemdev 63856da Update library/core/src/slice/mod.rs 97ce761 Update library/core/src/slice/mod.rs 5acf89c Update library/core/src/slice/mod.rs 1eebc10 Update library/core/src/slice/mod.rs e793036 Update library/core/src/slice/mod.rs e1d3671 Update library/core/src/slice/mod.rs 1f38fea Update library/core/src/slice/mod.rs 2e9f94b Update library/core/src/slice/mod.rs d94e194 Update library/core/src/slice/mod.rs 6caff7a Update library/core/src/slice/mod.rs efe2d29 `then be` -> `be` based on feedback from @ibraheemdev 6b98b36 Improve `select_nth_unstable` documentation clarity bd01524 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 12b573a Add references to the IEEE functions for `float_next_up_down` 8154a69 Stabilize `float_next_up_down` abae208 Fix import of pipe in kernel_copy.rs 5245e71 Move `std::pipe::*` into `std::io` 1696956 Clarify note in `std::sync::LazyLock` example 4099054 fix typo in library/alloc/src/sync.rs 445a433 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 110b5cc Adjust syntax 02145ec Less unsafe in `dangling`/`without_provenance` 1cde12f fix typo in typenames of pin documentation 3a1ca31 intrinsics: deprecate calling them via the unstable std::intrinsics path 6c5d4ed add comments explaining main thread identification 91de0c9 std: lazily allocate the main thread handle 2a0a7f8 Revert "Remove the Arc rt::init allocation for thread info" b5eca5f Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. d76c7c8 Update compiler-builtins to 0.1.143 27fc6e1 Rename `pos` to `position` 8f12d12 Convert `struct FromBytesWithNulError` into enum 14b6ac1 Enforce syntactical stability of const traits in HIR 2c6b9c6 Update compiler-builtins to 0.1.141 4ea9ec5 Add another `Vec::splice` example 1a30208 avoid nesting the user-defined main so deeply on the stack 87773bd use a single large catch_unwind in lang_start bde6354 uefi: helpers: Introduce OwnedDevicePath 83edfbb path: Move is_absolute check to sys::path c0b3faf Update the explanation for why we use box_new in vec! 46ab784 Add #[inline] to copy_from_slice fb1a3ca Add inherent versions of MaybeUninit methods for slices f432d05 Make UniqueRc invariant for soundness 2cb59f7 update and clarify StructuralPartialEq docs 51e75d7 Use `NonNull::without_provenance` within the standard library 6b2f148 Initial fs module for uefi 23e3266 Improve the safety documentation on new_unchecked 0bc2b65 Update a bunch of library types for MCP807 5c8b6a3 alloc: remove unsound `IsZero` for raw pointers 32c7937 Fix `proc_macro::quote!` for raw ident 56fb8d6 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` d3833ce Rename the internal simpler `quote` macro to `minimal_quote` 8ec204c Used pthread name functions returning result for FreeBSD and DragonFly 01d0589 Fix ptr::from_ref documentation example comment 545abfe Improve prose around `as_slice` example of IterMut 0980def fmt 9569b28 update cfg(bootstrap) 8a27708 update version placeholders d5afd73 Remove some unnecessary `.into()` calls 59ff2fd add missing provenance APIs on NonNull 8c95755 More compelling env_clear() examples 6d642b8 Implement Condvar::wait_timeout for targets without threads 91f70dd Impl String::into_chars 2555b12 Avoid naming variables `str` 56b404f [generic_assert] Constify methods used by the formatting system 1dc8807 Add support for wasm exception handling to Emscripten target 657b264 chore: remove redundant words in comment 1b8ea82 Add doc aliases for `libm` and IEEE names 7e4e774 Mark `slice::reverse` unstably const 01ae1e3 Clarified the documentation on core::iter::from_fn and core::iter::successors d4501a4 library: fix adler{-> 2}.debug cfeffeb add regression test for unsound Flatten/FlatMap specialization 94db04b do not in-place-iterate over flatmap/flatten df0f409 Fix UWP build a4ae476 Bump backtrace to 0.3.75 bbc353f sync to actual dep verions of backtrace e627b84 turn rustc_box into an intrinsic 501de77 core: use public method instead of instrinsic 1d1e5c2 core: improve comments 97f1eb8 core: implement `bool::select_unpredictable` a40d763 Switch rtems target to panic unwind d6c33a2 path in detail 8c79dfe Move some things to `std::sync::poison` and reexport them in `std::sync` 84b4f2b Bump backtrace to rust-lang/backtrace-rs@4d7906b 2cb3a20 Try to write the panic message with a single `write_all` call 1082114 fix doc for missing Box allocator consistency cc2508f Remove qualification of `std::cmp::Ordering` in `Ord` doc 79605fa std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ebdc5ee Avoid use of LFS64 symbols on Emscripten 36ad2f2 char to_digit: avoid unnecessary casts to u64 8414507 Remove allowing static_mut_refs lint db36729 Tidy up bigint mul methods f3416b7 fix doc for read write unaligned in zst operation 667cc2c Avoid short writes in LineWriter 28ec2d1 ptr docs: make it clear that we are talking only about memory accesses 16f6b7f Make slice::as_flattened_mut unstably const e1bdd8c rename typed_swap → typed_swap_nonoverlapping 598f5ac stabilize const_swap 90498ad fix: typos b48a519 Fix sentence fragment in `pin` module docs 0870f27 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 24e3fc3 Fix compilation issues on other unixes 3f384c3 Eliminate redundant statx syscalls 51251b7 Unify fs::copy and io::copy 691ebac Update `compiler-builtins` to 0.1.140 4b97838 Update library/alloc/tests/sort/tests.rs 3c4779d Fix typos abbf845 Override `carrying_mul_add` in cg_llvm 168dbf1 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 9c8216c Fix mistake in windows file open 17b5aa8 Windows: Use WriteFile to write to a UTF-8 console 43366c3 ptr::copy: fix docs for the overlapping case 24faf39 Fix renaming symlinks on Windows 7d7c6ca docs: inline `core::ffi::c_str` types to `core::ffi` a3b0b32 docs: inline `std::ffi::c_str` types to `std::ffi` 37c37bf unwinding: bump version to fix asm 5f12b8f docs: update code example for Iterator#rposition f0dc061 Use scoped threads in `std::sync::Barrier` examples 07acf02 Fix forgetting to save statx availability on success c5f8add Specify only that duplicates are discarded, not the order. 1f862a9 Document collection `From` and `FromIterator` impls that drop duplicate keys. adb29d7 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 7a18fee Impl FromIterator for tuples with arity 1-12 900c72c Fix formatting c1b27b2 stabilize const_alloc_layout c2ee372 chore: fix typos 986e93f Windows: Use FILE_ALLOCATION_INFO for truncation d869bd6 Bump `stdarch` c07cd10 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type cacda1c Fixes safety docs for `dyn Any + Send {+ Sync}` c04bda7 Use `#[derive(Default)]` instead of manually implementing it f571bfe Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 6b0f0c0 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 7b4478e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code c0d63a1 docs: Permissions.readonly() also ignores root user special permissions 4634edd cargo update 6f3807b Delete `Rvalue::Len` dcabcc8 Asserts the maximum value that can be returned from `Vec::len` c98069c Document `PointerLike` implementation restrictions. 26aa727 Use `&raw` for `ptr` primitive docs 65454d7 Add `is_ascii` function optimized for x86-64 for [u8] 1d643c7 Add new implementation benchmark 357667f Document CTFE behavior of methods that call is_null d3f5cd6 Correctly document is_null CTFE behavior. 327632c Win: rename: Use offset_of! in struct size calculation 0dcd865 Win: Remove special casing of the win7 target for `std::fs::rename` ae9352f Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 5b304b2 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available 3d87fd2 Less unwrap() in documentation 9ce6800 Improve prose around into_slice example of IterMut 5c33aa9 Improve prose around `as_slice` example of Iter 3be2931 Improve prose around basic examples of Iter and IterMut b0dee67 Abstract `ProcThreadAttributeList` into its own struct 33dff0e fix `PointerLike` docs 62a6b75 unimplement `PointerLike` for trait objects b1db22e split up `#[rustc_deny_explicit_impl]` attribute 631f334 remove reference to dangling from slice::Iter 84b6ada mri: add track_caller to thread spawning methods for better backtraces d95fcf3 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 2c6c353 Improve documentation of `element_offset` and related methods cd4a0aa Rename `elem_offset` to `element_offset` 16270d4 docs: Mention `spare_capacity_mut()` in `Vec::set_len` 914b1f6 build: Update libc version f7ae7f9 fix typo in ptr/mod.rs 7783522 Stabilize `#[diagnostic::do_not_recommend]` 6764f83 Use field init shorthand where possible 1fb7c7e fix(LazyCell): documentation of get[_mut] was wrong 1dcf374 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 967013a Fix typo in uint_macros.rs 5a7131d remove obsolete comment and pub(super) visibility 5fe85e4 remove bounds from vec and linkedlist ExtractIf 7eed2f9 Add a range argument to vec.extract_if 72a8e51 Stabilize #[coverage] attribute e452ecc Remove `rustc::existing_doc_keyword` lint. 78460a0 Move `doc(keyword = "while")`. cf50d2f rustdoc-search: let From and Into be unboxed adc800a Replace i32 by char in `split_at` & `_unchecked` facbff2 Add clarity to the "greater" of `VecDeque::insert` cb38349 Replace i32 by char to add clarity 433ec5e Add value accessor methods to `Mutex` and `RwLock` 44bde49 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. adf32f0 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc d754b41 UniqueRc: PinCoerceUnsized and DerefPure eeee276 UniqueRc: comparisons and Hash 0c303bc UniqueRc: Add more trait impls. 771d90e Remove support for specializing ToString outside the standard library 3a466d9 Correct spelling of CURRENT_RUSTC_VERSION 43a3d59 Add documentation for anonymous pipe module 2cca97d feat: clarify how to use `black_box()` 78a5190 Update includes in '/library/core/src/error.rs'; 5cc7379 Fix building `std` for Hermit after `c_char` change a87332e Fix `Path::is_absolute` on Hermit 3d1d54a Fix typos in docs on provenance 6850e7d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 46e56a2 Switch inline(always) in core/src/fmt/rt.rs to plain inline dac66e6 Reword prelude for AsyncFn stabilization 90edbe4 Stabilize async closures 5f633a9 Remove consteval note from <*mut T>::align_offset docs. e49bfa6 Stabilize the Rust 2024 prelude e15932c Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 43c0a18 Move some alloc tests to the alloctests crate 2977655 control libunwind linkage mode via `crt-static` on gnullvm targets 77c79ac Change `GetManyMutError` to match T-libs-api decision d08ffaa Add references to the specific ABI documents 38e1523 Remove l4re from the unsigned char operating system list 18b8e66 De-duplicate and improve definition of core::ffi::c_char 996dd98 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 0f03d97 stabilize const_nonnull_new ba442b2 Remove rustc_const_stable attribute on const NOOP e128341 Add libc funcitons only for wasm32-wasip1-threads. c0a681b Fix compilation for wasm32-wasip1 (without threads). 27bfa1a Use UNIX thread_local implementation for WASI. 1b64387 Run TLS destructors for wasm32-wasip1-threads dfce6e3 Downgrade cc a322e0e Run `cargo update` and update licenses b655ec7 chore: Improve doc comments e35875d Refactor ReadDir into a state machine 2402903 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 5f5bb4f docs: better examples for `std::ops::ControlFlow` 2753b10 Expand home_dir docs 0196d8c Add doc alias 'then_with' for `then` method on `bool` d7adaa3 Adds new intrinsic declaration a822c03 Define acronym for thread local storage af8f23b Add a `collect_into` tuple test case 5e0f6ba Don't impl Extend for 13-tuples aeac17a Simplify documentation for Extend impl for tuples 634b71a Add Extend impls for tuples of arity 1 through 12 3aeb486 Unbreak tidy 515c0a3 Stabilize `std::io::ErrorKind::QuotaExceeded` f2f52b6 Stabilize `std::io::ErrorKind::CrossesDevices` 2e70ae1 Access members of `FormattingOptions` directly instead of via getters/setters a8730ac Removed constness for methods receiving a `&mut` parameter 3789c27 Added better reason for exposing `flags` and `get_flags` as unstable 49b9b24 Formatted 1c36afd Refactored FormattingOptions to use a bitmask for storing flags dc17e16 Revert "Turned public+unstable+hidden functions into private functions" 686f906 Turned public+unstable+hidden functions into private functions 7f65cfa Made all fns const 07a8419 impl Default for fmt::FormattingOptions 6df545c Fixed copy+paste error in comment c7c3868 fmt::FormattingOptions: Renamed `alignment` to `align` 0234f60 Formatter::with_options: Use different lifetimes 58bb384 Fixed another broken test 51853b7 Added struct `fmt::FormattingOptions` 2fa6ef5 Formatter: Access members via getter methods wherever possible cdf164c Stabilize noop_waker 44f4e56 Improve documentation 4112efb Reformat Python code with `ruff` 23bc16e Improve comments for the default backtrace printer 3cc8687 clarify simd_relaxed_fma non-determinism 098ab6e Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 631600c Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` f1ec3fd Allow fn pointers comparisons lint in library 78dbaa1 Update `NonZero` and `NonNull` to not field-project (per MCP807) 246e2dc Add `core::arch::breakpoint` and test b516741 a release operation synchronizes with an acquire operation 3d1959b Update the definition of `borrowing_sub` 17e76b3 stabilize const_{size,align}_of_val 8466dd9 ./x miri: fix sysroot build a986f38 stabilize const_collections_with_hasher and build_hasher_default_const_new 764b08b Match simd_relaxed_fma documentation to fmuladd intrinsic bedd63c Add simd_relaxed_fma intrinsic a835902 Fix `f16::midpoint` const feature gate d1c9629 Use c"lit" for CStrings without unwrap a6dcdc1 Stabilize `const_maybe_uninit_write` b16b393 Fix docs for '<[T]>::as_array'; cab5799 Stabilize `ptr::fn_addr_eq` 02afcda rustc_allow_const_fn_unstable is not used in proc_macro 3513ad4 get rid of a bunch of unnecessary rustc_const_unstable 7f72554 remove a whole bunch of unnecessary const feature gates 4cbe264 add isatty alias for is_terminal 6949ce1 Stabilize unsigned `num_midpoint` feature 62cca39 Mark `slice::copy_from_slice` unstably const 47f5497 Fix chaining `carrying_add`s c99f71d add test for bytewise ptr::swap of a pointer 111df4e move swap_nonoverlapping constness to separate feature gate 74a5eef move slice::swap_unchecked constness to slice_swap_unchecked feature gate defad3f Add diagnostic item for `std::ops::ControlFlow` dd7c619 update link to "C++ Exceptions under the hood" blog 6f42b66 fix: fix codeblocks in `PathBuf` example 2d84873 fix: hurd build, stat64.st_fsid was renamed to st_dev cc30a5c std: clarify comments about initialization b1981f2 std: refactor `pthread`-based synchronization bf1571b bump hashbrown version 9544e8a Fill in a `BTreeSet::entry` example d93c951 Add a tracking issue for `btree_set_entry` b4b42da Add `BTreeSet` entry APIs to match `HashSet` bcbe6d7 Implement code review d12229b thread::available_parallelism for wasm32-wasip1-threads 6a93c75 changes old intrinsic declaration to new declaration 63a1cec Fix and undeprecate home_dir() 8ecbafc refine mir debuginfo docs 7b75f0a Doc comment custom MIR debuginfo. 23bb349 Stabilize `extended_varargs_abi_support` e13c2f5 update cfgs 45980cf replace placeholder version b25ac68 Also use zero when referencing to capacity or length bfe1509 Use consistent wording in docs, use zero instead of 0 243f463 Fix typos in pin.rs adc9925 Share inline(never) generics across crates 4dda752 fmt 0514f6b aix: create shim for lgammaf_r 50b8f24 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; df74eed Remove one stray space. 6246096 Update chown help with a link and adding cap warning 46f5c51 Expand std::os::unix::fs::chown() doc with a warning 6492542 Add missing code examples on `LocalKey` 8a5dc16 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` dadfdb4 Remove unnecessary `#![allow(unused_features)]` 19146e4 Sort and separate lint/feature attributes in `profiler_builtins` 11531a0 std: update internal uses of `io::const_error!` 8c8d5ec std: expose `const_io_error!` as `const_error!` a0eeefe Constify Drop and Destruct e5d5091 miri: disable test_downgrade_observe test on macOS 0119d60 Shorten the `MaybeUninit` `Debug` implementation 16eafe3 Support ranges in `<[T]>::get_many_mut()` f1fb91c btree: add `{Entry,VacantEntry}::insert_entry` 52e5628 std::thread: avoid leading whitespace in some panic messages 1f3b03d Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: b522de4
b522de4 [create-pull-request] automated change a1dbb6a Rustfmt a52615b occured -> occurred 5a37baa Allow Rust to use a number of libc filesystem calls 03f5709 Windows: Test that deleting a running binary fails 471baea Update platform information for remove_file 89f2005 Windows: remove readonly files d49e4a6 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 3b68051 Document `Sum::sum` returns additive identities for `[]` 3f758e4 Clean up 'HashMap' and 'HashSet' docs; 793027c Optimize `Rc::<str>::default()` implementation 25c4f83 std: get rid of `sys_common::io` ea0d492 std: move `io` module out of `pal` 805e8e6 Move two windows process tests to tests/ui ad7b631 tests(std/net): remove outdated `base_port` calculation d816238 sys: net: Add UEFI stubs 1a2ca8d Remove some unnecessary parens in `assert!` conditions 18d5bbe remove use of `feature(trait_upcasting)` from core tests f1b58f1 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; f737e2e Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` ce3ffd6 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` ef629cd Fix unreachable_pub lint for hermit target 0c53135 Fix link in from_fn.rs bc61def Use `widening_mul` 428b7c7 Add OneSidedRangeBound to eliminate panic in `split_point_of` a5fa615 Rename slice::take methods to split_off e6d28e5 Update `compiler-builtins` to 0.1.145 02e41f1 specify a prim@slice in docs 14f7f4c implement inherent str constructors 0afdd69 std: move network code into `sys` 702ef8b uefi: process: Add support for command environment variables fa2c0cc Mark `std::fmt::from_fn` as `#[must_use]` 1ab8856 Rename rustc_contract to contract da34e0f Improve contracts intrisics and remove wrapper function 435f432 Separate contract feature gates for the internal machinery e064caf Desugars contract into the internal AST extensions 2b9391a Express contracts as part of function header and lower it to the contract lang items 2541430 contracts: added lang items that act as hooks for rustc-injected code to invoke. c58a634 Contracts core intrinsics. 8c36c0d More PR feedback 2200ba1 PR feedback 52234f8 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation e9cbf64 Add note about `FnPtr` being exposed as public bound 2473ac4 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 1103e48 For NonZero impl macros, give unsigned impls access to the corresponding signed type ed9c395 std::fs: further simplify dirent64 handling 68247c8 add UnsafeCell direct access APIs 7df9713 primitive type migration from mod.rs to primitives.rs 488bc0b implement unstable `new_range` feature bdf4a43 std::range bf38e5b Remove stabilized feature gate 1da5a34 Move env modifying tests to a separate integration test a8fbaca Fix for SGX d7ded6a Fix benchmarking of libstd ffe0f5c Move std::sync unit tests to integration tests 5258561 Move std::thread_local unit tests to integration tests ec2a17a Move std::time unit tests to integration tests 2ef34e0 Move std::path unit tests to integration tests 6a95d3d Move std::panic unit tests to integration tests 361d3bc Move std::num unit tests to integration tests 03131a8 Move std float unit tests to integration tests 531b7f7 Move std::error unit tests to integration tests 39f7281 Move std::env unit tests to integration tests 77640c1 no unsafe pointer and no overflowing_literals in fmt::Display of integers 93b2a7d black_box integer-input on fmt benches dcba488 OnceCell & OnceLock docs: Using (un)initialized consistently e666d1e Docs for f16 and f128: correct a typo and add details 9966ad4 rustc_allowed_through_unstable_modules: require deprecation message a5e952c Update encode_utf16 to mention it is native endian f96f4d7 remove Rustc{En,De}codable from library and compiler 9c247ef make rustc_encodable_decodable feature properly unstable 230cd60 Fix sentence in process::abort d79ae4b document ptr comparison being by address e319527 stabilize `once_wait` 8cb78d6 implement all min/max fns in terms of `<`/`is_lt` d61cec3 improve doc tests for (min/max/minmax).* functions af91544 docs: Documented Send and Sync requirements for Mutex + MutexGuard cd7b822 Add documentation for derive(CoercePointee) ac653f9 Fix off-by-one error causing driftsort to crash c77eb3d Insert null checks for pointer dereferences when debug assertions are enabled 3e9d605 atomic: extend compare_and_swap migration docs 8f3ae96 float::min/max: mention the non-determinism around signed 0 be452a6 Stabilize `const_black_box` 00a9e43 Improve documentation for file locking 54d3b74 Remove minor future footgun in `impl Debug for MaybeUninit` e5f6d8f Add `AsyncFn*` to core prelude 9a0a709 uefi: Implement path 35f11ca Implement `int_from_ascii` (rust-lang#134821) 35d4163 Cleanup docs for Allocator ac377e6 btree/node.rs: pop_internal_level: does not invalidate other handles 920fa6e btree/node.rs: remove incorrect comment from pop_internal_level docs 385c717 add inline attribute and codegen test adf0dec split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 7c5ab2e optimize slice::ptr_rotate for compile-time-constant small rotates 33cd5d1 Test pipes also when not running on Windows and Linux simultaneously 6f8fc94 uefi: process: Fix args 1eb9fe0 [cfg_match] Document the use of expressions 698df05 Update comments and sort target_arch in c_char_definition 8c5c4f0 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 45c54a6 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3733a5f Document powf and powi calls that always return 1.0 6d30eb1 Document purpose of closure in from_fn.rs more clearly c915d27 add missing allocator safety in alloc crate 1869be4 alloc: add `#![warn(unreachable_pub)]` e862ecf Implement `AtomicT::update` & `AtomicT::try_update` 9185d66 fix doc for std::sync::mpmc 9fc7eba Implement phantom variance markers 98ea36e Clarify WindowsMut (Lending)Iterator 5639930 compiler_fence: fix example 92cf2a2 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 80956bb Move `std::io::pipe` code into its own file f2caa70 Actually run the bstr test 58d5b32 Update comment 6def6d8 Put all coretests in a separate crate 78bd21a Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls dd425d8 add nto80 x86-64 and aarch64 target 3b06df9 Add support for QNX 7.1 with io-sock on x64 af2473e Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 09b2a5f Update a bunch of comments from before wasi support was added d838323 Remove a bunch of emscripten test ignores cae9279 Fix testing of the standard library with Emscripten d3ae4b2 fix(libtest): Deprecate '--logfile' 98e19ba docs: fix typo in std::pin overview 6c8e6c4 ports last few library files to new intrinsic style bf63483 Improve and expand documentation of pipes bf792c9 Fix set_name in thread mod for NuttX 1abd186 Fix `FormattingOptions` instantiation with `Default` 6aca6b1 Update library/core/src/num/nonzero.rs 8e1de57 Add memory layout documentation to generic NonZero<T> a5992d4 Fix whitespace 1d55704 document order of items in iterator from drain 914a680 Add `File already exists` error doc to `hard_link` function e53a737 Doc difference between extend and extend_from_slice 2859105 Make `Vec::pop_if` a bit more presentable f78e3c6 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` d908b58 remove pointless allowed_through_unstable_modules on TryFromSliceError 0ae2a56 test: add `#![warn(unreachable_pub)]` e0f56a9 proc_macro: add `#![warn(unreachable_pub)]` cd83512 Implement `CloneToUninit` for `ByteStr` 09568ff Add doc aliases for BStr and BString f89a518 Omit some more `From` impls to avoid inference failures ac8b121 Support `no_rc`, `no_sync`, and `no_global_oom_handling` f84f570 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 427d60b Implement `ByteStr` and `ByteString` types 39f3629 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` f69f613 Library: Finalize dyn compatibility renaming 962b63e Remove test panic from File::open d14a543 fix OsString::from_encoded_bytes_unchecked description 26a1665 Add an example of using `carrying_mul_add` to write wider multiplication ac29059 Outline panicking code for `LocalKey::with` f0b087f core: `#[allow(unreachable_pub)]` on unreachable `pub use` f3c8222 core: add `#![warn(unreachable_pub)]` 4784e6d rtstartup: add `#![warn(unreachable_pub)]` 0efea71 panic_unwind: add `#![warn(unreachable_pub)]` b7dc82d Recognise new IPv6 documentation range from RFC9637 565cb69 1. Removed 'rustc_nounwind' 2. Rewording of comments 3527011 Export likely(), unlikely() and cold_path() in std::hint ea48e49 Correct counting to four in cell module docs 82056ef doc: Point to methods on `Command` as alternatives to `set/remove_var` 4587e75 wasi/io: remove dead files 8ce42ed remove unnecessary rustc_allowed_through_unstable_modules 7ae50ed further improve panic_immediate_abort by removing rtprintpanic messages 42ec27d cargo update d73144b Rewrap following accepting review suggestions from @ibraheemdev 63856da Update library/core/src/slice/mod.rs 97ce761 Update library/core/src/slice/mod.rs 5acf89c Update library/core/src/slice/mod.rs 1eebc10 Update library/core/src/slice/mod.rs e793036 Update library/core/src/slice/mod.rs e1d3671 Update library/core/src/slice/mod.rs 1f38fea Update library/core/src/slice/mod.rs 2e9f94b Update library/core/src/slice/mod.rs d94e194 Update library/core/src/slice/mod.rs 6caff7a Update library/core/src/slice/mod.rs efe2d29 `then be` -> `be` based on feedback from @ibraheemdev 6b98b36 Improve `select_nth_unstable` documentation clarity bd01524 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 12b573a Add references to the IEEE functions for `float_next_up_down` 8154a69 Stabilize `float_next_up_down` abae208 Fix import of pipe in kernel_copy.rs 5245e71 Move `std::pipe::*` into `std::io` 1696956 Clarify note in `std::sync::LazyLock` example 4099054 fix typo in library/alloc/src/sync.rs 445a433 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 110b5cc Adjust syntax 02145ec Less unsafe in `dangling`/`without_provenance` 1cde12f fix typo in typenames of pin documentation 3a1ca31 intrinsics: deprecate calling them via the unstable std::intrinsics path 6c5d4ed add comments explaining main thread identification 91de0c9 std: lazily allocate the main thread handle 2a0a7f8 Revert "Remove the Arc rt::init allocation for thread info" b5eca5f Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. d76c7c8 Update compiler-builtins to 0.1.143 27fc6e1 Rename `pos` to `position` 8f12d12 Convert `struct FromBytesWithNulError` into enum 14b6ac1 Enforce syntactical stability of const traits in HIR 2c6b9c6 Update compiler-builtins to 0.1.141 4ea9ec5 Add another `Vec::splice` example 1a30208 avoid nesting the user-defined main so deeply on the stack 87773bd use a single large catch_unwind in lang_start bde6354 uefi: helpers: Introduce OwnedDevicePath 83edfbb path: Move is_absolute check to sys::path c0b3faf Update the explanation for why we use box_new in vec! 46ab784 Add #[inline] to copy_from_slice fb1a3ca Add inherent versions of MaybeUninit methods for slices f432d05 Make UniqueRc invariant for soundness 2cb59f7 update and clarify StructuralPartialEq docs 51e75d7 Use `NonNull::without_provenance` within the standard library 6b2f148 Initial fs module for uefi 23e3266 Improve the safety documentation on new_unchecked 0bc2b65 Update a bunch of library types for MCP807 5c8b6a3 alloc: remove unsound `IsZero` for raw pointers 32c7937 Fix `proc_macro::quote!` for raw ident 56fb8d6 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` d3833ce Rename the internal simpler `quote` macro to `minimal_quote` 8ec204c Used pthread name functions returning result for FreeBSD and DragonFly 01d0589 Fix ptr::from_ref documentation example comment 545abfe Improve prose around `as_slice` example of IterMut 0980def fmt 9569b28 update cfg(bootstrap) 8a27708 update version placeholders d5afd73 Remove some unnecessary `.into()` calls 59ff2fd add missing provenance APIs on NonNull 8c95755 More compelling env_clear() examples 6d642b8 Implement Condvar::wait_timeout for targets without threads 91f70dd Impl String::into_chars 2555b12 Avoid naming variables `str` 56b404f [generic_assert] Constify methods used by the formatting system 1dc8807 Add support for wasm exception handling to Emscripten target 657b264 chore: remove redundant words in comment 1b8ea82 Add doc aliases for `libm` and IEEE names 7e4e774 Mark `slice::reverse` unstably const 01ae1e3 Clarified the documentation on core::iter::from_fn and core::iter::successors d4501a4 library: fix adler{-> 2}.debug cfeffeb add regression test for unsound Flatten/FlatMap specialization 94db04b do not in-place-iterate over flatmap/flatten df0f409 Fix UWP build a4ae476 Bump backtrace to 0.3.75 bbc353f sync to actual dep verions of backtrace e627b84 turn rustc_box into an intrinsic 501de77 core: use public method instead of instrinsic 1d1e5c2 core: improve comments 97f1eb8 core: implement `bool::select_unpredictable` a40d763 Switch rtems target to panic unwind d6c33a2 path in detail 8c79dfe Move some things to `std::sync::poison` and reexport them in `std::sync` 84b4f2b Bump backtrace to rust-lang/backtrace-rs@4d7906b 2cb3a20 Try to write the panic message with a single `write_all` call 1082114 fix doc for missing Box allocator consistency cc2508f Remove qualification of `std::cmp::Ordering` in `Ord` doc 79605fa std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ebdc5ee Avoid use of LFS64 symbols on Emscripten 36ad2f2 char to_digit: avoid unnecessary casts to u64 8414507 Remove allowing static_mut_refs lint db36729 Tidy up bigint mul methods f3416b7 fix doc for read write unaligned in zst operation 667cc2c Avoid short writes in LineWriter 28ec2d1 ptr docs: make it clear that we are talking only about memory accesses 16f6b7f Make slice::as_flattened_mut unstably const e1bdd8c rename typed_swap → typed_swap_nonoverlapping 598f5ac stabilize const_swap 90498ad fix: typos b48a519 Fix sentence fragment in `pin` module docs 0870f27 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 24e3fc3 Fix compilation issues on other unixes 3f384c3 Eliminate redundant statx syscalls 51251b7 Unify fs::copy and io::copy 691ebac Update `compiler-builtins` to 0.1.140 4b97838 Update library/alloc/tests/sort/tests.rs 3c4779d Fix typos abbf845 Override `carrying_mul_add` in cg_llvm 168dbf1 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 9c8216c Fix mistake in windows file open 17b5aa8 Windows: Use WriteFile to write to a UTF-8 console 43366c3 ptr::copy: fix docs for the overlapping case 24faf39 Fix renaming symlinks on Windows 7d7c6ca docs: inline `core::ffi::c_str` types to `core::ffi` a3b0b32 docs: inline `std::ffi::c_str` types to `std::ffi` 37c37bf unwinding: bump version to fix asm 5f12b8f docs: update code example for Iterator#rposition f0dc061 Use scoped threads in `std::sync::Barrier` examples 07acf02 Fix forgetting to save statx availability on success c5f8add Specify only that duplicates are discarded, not the order. 1f862a9 Document collection `From` and `FromIterator` impls that drop duplicate keys. adb29d7 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 7a18fee Impl FromIterator for tuples with arity 1-12 900c72c Fix formatting c1b27b2 stabilize const_alloc_layout c2ee372 chore: fix typos 986e93f Windows: Use FILE_ALLOCATION_INFO for truncation d869bd6 Bump `stdarch` c07cd10 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type cacda1c Fixes safety docs for `dyn Any + Send {+ Sync}` c04bda7 Use `#[derive(Default)]` instead of manually implementing it f571bfe Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 6b0f0c0 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 7b4478e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code c0d63a1 docs: Permissions.readonly() also ignores root user special permissions 4634edd cargo update 6f3807b Delete `Rvalue::Len` dcabcc8 Asserts the maximum value that can be returned from `Vec::len` c98069c Document `PointerLike` implementation restrictions. 26aa727 Use `&raw` for `ptr` primitive docs 65454d7 Add `is_ascii` function optimized for x86-64 for [u8] 1d643c7 Add new implementation benchmark 357667f Document CTFE behavior of methods that call is_null d3f5cd6 Correctly document is_null CTFE behavior. 327632c Win: rename: Use offset_of! in struct size calculation 0dcd865 Win: Remove special casing of the win7 target for `std::fs::rename` ae9352f Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 5b304b2 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available 3d87fd2 Less unwrap() in documentation 9ce6800 Improve prose around into_slice example of IterMut 5c33aa9 Improve prose around `as_slice` example of Iter 3be2931 Improve prose around basic examples of Iter and IterMut b0dee67 Abstract `ProcThreadAttributeList` into its own struct 33dff0e fix `PointerLike` docs 62a6b75 unimplement `PointerLike` for trait objects b1db22e split up `#[rustc_deny_explicit_impl]` attribute 631f334 remove reference to dangling from slice::Iter 84b6ada mri: add track_caller to thread spawning methods for better backtraces d95fcf3 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 2c6c353 Improve documentation of `element_offset` and related methods cd4a0aa Rename `elem_offset` to `element_offset` 16270d4 docs: Mention `spare_capacity_mut()` in `Vec::set_len` 914b1f6 build: Update libc version f7ae7f9 fix typo in ptr/mod.rs 7783522 Stabilize `#[diagnostic::do_not_recommend]` 6764f83 Use field init shorthand where possible 1fb7c7e fix(LazyCell): documentation of get[_mut] was wrong 1dcf374 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 967013a Fix typo in uint_macros.rs 5a7131d remove obsolete comment and pub(super) visibility 5fe85e4 remove bounds from vec and linkedlist ExtractIf 7eed2f9 Add a range argument to vec.extract_if 72a8e51 Stabilize #[coverage] attribute e452ecc Remove `rustc::existing_doc_keyword` lint. 78460a0 Move `doc(keyword = "while")`. cf50d2f rustdoc-search: let From and Into be unboxed adc800a Replace i32 by char in `split_at` & `_unchecked` facbff2 Add clarity to the "greater" of `VecDeque::insert` cb38349 Replace i32 by char to add clarity 433ec5e Add value accessor methods to `Mutex` and `RwLock` 44bde49 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. adf32f0 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc d754b41 UniqueRc: PinCoerceUnsized and DerefPure eeee276 UniqueRc: comparisons and Hash 0c303bc UniqueRc: Add more trait impls. 771d90e Remove support for specializing ToString outside the standard library 3a466d9 Correct spelling of CURRENT_RUSTC_VERSION 43a3d59 Add documentation for anonymous pipe module 2cca97d feat: clarify how to use `black_box()` 78a5190 Update includes in '/library/core/src/error.rs'; 5cc7379 Fix building `std` for Hermit after `c_char` change a87332e Fix `Path::is_absolute` on Hermit 3d1d54a Fix typos in docs on provenance 6850e7d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 46e56a2 Switch inline(always) in core/src/fmt/rt.rs to plain inline dac66e6 Reword prelude for AsyncFn stabilization 90edbe4 Stabilize async closures 5f633a9 Remove consteval note from <*mut T>::align_offset docs. e49bfa6 Stabilize the Rust 2024 prelude e15932c Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 43c0a18 Move some alloc tests to the alloctests crate 2977655 control libunwind linkage mode via `crt-static` on gnullvm targets 77c79ac Change `GetManyMutError` to match T-libs-api decision d08ffaa Add references to the specific ABI documents 38e1523 Remove l4re from the unsigned char operating system list 18b8e66 De-duplicate and improve definition of core::ffi::c_char 996dd98 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 0f03d97 stabilize const_nonnull_new ba442b2 Remove rustc_const_stable attribute on const NOOP e128341 Add libc funcitons only for wasm32-wasip1-threads. c0a681b Fix compilation for wasm32-wasip1 (without threads). 27bfa1a Use UNIX thread_local implementation for WASI. 1b64387 Run TLS destructors for wasm32-wasip1-threads dfce6e3 Downgrade cc a322e0e Run `cargo update` and update licenses b655ec7 chore: Improve doc comments e35875d Refactor ReadDir into a state machine 2402903 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 5f5bb4f docs: better examples for `std::ops::ControlFlow` 2753b10 Expand home_dir docs 0196d8c Add doc alias 'then_with' for `then` method on `bool` d7adaa3 Adds new intrinsic declaration a822c03 Define acronym for thread local storage af8f23b Add a `collect_into` tuple test case 5e0f6ba Don't impl Extend for 13-tuples aeac17a Simplify documentation for Extend impl for tuples 634b71a Add Extend impls for tuples of arity 1 through 12 3aeb486 Unbreak tidy 515c0a3 Stabilize `std::io::ErrorKind::QuotaExceeded` f2f52b6 Stabilize `std::io::ErrorKind::CrossesDevices` 2e70ae1 Access members of `FormattingOptions` directly instead of via getters/setters a8730ac Removed constness for methods receiving a `&mut` parameter 3789c27 Added better reason for exposing `flags` and `get_flags` as unstable 49b9b24 Formatted 1c36afd Refactored FormattingOptions to use a bitmask for storing flags dc17e16 Revert "Turned public+unstable+hidden functions into private functions" 686f906 Turned public+unstable+hidden functions into private functions 7f65cfa Made all fns const 07a8419 impl Default for fmt::FormattingOptions 6df545c Fixed copy+paste error in comment c7c3868 fmt::FormattingOptions: Renamed `alignment` to `align` 0234f60 Formatter::with_options: Use different lifetimes 58bb384 Fixed another broken test 51853b7 Added struct `fmt::FormattingOptions` 2fa6ef5 Formatter: Access members via getter methods wherever possible cdf164c Stabilize noop_waker 44f4e56 Improve documentation 4112efb Reformat Python code with `ruff` 23bc16e Improve comments for the default backtrace printer 3cc8687 clarify simd_relaxed_fma non-determinism 098ab6e Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 631600c Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` f1ec3fd Allow fn pointers comparisons lint in library 78dbaa1 Update `NonZero` and `NonNull` to not field-project (per MCP807) 246e2dc Add `core::arch::breakpoint` and test b516741 a release operation synchronizes with an acquire operation 3d1959b Update the definition of `borrowing_sub` 17e76b3 stabilize const_{size,align}_of_val 8466dd9 ./x miri: fix sysroot build a986f38 stabilize const_collections_with_hasher and build_hasher_default_const_new 764b08b Match simd_relaxed_fma documentation to fmuladd intrinsic bedd63c Add simd_relaxed_fma intrinsic a835902 Fix `f16::midpoint` const feature gate d1c9629 Use c"lit" for CStrings without unwrap a6dcdc1 Stabilize `const_maybe_uninit_write` b16b393 Fix docs for '<[T]>::as_array'; cab5799 Stabilize `ptr::fn_addr_eq` 02afcda rustc_allow_const_fn_unstable is not used in proc_macro 3513ad4 get rid of a bunch of unnecessary rustc_const_unstable 7f72554 remove a whole bunch of unnecessary const feature gates 4cbe264 add isatty alias for is_terminal 6949ce1 Stabilize unsigned `num_midpoint` feature 62cca39 Mark `slice::copy_from_slice` unstably const 47f5497 Fix chaining `carrying_add`s c99f71d add test for bytewise ptr::swap of a pointer 111df4e move swap_nonoverlapping constness to separate feature gate 74a5eef move slice::swap_unchecked constness to slice_swap_unchecked feature gate defad3f Add diagnostic item for `std::ops::ControlFlow` dd7c619 update link to "C++ Exceptions under the hood" blog 6f42b66 fix: fix codeblocks in `PathBuf` example 2d84873 fix: hurd build, stat64.st_fsid was renamed to st_dev cc30a5c std: clarify comments about initialization b1981f2 std: refactor `pthread`-based synchronization bf1571b bump hashbrown version 9544e8a Fill in a `BTreeSet::entry` example d93c951 Add a tracking issue for `btree_set_entry` b4b42da Add `BTreeSet` entry APIs to match `HashSet` bcbe6d7 Implement code review d12229b thread::available_parallelism for wasm32-wasip1-threads 6a93c75 changes old intrinsic declaration to new declaration 63a1cec Fix and undeprecate home_dir() 8ecbafc refine mir debuginfo docs 7b75f0a Doc comment custom MIR debuginfo. 23bb349 Stabilize `extended_varargs_abi_support` e13c2f5 update cfgs 45980cf replace placeholder version b25ac68 Also use zero when referencing to capacity or length bfe1509 Use consistent wording in docs, use zero instead of 0 243f463 Fix typos in pin.rs adc9925 Share inline(never) generics across crates 4dda752 fmt 0514f6b aix: create shim for lgammaf_r 50b8f24 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; df74eed Remove one stray space. 6246096 Update chown help with a link and adding cap warning 46f5c51 Expand std::os::unix::fs::chown() doc with a warning 6492542 Add missing code examples on `LocalKey` 8a5dc16 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` dadfdb4 Remove unnecessary `#![allow(unused_features)]` 19146e4 Sort and separate lint/feature attributes in `profiler_builtins` 11531a0 std: update internal uses of `io::const_error!` 8c8d5ec std: expose `const_io_error!` as `const_error!` a0eeefe Constify Drop and Destruct e5d5091 miri: disable test_downgrade_observe test on macOS 0119d60 Shorten the `MaybeUninit` `Debug` implementation 16eafe3 Support ranges in `<[T]>::get_many_mut()` f1fb91c btree: add `{Entry,VacantEntry}::insert_entry` 52e5628 std::thread: avoid leading whitespace in some panic messages 1f3b03d Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: b522de4
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
fb940b2 [create-pull-request] automated change 5315a10 Rustfmt 00b957a occured -> occurred 6aba468 Allow Rust to use a number of libc filesystem calls 43d2be3 Windows: Test that deleting a running binary fails 5105b9d Update platform information for remove_file 3cdbde4 Windows: remove readonly files 60c7dc3 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 084eb8c Document `Sum::sum` returns additive identities for `[]` 037071c Clean up 'HashMap' and 'HashSet' docs; b8aaaab Optimize `Rc::<str>::default()` implementation 3d4fd97 std: get rid of `sys_common::io` 66a398d std: move `io` module out of `pal` f935957 Move two windows process tests to tests/ui dbb9599 tests(std/net): remove outdated `base_port` calculation 005b648 sys: net: Add UEFI stubs 1a0b116 Remove some unnecessary parens in `assert!` conditions 79e9c9c remove use of `feature(trait_upcasting)` from core tests dfbead9 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; c74941b Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` bfc517c tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 1cda7a3 Fix unreachable_pub lint for hermit target 44909d6 Fix link in from_fn.rs dc1dbc2 Use `widening_mul` 3895220 Add OneSidedRangeBound to eliminate panic in `split_point_of` 4fb94e0 Rename slice::take methods to split_off 25153a7 Update `compiler-builtins` to 0.1.145 d702bd6 specify a prim@slice in docs 4203c4e implement inherent str constructors 3ec4981 std: move network code into `sys` 6c16060 uefi: process: Add support for command environment variables d9200a2 Mark `std::fmt::from_fn` as `#[must_use]` 4ea09c2 Rename rustc_contract to contract c830dce Improve contracts intrisics and remove wrapper function fa69801 Separate contract feature gates for the internal machinery 45af03c Desugars contract into the internal AST extensions d317430 Express contracts as part of function header and lower it to the contract lang items 1d461d0 contracts: added lang items that act as hooks for rustc-injected code to invoke. 2cb9f38 Contracts core intrinsics. a1abbbf More PR feedback cf3d55b PR feedback 10112c1 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation e70ccdf Add note about `FnPtr` being exposed as public bound ebbccd8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types b57fbff For NonZero impl macros, give unsigned impls access to the corresponding signed type d5ddef8 std::fs: further simplify dirent64 handling eea9504 add UnsafeCell direct access APIs 0358fc6 primitive type migration from mod.rs to primitives.rs 5f3a8c6 implement unstable `new_range` feature 3b626e4 std::range 6ece567 Remove stabilized feature gate 9c7b2db Move env modifying tests to a separate integration test 9ede70a Fix for SGX 633e60c Fix benchmarking of libstd 89394bf Move std::sync unit tests to integration tests e2e3170 Move std::thread_local unit tests to integration tests e5f318b Move std::time unit tests to integration tests aac00bb Move std::path unit tests to integration tests 41671e2 Move std::panic unit tests to integration tests a8be4d4 Move std::num unit tests to integration tests d600e45 Move std float unit tests to integration tests 4cf5e5e Move std::error unit tests to integration tests 7f5620c Move std::env unit tests to integration tests 9c9ae70 no unsafe pointer and no overflowing_literals in fmt::Display of integers 475ac25 black_box integer-input on fmt benches 752d95f OnceCell & OnceLock docs: Using (un)initialized consistently 5b4b6ef Docs for f16 and f128: correct a typo and add details 8570c08 rustc_allowed_through_unstable_modules: require deprecation message eed1db7 Update encode_utf16 to mention it is native endian 6547b2f remove Rustc{En,De}codable from library and compiler fa88ed2 make rustc_encodable_decodable feature properly unstable a46e4db Fix sentence in process::abort 03b1069 document ptr comparison being by address 28cf5db stabilize `once_wait` 2317bdb implement all min/max fns in terms of `<`/`is_lt` 9c4bcd2 improve doc tests for (min/max/minmax).* functions 56706c6 docs: Documented Send and Sync requirements for Mutex + MutexGuard 0e23c5f Add documentation for derive(CoercePointee) 2ad5676 Fix off-by-one error causing driftsort to crash e5ca833 Insert null checks for pointer dereferences when debug assertions are enabled 5e4cfda atomic: extend compare_and_swap migration docs 06e2aa9 float::min/max: mention the non-determinism around signed 0 7f89641 Stabilize `const_black_box` 84eb74f Improve documentation for file locking f7758ac Remove minor future footgun in `impl Debug for MaybeUninit` 6d7cd66 Add `AsyncFn*` to core prelude 04c0485 uefi: Implement path f058e6f Implement `int_from_ascii` (rust-lang#134821) 6e7d1d8 Cleanup docs for Allocator 4b5fb81 btree/node.rs: pop_internal_level: does not invalidate other handles 9a288d9 btree/node.rs: remove incorrect comment from pop_internal_level docs ed98191 add inline attribute and codegen test c49a2c3 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 0851815 optimize slice::ptr_rotate for compile-time-constant small rotates f575955 Test pipes also when not running on Windows and Linux simultaneously c032899 uefi: process: Fix args 74bf5d9 [cfg_match] Document the use of expressions 21f52fd Update comments and sort target_arch in c_char_definition d5576f2 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items b8a9621 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 1931e07 Document powf and powi calls that always return 1.0 eef6596 Document purpose of closure in from_fn.rs more clearly 6a46153 add missing allocator safety in alloc crate 238ee1d alloc: add `#![warn(unreachable_pub)]` d35a120 Implement `AtomicT::update` & `AtomicT::try_update` 8907df0 fix doc for std::sync::mpmc f9db01b Implement phantom variance markers b989e96 Clarify WindowsMut (Lending)Iterator d8cd66f compiler_fence: fix example 8bbff9a Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 2e81d87 Move `std::io::pipe` code into its own file cb36f36 Actually run the bstr test 08c8df1 Update comment 0472fb9 Put all coretests in a separate crate f4a54ce Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls ce8a878 add nto80 x86-64 and aarch64 target f347bb0 Add support for QNX 7.1 with io-sock on x64 c7f28cb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 78c5136 Update a bunch of comments from before wasi support was added 2020bfa Remove a bunch of emscripten test ignores a9edef8 Fix testing of the standard library with Emscripten 2ae4427 fix(libtest): Deprecate '--logfile' 4ff2571 docs: fix typo in std::pin overview d800b15 ports last few library files to new intrinsic style 5387d34 Improve and expand documentation of pipes 6da4a36 Fix set_name in thread mod for NuttX 1a5d14c Fix `FormattingOptions` instantiation with `Default` 528295a Update library/core/src/num/nonzero.rs 2addb79 Add memory layout documentation to generic NonZero<T> 28a9af1 Fix whitespace 91bc6fb document order of items in iterator from drain 3823051 Add `File already exists` error doc to `hard_link` function 58e6731 Doc difference between extend and extend_from_slice cbdf743 Make `Vec::pop_if` a bit more presentable 23b6b11 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` 5304127 remove pointless allowed_through_unstable_modules on TryFromSliceError 4953e04 test: add `#![warn(unreachable_pub)]` 75d4484 proc_macro: add `#![warn(unreachable_pub)]` 899459d Implement `CloneToUninit` for `ByteStr` d51a68b Add doc aliases for BStr and BString 1d36a36 Omit some more `From` impls to avoid inference failures b1fa20a Support `no_rc`, `no_sync`, and `no_global_oom_handling` 296f8f0 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 dc57d70 Implement `ByteStr` and `ByteString` types 9325dc2 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` a0bb8e9 Library: Finalize dyn compatibility renaming 3783130 Remove test panic from File::open ee63277 fix OsString::from_encoded_bytes_unchecked description 8b4e726 Add an example of using `carrying_mul_add` to write wider multiplication 58bd9c6 Outline panicking code for `LocalKey::with` 38c4fe5 core: `#[allow(unreachable_pub)]` on unreachable `pub use` 9c70db0 core: add `#![warn(unreachable_pub)]` 8e833ae rtstartup: add `#![warn(unreachable_pub)]` 66397a2 panic_unwind: add `#![warn(unreachable_pub)]` 74fe7ce Recognise new IPv6 documentation range from RFC9637 b127f47 1. Removed 'rustc_nounwind' 2. Rewording of comments 4b1b64b Export likely(), unlikely() and cold_path() in std::hint 36d7d91 Correct counting to four in cell module docs 648b011 doc: Point to methods on `Command` as alternatives to `set/remove_var` 620b4ae wasi/io: remove dead files 80cf5fa remove unnecessary rustc_allowed_through_unstable_modules aeb8fba further improve panic_immediate_abort by removing rtprintpanic messages fe26dab cargo update 8ff3823 Rewrap following accepting review suggestions from @ibraheemdev 01bfa77 Update library/core/src/slice/mod.rs f6725a3 Update library/core/src/slice/mod.rs 02f1178 Update library/core/src/slice/mod.rs b378077 Update library/core/src/slice/mod.rs 2d00b27 Update library/core/src/slice/mod.rs 03b69bb Update library/core/src/slice/mod.rs a0e8389 Update library/core/src/slice/mod.rs 2e4a130 Update library/core/src/slice/mod.rs 6d683af Update library/core/src/slice/mod.rs e5aac6d Update library/core/src/slice/mod.rs 5fcd5f1 `then be` -> `be` based on feedback from @ibraheemdev b645984 Improve `select_nth_unstable` documentation clarity 0cd2052 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 53db592 Add references to the IEEE functions for `float_next_up_down` 254b5a5 Stabilize `float_next_up_down` ce067fc Fix import of pipe in kernel_copy.rs d46e787 Move `std::pipe::*` into `std::io` c1cb743 Clarify note in `std::sync::LazyLock` example baf95f5 fix typo in library/alloc/src/sync.rs 3cb210e Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6ae3855 Adjust syntax e68b17a Less unsafe in `dangling`/`without_provenance` 7f634a8 fix typo in typenames of pin documentation c8f5cf5 intrinsics: deprecate calling them via the unstable std::intrinsics path abf1e47 add comments explaining main thread identification f1de75c std: lazily allocate the main thread handle 1b33103 Revert "Remove the Arc rt::init allocation for thread info" d18398a Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. 6f20552 Update compiler-builtins to 0.1.143 d84c54a Rename `pos` to `position` 271650f Convert `struct FromBytesWithNulError` into enum a487c5b Enforce syntactical stability of const traits in HIR 29b2d16 Update compiler-builtins to 0.1.141 9c64fdb Add another `Vec::splice` example fa08333 avoid nesting the user-defined main so deeply on the stack 614c89e use a single large catch_unwind in lang_start 474f53b uefi: helpers: Introduce OwnedDevicePath b22229f path: Move is_absolute check to sys::path 2d8f9b4 Update the explanation for why we use box_new in vec! 1088f7b Add #[inline] to copy_from_slice 7266d53 Add inherent versions of MaybeUninit methods for slices be0e6e7 Make UniqueRc invariant for soundness 279d703 update and clarify StructuralPartialEq docs 25e847a Use `NonNull::without_provenance` within the standard library f920561 Initial fs module for uefi 5a54af2 Improve the safety documentation on new_unchecked 1d2a381 Update a bunch of library types for MCP807 dac14f2 alloc: remove unsound `IsZero` for raw pointers a0edfb7 Fix `proc_macro::quote!` for raw ident 2b3bfbd Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 7d3dc06 Rename the internal simpler `quote` macro to `minimal_quote` 7e2ae35 Used pthread name functions returning result for FreeBSD and DragonFly 183510d Fix ptr::from_ref documentation example comment 9e6ca7c Improve prose around `as_slice` example of IterMut 6a5b462 fmt ed2fd8a update cfg(bootstrap) fbd1be8 update version placeholders 0826751 Remove some unnecessary `.into()` calls 1b35f3c add missing provenance APIs on NonNull 62a1acb More compelling env_clear() examples ab5cbd7 Implement Condvar::wait_timeout for targets without threads ebc3a4e Impl String::into_chars 91d36bc Avoid naming variables `str` f56a9c3 [generic_assert] Constify methods used by the formatting system fddd801 Add support for wasm exception handling to Emscripten target a5df901 chore: remove redundant words in comment 5847b30 Add doc aliases for `libm` and IEEE names 19f81f0 Mark `slice::reverse` unstably const 638e950 Clarified the documentation on core::iter::from_fn and core::iter::successors 6d5a15f library: fix adler{-> 2}.debug f7fdb20 add regression test for unsound Flatten/FlatMap specialization 0e95294 do not in-place-iterate over flatmap/flatten 82a601f Fix UWP build d6617cb Bump backtrace to 0.3.75 b7b61c0 sync to actual dep verions of backtrace a5f78e0 turn rustc_box into an intrinsic efd72ae core: use public method instead of instrinsic c576f41 core: improve comments 863f925 core: implement `bool::select_unpredictable` 48b3399 Switch rtems target to panic unwind e7d76d9 path in detail ee6faf1 Move some things to `std::sync::poison` and reexport them in `std::sync` e861eac Bump backtrace to rust-lang/backtrace-rs@4d7906b b197ed6 Try to write the panic message with a single `write_all` call 78cb87a fix doc for missing Box allocator consistency 5185280 Remove qualification of `std::cmp::Ordering` in `Ord` doc 48e065a std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten 4b5abfd Avoid use of LFS64 symbols on Emscripten 9489757 char to_digit: avoid unnecessary casts to u64 f75f6a2 Remove allowing static_mut_refs lint 7004071 Tidy up bigint mul methods 8dc10e5 fix doc for read write unaligned in zst operation 563f7d3 Avoid short writes in LineWriter 5026505 ptr docs: make it clear that we are talking only about memory accesses abc910a Make slice::as_flattened_mut unstably const 7b5e590 rename typed_swap → typed_swap_nonoverlapping d690fe4 stabilize const_swap b4d8b19 fix: typos 09ca9e3 Fix sentence fragment in `pin` module docs b67a358 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 6e5d5ba Fix compilation issues on other unixes 7c42423 Eliminate redundant statx syscalls 866418b Unify fs::copy and io::copy 5e3c742 Update `compiler-builtins` to 0.1.140 a0798b7 Update library/alloc/tests/sort/tests.rs c240617 Fix typos 929ca0c Override `carrying_mul_add` in cg_llvm 17ab595 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 326447d Fix mistake in windows file open 94e1781 Windows: Use WriteFile to write to a UTF-8 console e70a5c6 ptr::copy: fix docs for the overlapping case 48cf112 Fix renaming symlinks on Windows 6927f91 docs: inline `core::ffi::c_str` types to `core::ffi` 41de340 docs: inline `std::ffi::c_str` types to `std::ffi` 172cbee unwinding: bump version to fix asm 229451f docs: update code example for Iterator#rposition fc22b41 Use scoped threads in `std::sync::Barrier` examples f011d1f Fix forgetting to save statx availability on success a73fc08 Specify only that duplicates are discarded, not the order. da026ab Document collection `From` and `FromIterator` impls that drop duplicate keys. 9adb459 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 050023d Impl FromIterator for tuples with arity 1-12 0f368dd Fix formatting 7c549af stabilize const_alloc_layout dcf5358 chore: fix typos 9af0ae9 Windows: Use FILE_ALLOCATION_INFO for truncation 3e8e636 Bump `stdarch` 4cf5da8 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type ce0e54d Fixes safety docs for `dyn Any + Send {+ Sync}` 0d4114a Use `#[derive(Default)]` instead of manually implementing it fe8f336 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 82a9ed2 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 988584e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 0a053fb docs: Permissions.readonly() also ignores root user special permissions 5ac0967 cargo update 371f8b2 Delete `Rvalue::Len` 2c291ec Asserts the maximum value that can be returned from `Vec::len` e2c9a84 Document `PointerLike` implementation restrictions. 55ea001 Use `&raw` for `ptr` primitive docs f68acbc Add `is_ascii` function optimized for x86-64 for [u8] 51a50a0 Add new implementation benchmark 7f4fd22 Document CTFE behavior of methods that call is_null f1fc46c Correctly document is_null CTFE behavior. 85d170a Win: rename: Use offset_of! in struct size calculation c1a5c06 Win: Remove special casing of the win7 target for `std::fs::rename` f7c9244 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 0a5aaaf Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available 7f5885d Less unwrap() in documentation ce79cee Improve prose around into_slice example of IterMut b531715 Improve prose around `as_slice` example of Iter 577d653 Improve prose around basic examples of Iter and IterMut 56e449c Abstract `ProcThreadAttributeList` into its own struct d11de7d fix `PointerLike` docs 12b1b9b unimplement `PointerLike` for trait objects ba4b32a split up `#[rustc_deny_explicit_impl]` attribute 87f046e remove reference to dangling from slice::Iter 4760e33 mri: add track_caller to thread spawning methods for better backtraces 2f3db85 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 7c14ce2 Improve documentation of `element_offset` and related methods 3f1b9ed Rename `elem_offset` to `element_offset` dbcfe5e docs: Mention `spare_capacity_mut()` in `Vec::set_len` 4ec77a4 build: Update libc version 7fd3f03 fix typo in ptr/mod.rs 270ee92 Stabilize `#[diagnostic::do_not_recommend]` e9ba48f Use field init shorthand where possible 03fc354 fix(LazyCell): documentation of get[_mut] was wrong a0c4457 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 8411955 Fix typo in uint_macros.rs 45a13cd remove obsolete comment and pub(super) visibility b148190 remove bounds from vec and linkedlist ExtractIf 2ef2a55 Add a range argument to vec.extract_if 01153a3 Stabilize #[coverage] attribute 8d53a00 Remove `rustc::existing_doc_keyword` lint. adaf1bb Move `doc(keyword = "while")`. a25cc81 rustdoc-search: let From and Into be unboxed cf0742f Replace i32 by char in `split_at` & `_unchecked` e733581 Add clarity to the "greater" of `VecDeque::insert` b799c0a Replace i32 by char to add clarity 7c4d9cf Add value accessor methods to `Mutex` and `RwLock` 3378a35 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. 92eb12c UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 15b3fc6 UniqueRc: PinCoerceUnsized and DerefPure fb6a31f UniqueRc: comparisons and Hash 1c02f23 UniqueRc: Add more trait impls. 80cf707 Remove support for specializing ToString outside the standard library fa9906d Correct spelling of CURRENT_RUSTC_VERSION 1c45c41 Add documentation for anonymous pipe module 56cb0d4 feat: clarify how to use `black_box()` 178075d Update includes in '/library/core/src/error.rs'; 2ba2e5a Fix building `std` for Hermit after `c_char` change b2f7fe9 Fix `Path::is_absolute` on Hermit 9b0bcbd Fix typos in docs on provenance 035835d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 6488538 Switch inline(always) in core/src/fmt/rt.rs to plain inline 057441a Reword prelude for AsyncFn stabilization 6cf6efa Stabilize async closures e14f1a6 Remove consteval note from <*mut T>::align_offset docs. ad5d6d3 Stabilize the Rust 2024 prelude 3689a95 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files edab76c Move some alloc tests to the alloctests crate 680b18f control libunwind linkage mode via `crt-static` on gnullvm targets 968d088 Change `GetManyMutError` to match T-libs-api decision 6a874da Add references to the specific ABI documents cd34d19 Remove l4re from the unsigned char operating system list 978bb9e De-duplicate and improve definition of core::ffi::c_char ff91a70 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless ea25199 stabilize const_nonnull_new 804d582 Remove rustc_const_stable attribute on const NOOP 97c1141 Add libc funcitons only for wasm32-wasip1-threads. b61a080 Fix compilation for wasm32-wasip1 (without threads). 4da0710 Use UNIX thread_local implementation for WASI. 0a803ac Run TLS destructors for wasm32-wasip1-threads aed6b94 Downgrade cc 452f956 Run `cargo update` and update licenses dafdb58 chore: Improve doc comments 9ad9917 Refactor ReadDir into a state machine bdc421a wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 59a10c7 docs: better examples for `std::ops::ControlFlow` bc70bfd Expand home_dir docs b27dcfc Add doc alias 'then_with' for `then` method on `bool` f84d2b7 Adds new intrinsic declaration f2934d1 Define acronym for thread local storage 542dd8a Add a `collect_into` tuple test case c726326 Don't impl Extend for 13-tuples 59c6a1c Simplify documentation for Extend impl for tuples 0bbe893 Add Extend impls for tuples of arity 1 through 12 b371f64 Unbreak tidy 25e1df6 Stabilize `std::io::ErrorKind::QuotaExceeded` 9e8a160 Stabilize `std::io::ErrorKind::CrossesDevices` bddc90a Access members of `FormattingOptions` directly instead of via getters/setters 5974a43 Removed constness for methods receiving a `&mut` parameter 2d7072e Added better reason for exposing `flags` and `get_flags` as unstable 8a6c970 Formatted d037750 Refactored FormattingOptions to use a bitmask for storing flags 3bfd3e3 Revert "Turned public+unstable+hidden functions into private functions" f76d0af Turned public+unstable+hidden functions into private functions 0dad34e Made all fns const bf38923 impl Default for fmt::FormattingOptions 999dfb0 Fixed copy+paste error in comment 7d3b6e5 fmt::FormattingOptions: Renamed `alignment` to `align` 3a545cb Formatter::with_options: Use different lifetimes 6848163 Fixed another broken test 9cf4ef3 Added struct `fmt::FormattingOptions` 1907032 Formatter: Access members via getter methods wherever possible ea5600d Stabilize noop_waker 3d2e59f Improve documentation 49e7d6b Reformat Python code with `ruff` ed541f4 Improve comments for the default backtrace printer 5724d53 clarify simd_relaxed_fma non-determinism 72447a1 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. df8010c Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 289a225 Allow fn pointers comparisons lint in library 43009ea Update `NonZero` and `NonNull` to not field-project (per MCP807) 57eb0c5 Add `core::arch::breakpoint` and test 58cc828 a release operation synchronizes with an acquire operation 597435c Update the definition of `borrowing_sub` 58ade88 stabilize const_{size,align}_of_val fecd61a ./x miri: fix sysroot build cd42b05 stabilize const_collections_with_hasher and build_hasher_default_const_new 16d0a8b Match simd_relaxed_fma documentation to fmuladd intrinsic 8bcd888 Add simd_relaxed_fma intrinsic 42fdee3 Fix `f16::midpoint` const feature gate cdd440d Use c"lit" for CStrings without unwrap 8d8b195 Stabilize `const_maybe_uninit_write` 962ffc4 Fix docs for '<[T]>::as_array'; 43ccbef Stabilize `ptr::fn_addr_eq` 3d02196 rustc_allow_const_fn_unstable is not used in proc_macro 8bc24c8 get rid of a bunch of unnecessary rustc_const_unstable 057ed4c remove a whole bunch of unnecessary const feature gates 370442e add isatty alias for is_terminal 85106bd Stabilize unsigned `num_midpoint` feature a84f5e1 Mark `slice::copy_from_slice` unstably const f5eb807 Fix chaining `carrying_add`s 84191e9 add test for bytewise ptr::swap of a pointer 11d662a move swap_nonoverlapping constness to separate feature gate eaa284c move slice::swap_unchecked constness to slice_swap_unchecked feature gate 815e486 Add diagnostic item for `std::ops::ControlFlow` 1ca41f8 update link to "C++ Exceptions under the hood" blog 545f874 fix: fix codeblocks in `PathBuf` example b322e5f fix: hurd build, stat64.st_fsid was renamed to st_dev fd83854 std: clarify comments about initialization 3ce6669 std: refactor `pthread`-based synchronization 4d937e0 bump hashbrown version 50b4bbc Fill in a `BTreeSet::entry` example 38fd18a Add a tracking issue for `btree_set_entry` 9378cd1 Add `BTreeSet` entry APIs to match `HashSet` 9c3a093 Implement code review a66dcf5 thread::available_parallelism for wasm32-wasip1-threads a1570ee changes old intrinsic declaration to new declaration ccb9050 Fix and undeprecate home_dir() f9ebed6 refine mir debuginfo docs 39ab79c Doc comment custom MIR debuginfo. de77086 Stabilize `extended_varargs_abi_support` 61a5a18 update cfgs 5a6ddd1 replace placeholder version 7cd9d04 Also use zero when referencing to capacity or length 4304f34 Use consistent wording in docs, use zero instead of 0 3bd2839 Fix typos in pin.rs 37c6bef Share inline(never) generics across crates 46c519a fmt b867ade aix: create shim for lgammaf_r 161d903 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 6d27ab2 Remove one stray space. 232b7f6 Update chown help with a link and adding cap warning 98568ee Expand std::os::unix::fs::chown() doc with a warning 2e391db Add missing code examples on `LocalKey` ff271d9 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 0bf1cee Remove unnecessary `#![allow(unused_features)]` 83411be Sort and separate lint/feature attributes in `profiler_builtins` fa49342 std: update internal uses of `io::const_error!` a6f3f18 std: expose `const_io_error!` as `const_error!` ef0c227 Constify Drop and Destruct f94853d miri: disable test_downgrade_observe test on macOS 5403e91 Shorten the `MaybeUninit` `Debug` implementation 4d51914 Support ranges in `<[T]>::get_many_mut()` cf313e2 btree: add `{Entry,VacantEntry}::insert_entry` a311198 std::thread: avoid leading whitespace in some panic messages 726a134 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: fb940b2
fb940b2 [create-pull-request] automated change 5315a10 Rustfmt 00b957a occured -> occurred 6aba468 Allow Rust to use a number of libc filesystem calls 43d2be3 Windows: Test that deleting a running binary fails 5105b9d Update platform information for remove_file 3cdbde4 Windows: remove readonly files 60c7dc3 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 084eb8c Document `Sum::sum` returns additive identities for `[]` 037071c Clean up 'HashMap' and 'HashSet' docs; b8aaaab Optimize `Rc::<str>::default()` implementation 3d4fd97 std: get rid of `sys_common::io` 66a398d std: move `io` module out of `pal` f935957 Move two windows process tests to tests/ui dbb9599 tests(std/net): remove outdated `base_port` calculation 005b648 sys: net: Add UEFI stubs 1a0b116 Remove some unnecessary parens in `assert!` conditions 79e9c9c remove use of `feature(trait_upcasting)` from core tests dfbead9 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; c74941b Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` bfc517c tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 1cda7a3 Fix unreachable_pub lint for hermit target 44909d6 Fix link in from_fn.rs dc1dbc2 Use `widening_mul` 3895220 Add OneSidedRangeBound to eliminate panic in `split_point_of` 4fb94e0 Rename slice::take methods to split_off 25153a7 Update `compiler-builtins` to 0.1.145 d702bd6 specify a prim@slice in docs 4203c4e implement inherent str constructors 3ec4981 std: move network code into `sys` 6c16060 uefi: process: Add support for command environment variables d9200a2 Mark `std::fmt::from_fn` as `#[must_use]` 4ea09c2 Rename rustc_contract to contract c830dce Improve contracts intrisics and remove wrapper function fa69801 Separate contract feature gates for the internal machinery 45af03c Desugars contract into the internal AST extensions d317430 Express contracts as part of function header and lower it to the contract lang items 1d461d0 contracts: added lang items that act as hooks for rustc-injected code to invoke. 2cb9f38 Contracts core intrinsics. a1abbbf More PR feedback cf3d55b PR feedback 10112c1 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation e70ccdf Add note about `FnPtr` being exposed as public bound ebbccd8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types b57fbff For NonZero impl macros, give unsigned impls access to the corresponding signed type d5ddef8 std::fs: further simplify dirent64 handling eea9504 add UnsafeCell direct access APIs 0358fc6 primitive type migration from mod.rs to primitives.rs 5f3a8c6 implement unstable `new_range` feature 3b626e4 std::range 6ece567 Remove stabilized feature gate 9c7b2db Move env modifying tests to a separate integration test 9ede70a Fix for SGX 633e60c Fix benchmarking of libstd 89394bf Move std::sync unit tests to integration tests e2e3170 Move std::thread_local unit tests to integration tests e5f318b Move std::time unit tests to integration tests aac00bb Move std::path unit tests to integration tests 41671e2 Move std::panic unit tests to integration tests a8be4d4 Move std::num unit tests to integration tests d600e45 Move std float unit tests to integration tests 4cf5e5e Move std::error unit tests to integration tests 7f5620c Move std::env unit tests to integration tests 9c9ae70 no unsafe pointer and no overflowing_literals in fmt::Display of integers 475ac25 black_box integer-input on fmt benches 752d95f OnceCell & OnceLock docs: Using (un)initialized consistently 5b4b6ef Docs for f16 and f128: correct a typo and add details 8570c08 rustc_allowed_through_unstable_modules: require deprecation message eed1db7 Update encode_utf16 to mention it is native endian 6547b2f remove Rustc{En,De}codable from library and compiler fa88ed2 make rustc_encodable_decodable feature properly unstable a46e4db Fix sentence in process::abort 03b1069 document ptr comparison being by address 28cf5db stabilize `once_wait` 2317bdb implement all min/max fns in terms of `<`/`is_lt` 9c4bcd2 improve doc tests for (min/max/minmax).* functions 56706c6 docs: Documented Send and Sync requirements for Mutex + MutexGuard 0e23c5f Add documentation for derive(CoercePointee) 2ad5676 Fix off-by-one error causing driftsort to crash e5ca833 Insert null checks for pointer dereferences when debug assertions are enabled 5e4cfda atomic: extend compare_and_swap migration docs 06e2aa9 float::min/max: mention the non-determinism around signed 0 7f89641 Stabilize `const_black_box` 84eb74f Improve documentation for file locking f7758ac Remove minor future footgun in `impl Debug for MaybeUninit` 6d7cd66 Add `AsyncFn*` to core prelude 04c0485 uefi: Implement path f058e6f Implement `int_from_ascii` (rust-lang#134821) 6e7d1d8 Cleanup docs for Allocator 4b5fb81 btree/node.rs: pop_internal_level: does not invalidate other handles 9a288d9 btree/node.rs: remove incorrect comment from pop_internal_level docs ed98191 add inline attribute and codegen test c49a2c3 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 0851815 optimize slice::ptr_rotate for compile-time-constant small rotates f575955 Test pipes also when not running on Windows and Linux simultaneously c032899 uefi: process: Fix args 74bf5d9 [cfg_match] Document the use of expressions 21f52fd Update comments and sort target_arch in c_char_definition d5576f2 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items b8a9621 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 1931e07 Document powf and powi calls that always return 1.0 eef6596 Document purpose of closure in from_fn.rs more clearly 6a46153 add missing allocator safety in alloc crate 238ee1d alloc: add `#![warn(unreachable_pub)]` d35a120 Implement `AtomicT::update` & `AtomicT::try_update` 8907df0 fix doc for std::sync::mpmc f9db01b Implement phantom variance markers b989e96 Clarify WindowsMut (Lending)Iterator d8cd66f compiler_fence: fix example 8bbff9a Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 2e81d87 Move `std::io::pipe` code into its own file cb36f36 Actually run the bstr test 08c8df1 Update comment 0472fb9 Put all coretests in a separate crate f4a54ce Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls ce8a878 add nto80 x86-64 and aarch64 target f347bb0 Add support for QNX 7.1 with io-sock on x64 c7f28cb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 78c5136 Update a bunch of comments from before wasi support was added 2020bfa Remove a bunch of emscripten test ignores a9edef8 Fix testing of the standard library with Emscripten 2ae4427 fix(libtest): Deprecate '--logfile' 4ff2571 docs: fix typo in std::pin overview d800b15 ports last few library files to new intrinsic style 5387d34 Improve and expand documentation of pipes 6da4a36 Fix set_name in thread mod for NuttX 1a5d14c Fix `FormattingOptions` instantiation with `Default` 528295a Update library/core/src/num/nonzero.rs 2addb79 Add memory layout documentation to generic NonZero<T> 28a9af1 Fix whitespace 91bc6fb document order of items in iterator from drain 3823051 Add `File already exists` error doc to `hard_link` function 58e6731 Doc difference between extend and extend_from_slice cbdf743 Make `Vec::pop_if` a bit more presentable 23b6b11 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` 5304127 remove pointless allowed_through_unstable_modules on TryFromSliceError 4953e04 test: add `#![warn(unreachable_pub)]` 75d4484 proc_macro: add `#![warn(unreachable_pub)]` 899459d Implement `CloneToUninit` for `ByteStr` d51a68b Add doc aliases for BStr and BString 1d36a36 Omit some more `From` impls to avoid inference failures b1fa20a Support `no_rc`, `no_sync`, and `no_global_oom_handling` 296f8f0 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 dc57d70 Implement `ByteStr` and `ByteString` types 9325dc2 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` a0bb8e9 Library: Finalize dyn compatibility renaming 3783130 Remove test panic from File::open ee63277 fix OsString::from_encoded_bytes_unchecked description 8b4e726 Add an example of using `carrying_mul_add` to write wider multiplication 58bd9c6 Outline panicking code for `LocalKey::with` 38c4fe5 core: `#[allow(unreachable_pub)]` on unreachable `pub use` 9c70db0 core: add `#![warn(unreachable_pub)]` 8e833ae rtstartup: add `#![warn(unreachable_pub)]` 66397a2 panic_unwind: add `#![warn(unreachable_pub)]` 74fe7ce Recognise new IPv6 documentation range from RFC9637 b127f47 1. Removed 'rustc_nounwind' 2. Rewording of comments 4b1b64b Export likely(), unlikely() and cold_path() in std::hint 36d7d91 Correct counting to four in cell module docs 648b011 doc: Point to methods on `Command` as alternatives to `set/remove_var` 620b4ae wasi/io: remove dead files 80cf5fa remove unnecessary rustc_allowed_through_unstable_modules aeb8fba further improve panic_immediate_abort by removing rtprintpanic messages fe26dab cargo update 8ff3823 Rewrap following accepting review suggestions from @ibraheemdev 01bfa77 Update library/core/src/slice/mod.rs f6725a3 Update library/core/src/slice/mod.rs 02f1178 Update library/core/src/slice/mod.rs b378077 Update library/core/src/slice/mod.rs 2d00b27 Update library/core/src/slice/mod.rs 03b69bb Update library/core/src/slice/mod.rs a0e8389 Update library/core/src/slice/mod.rs 2e4a130 Update library/core/src/slice/mod.rs 6d683af Update library/core/src/slice/mod.rs e5aac6d Update library/core/src/slice/mod.rs 5fcd5f1 `then be` -> `be` based on feedback from @ibraheemdev b645984 Improve `select_nth_unstable` documentation clarity 0cd2052 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 53db592 Add references to the IEEE functions for `float_next_up_down` 254b5a5 Stabilize `float_next_up_down` ce067fc Fix import of pipe in kernel_copy.rs d46e787 Move `std::pipe::*` into `std::io` c1cb743 Clarify note in `std::sync::LazyLock` example baf95f5 fix typo in library/alloc/src/sync.rs 3cb210e Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6ae3855 Adjust syntax e68b17a Less unsafe in `dangling`/`without_provenance` 7f634a8 fix typo in typenames of pin documentation c8f5cf5 intrinsics: deprecate calling them via the unstable std::intrinsics path abf1e47 add comments explaining main thread identification f1de75c std: lazily allocate the main thread handle 1b33103 Revert "Remove the Arc rt::init allocation for thread info" d18398a Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. 6f20552 Update compiler-builtins to 0.1.143 d84c54a Rename `pos` to `position` 271650f Convert `struct FromBytesWithNulError` into enum a487c5b Enforce syntactical stability of const traits in HIR 29b2d16 Update compiler-builtins to 0.1.141 9c64fdb Add another `Vec::splice` example fa08333 avoid nesting the user-defined main so deeply on the stack 614c89e use a single large catch_unwind in lang_start 474f53b uefi: helpers: Introduce OwnedDevicePath b22229f path: Move is_absolute check to sys::path 2d8f9b4 Update the explanation for why we use box_new in vec! 1088f7b Add #[inline] to copy_from_slice 7266d53 Add inherent versions of MaybeUninit methods for slices be0e6e7 Make UniqueRc invariant for soundness 279d703 update and clarify StructuralPartialEq docs 25e847a Use `NonNull::without_provenance` within the standard library f920561 Initial fs module for uefi 5a54af2 Improve the safety documentation on new_unchecked 1d2a381 Update a bunch of library types for MCP807 dac14f2 alloc: remove unsound `IsZero` for raw pointers a0edfb7 Fix `proc_macro::quote!` for raw ident 2b3bfbd Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 7d3dc06 Rename the internal simpler `quote` macro to `minimal_quote` 7e2ae35 Used pthread name functions returning result for FreeBSD and DragonFly 183510d Fix ptr::from_ref documentation example comment 9e6ca7c Improve prose around `as_slice` example of IterMut 6a5b462 fmt ed2fd8a update cfg(bootstrap) fbd1be8 update version placeholders 0826751 Remove some unnecessary `.into()` calls 1b35f3c add missing provenance APIs on NonNull 62a1acb More compelling env_clear() examples ab5cbd7 Implement Condvar::wait_timeout for targets without threads ebc3a4e Impl String::into_chars 91d36bc Avoid naming variables `str` f56a9c3 [generic_assert] Constify methods used by the formatting system fddd801 Add support for wasm exception handling to Emscripten target a5df901 chore: remove redundant words in comment 5847b30 Add doc aliases for `libm` and IEEE names 19f81f0 Mark `slice::reverse` unstably const 638e950 Clarified the documentation on core::iter::from_fn and core::iter::successors 6d5a15f library: fix adler{-> 2}.debug f7fdb20 add regression test for unsound Flatten/FlatMap specialization 0e95294 do not in-place-iterate over flatmap/flatten 82a601f Fix UWP build d6617cb Bump backtrace to 0.3.75 b7b61c0 sync to actual dep verions of backtrace a5f78e0 turn rustc_box into an intrinsic efd72ae core: use public method instead of instrinsic c576f41 core: improve comments 863f925 core: implement `bool::select_unpredictable` 48b3399 Switch rtems target to panic unwind e7d76d9 path in detail ee6faf1 Move some things to `std::sync::poison` and reexport them in `std::sync` e861eac Bump backtrace to rust-lang/backtrace-rs@4d7906b b197ed6 Try to write the panic message with a single `write_all` call 78cb87a fix doc for missing Box allocator consistency 5185280 Remove qualification of `std::cmp::Ordering` in `Ord` doc 48e065a std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten 4b5abfd Avoid use of LFS64 symbols on Emscripten 9489757 char to_digit: avoid unnecessary casts to u64 f75f6a2 Remove allowing static_mut_refs lint 7004071 Tidy up bigint mul methods 8dc10e5 fix doc for read write unaligned in zst operation 563f7d3 Avoid short writes in LineWriter 5026505 ptr docs: make it clear that we are talking only about memory accesses abc910a Make slice::as_flattened_mut unstably const 7b5e590 rename typed_swap → typed_swap_nonoverlapping d690fe4 stabilize const_swap b4d8b19 fix: typos 09ca9e3 Fix sentence fragment in `pin` module docs b67a358 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 6e5d5ba Fix compilation issues on other unixes 7c42423 Eliminate redundant statx syscalls 866418b Unify fs::copy and io::copy 5e3c742 Update `compiler-builtins` to 0.1.140 a0798b7 Update library/alloc/tests/sort/tests.rs c240617 Fix typos 929ca0c Override `carrying_mul_add` in cg_llvm 17ab595 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 326447d Fix mistake in windows file open 94e1781 Windows: Use WriteFile to write to a UTF-8 console e70a5c6 ptr::copy: fix docs for the overlapping case 48cf112 Fix renaming symlinks on Windows 6927f91 docs: inline `core::ffi::c_str` types to `core::ffi` 41de340 docs: inline `std::ffi::c_str` types to `std::ffi` 172cbee unwinding: bump version to fix asm 229451f docs: update code example for Iterator#rposition fc22b41 Use scoped threads in `std::sync::Barrier` examples f011d1f Fix forgetting to save statx availability on success a73fc08 Specify only that duplicates are discarded, not the order. da026ab Document collection `From` and `FromIterator` impls that drop duplicate keys. 9adb459 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 050023d Impl FromIterator for tuples with arity 1-12 0f368dd Fix formatting 7c549af stabilize const_alloc_layout dcf5358 chore: fix typos 9af0ae9 Windows: Use FILE_ALLOCATION_INFO for truncation 3e8e636 Bump `stdarch` 4cf5da8 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type ce0e54d Fixes safety docs for `dyn Any + Send {+ Sync}` 0d4114a Use `#[derive(Default)]` instead of manually implementing it fe8f336 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 82a9ed2 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 988584e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 0a053fb docs: Permissions.readonly() also ignores root user special permissions 5ac0967 cargo update 371f8b2 Delete `Rvalue::Len` 2c291ec Asserts the maximum value that can be returned from `Vec::len` e2c9a84 Document `PointerLike` implementation restrictions. 55ea001 Use `&raw` for `ptr` primitive docs f68acbc Add `is_ascii` function optimized for x86-64 for [u8] 51a50a0 Add new implementation benchmark 7f4fd22 Document CTFE behavior of methods that call is_null f1fc46c Correctly document is_null CTFE behavior. 85d170a Win: rename: Use offset_of! in struct size calculation c1a5c06 Win: Remove special casing of the win7 target for `std::fs::rename` f7c9244 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 0a5aaaf Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available 7f5885d Less unwrap() in documentation ce79cee Improve prose around into_slice example of IterMut b531715 Improve prose around `as_slice` example of Iter 577d653 Improve prose around basic examples of Iter and IterMut 56e449c Abstract `ProcThreadAttributeList` into its own struct d11de7d fix `PointerLike` docs 12b1b9b unimplement `PointerLike` for trait objects ba4b32a split up `#[rustc_deny_explicit_impl]` attribute 87f046e remove reference to dangling from slice::Iter 4760e33 mri: add track_caller to thread spawning methods for better backtraces 2f3db85 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 7c14ce2 Improve documentation of `element_offset` and related methods 3f1b9ed Rename `elem_offset` to `element_offset` dbcfe5e docs: Mention `spare_capacity_mut()` in `Vec::set_len` 4ec77a4 build: Update libc version 7fd3f03 fix typo in ptr/mod.rs 270ee92 Stabilize `#[diagnostic::do_not_recommend]` e9ba48f Use field init shorthand where possible 03fc354 fix(LazyCell): documentation of get[_mut] was wrong a0c4457 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 8411955 Fix typo in uint_macros.rs 45a13cd remove obsolete comment and pub(super) visibility b148190 remove bounds from vec and linkedlist ExtractIf 2ef2a55 Add a range argument to vec.extract_if 01153a3 Stabilize #[coverage] attribute 8d53a00 Remove `rustc::existing_doc_keyword` lint. adaf1bb Move `doc(keyword = "while")`. a25cc81 rustdoc-search: let From and Into be unboxed cf0742f Replace i32 by char in `split_at` & `_unchecked` e733581 Add clarity to the "greater" of `VecDeque::insert` b799c0a Replace i32 by char to add clarity 7c4d9cf Add value accessor methods to `Mutex` and `RwLock` 3378a35 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. 92eb12c UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 15b3fc6 UniqueRc: PinCoerceUnsized and DerefPure fb6a31f UniqueRc: comparisons and Hash 1c02f23 UniqueRc: Add more trait impls. 80cf707 Remove support for specializing ToString outside the standard library fa9906d Correct spelling of CURRENT_RUSTC_VERSION 1c45c41 Add documentation for anonymous pipe module 56cb0d4 feat: clarify how to use `black_box()` 178075d Update includes in '/library/core/src/error.rs'; 2ba2e5a Fix building `std` for Hermit after `c_char` change b2f7fe9 Fix `Path::is_absolute` on Hermit 9b0bcbd Fix typos in docs on provenance 035835d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 6488538 Switch inline(always) in core/src/fmt/rt.rs to plain inline 057441a Reword prelude for AsyncFn stabilization 6cf6efa Stabilize async closures e14f1a6 Remove consteval note from <*mut T>::align_offset docs. ad5d6d3 Stabilize the Rust 2024 prelude 3689a95 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files edab76c Move some alloc tests to the alloctests crate 680b18f control libunwind linkage mode via `crt-static` on gnullvm targets 968d088 Change `GetManyMutError` to match T-libs-api decision 6a874da Add references to the specific ABI documents cd34d19 Remove l4re from the unsigned char operating system list 978bb9e De-duplicate and improve definition of core::ffi::c_char ff91a70 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless ea25199 stabilize const_nonnull_new 804d582 Remove rustc_const_stable attribute on const NOOP 97c1141 Add libc funcitons only for wasm32-wasip1-threads. b61a080 Fix compilation for wasm32-wasip1 (without threads). 4da0710 Use UNIX thread_local implementation for WASI. 0a803ac Run TLS destructors for wasm32-wasip1-threads aed6b94 Downgrade cc 452f956 Run `cargo update` and update licenses dafdb58 chore: Improve doc comments 9ad9917 Refactor ReadDir into a state machine bdc421a wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 59a10c7 docs: better examples for `std::ops::ControlFlow` bc70bfd Expand home_dir docs b27dcfc Add doc alias 'then_with' for `then` method on `bool` f84d2b7 Adds new intrinsic declaration f2934d1 Define acronym for thread local storage 542dd8a Add a `collect_into` tuple test case c726326 Don't impl Extend for 13-tuples 59c6a1c Simplify documentation for Extend impl for tuples 0bbe893 Add Extend impls for tuples of arity 1 through 12 b371f64 Unbreak tidy 25e1df6 Stabilize `std::io::ErrorKind::QuotaExceeded` 9e8a160 Stabilize `std::io::ErrorKind::CrossesDevices` bddc90a Access members of `FormattingOptions` directly instead of via getters/setters 5974a43 Removed constness for methods receiving a `&mut` parameter 2d7072e Added better reason for exposing `flags` and `get_flags` as unstable 8a6c970 Formatted d037750 Refactored FormattingOptions to use a bitmask for storing flags 3bfd3e3 Revert "Turned public+unstable+hidden functions into private functions" f76d0af Turned public+unstable+hidden functions into private functions 0dad34e Made all fns const bf38923 impl Default for fmt::FormattingOptions 999dfb0 Fixed copy+paste error in comment 7d3b6e5 fmt::FormattingOptions: Renamed `alignment` to `align` 3a545cb Formatter::with_options: Use different lifetimes 6848163 Fixed another broken test 9cf4ef3 Added struct `fmt::FormattingOptions` 1907032 Formatter: Access members via getter methods wherever possible ea5600d Stabilize noop_waker 3d2e59f Improve documentation 49e7d6b Reformat Python code with `ruff` ed541f4 Improve comments for the default backtrace printer 5724d53 clarify simd_relaxed_fma non-determinism 72447a1 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. df8010c Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 289a225 Allow fn pointers comparisons lint in library 43009ea Update `NonZero` and `NonNull` to not field-project (per MCP807) 57eb0c5 Add `core::arch::breakpoint` and test 58cc828 a release operation synchronizes with an acquire operation 597435c Update the definition of `borrowing_sub` 58ade88 stabilize const_{size,align}_of_val fecd61a ./x miri: fix sysroot build cd42b05 stabilize const_collections_with_hasher and build_hasher_default_const_new 16d0a8b Match simd_relaxed_fma documentation to fmuladd intrinsic 8bcd888 Add simd_relaxed_fma intrinsic 42fdee3 Fix `f16::midpoint` const feature gate cdd440d Use c"lit" for CStrings without unwrap 8d8b195 Stabilize `const_maybe_uninit_write` 962ffc4 Fix docs for '<[T]>::as_array'; 43ccbef Stabilize `ptr::fn_addr_eq` 3d02196 rustc_allow_const_fn_unstable is not used in proc_macro 8bc24c8 get rid of a bunch of unnecessary rustc_const_unstable 057ed4c remove a whole bunch of unnecessary const feature gates 370442e add isatty alias for is_terminal 85106bd Stabilize unsigned `num_midpoint` feature a84f5e1 Mark `slice::copy_from_slice` unstably const f5eb807 Fix chaining `carrying_add`s 84191e9 add test for bytewise ptr::swap of a pointer 11d662a move swap_nonoverlapping constness to separate feature gate eaa284c move slice::swap_unchecked constness to slice_swap_unchecked feature gate 815e486 Add diagnostic item for `std::ops::ControlFlow` 1ca41f8 update link to "C++ Exceptions under the hood" blog 545f874 fix: fix codeblocks in `PathBuf` example b322e5f fix: hurd build, stat64.st_fsid was renamed to st_dev fd83854 std: clarify comments about initialization 3ce6669 std: refactor `pthread`-based synchronization 4d937e0 bump hashbrown version 50b4bbc Fill in a `BTreeSet::entry` example 38fd18a Add a tracking issue for `btree_set_entry` 9378cd1 Add `BTreeSet` entry APIs to match `HashSet` 9c3a093 Implement code review a66dcf5 thread::available_parallelism for wasm32-wasip1-threads a1570ee changes old intrinsic declaration to new declaration ccb9050 Fix and undeprecate home_dir() f9ebed6 refine mir debuginfo docs 39ab79c Doc comment custom MIR debuginfo. de77086 Stabilize `extended_varargs_abi_support` 61a5a18 update cfgs 5a6ddd1 replace placeholder version 7cd9d04 Also use zero when referencing to capacity or length 4304f34 Use consistent wording in docs, use zero instead of 0 3bd2839 Fix typos in pin.rs 37c6bef Share inline(never) generics across crates 46c519a fmt b867ade aix: create shim for lgammaf_r 161d903 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 6d27ab2 Remove one stray space. 232b7f6 Update chown help with a link and adding cap warning 98568ee Expand std::os::unix::fs::chown() doc with a warning 2e391db Add missing code examples on `LocalKey` ff271d9 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 0bf1cee Remove unnecessary `#![allow(unused_features)]` 83411be Sort and separate lint/feature attributes in `profiler_builtins` fa49342 std: update internal uses of `io::const_error!` a6f3f18 std: expose `const_io_error!` as `const_error!` ef0c227 Constify Drop and Destruct f94853d miri: disable test_downgrade_observe test on macOS 5403e91 Shorten the `MaybeUninit` `Debug` implementation 4d51914 Support ranges in `<[T]>::get_many_mut()` cf313e2 btree: add `{Entry,VacantEntry}::insert_entry` a311198 std::thread: avoid leading whitespace in some panic messages 726a134 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: fb940b2
b522de4 [create-pull-request] automated change a1dbb6a Rustfmt a52615b occured -> occurred 5a37baa Allow Rust to use a number of libc filesystem calls 03f5709 Windows: Test that deleting a running binary fails 471baea Update platform information for remove_file 89f2005 Windows: remove readonly files d49e4a6 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 3b68051 Document `Sum::sum` returns additive identities for `[]` 3f758e4 Clean up 'HashMap' and 'HashSet' docs; 793027c Optimize `Rc::<str>::default()` implementation 25c4f83 std: get rid of `sys_common::io` ea0d492 std: move `io` module out of `pal` 805e8e6 Move two windows process tests to tests/ui ad7b631 tests(std/net): remove outdated `base_port` calculation d816238 sys: net: Add UEFI stubs 1a2ca8d Remove some unnecessary parens in `assert!` conditions 18d5bbe remove use of `feature(trait_upcasting)` from core tests f1b58f1 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; f737e2e Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` ce3ffd6 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` ef629cd Fix unreachable_pub lint for hermit target 0c53135 Fix link in from_fn.rs bc61def Use `widening_mul` 428b7c7 Add OneSidedRangeBound to eliminate panic in `split_point_of` a5fa615 Rename slice::take methods to split_off e6d28e5 Update `compiler-builtins` to 0.1.145 02e41f1 specify a prim@slice in docs 14f7f4c implement inherent str constructors 0afdd69 std: move network code into `sys` 702ef8b uefi: process: Add support for command environment variables fa2c0cc Mark `std::fmt::from_fn` as `#[must_use]` 1ab8856 Rename rustc_contract to contract da34e0f Improve contracts intrisics and remove wrapper function 435f432 Separate contract feature gates for the internal machinery e064caf Desugars contract into the internal AST extensions 2b9391a Express contracts as part of function header and lower it to the contract lang items 2541430 contracts: added lang items that act as hooks for rustc-injected code to invoke. c58a634 Contracts core intrinsics. 8c36c0d More PR feedback 2200ba1 PR feedback 52234f8 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation e9cbf64 Add note about `FnPtr` being exposed as public bound 2473ac4 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 1103e48 For NonZero impl macros, give unsigned impls access to the corresponding signed type ed9c395 std::fs: further simplify dirent64 handling 68247c8 add UnsafeCell direct access APIs 7df9713 primitive type migration from mod.rs to primitives.rs 488bc0b implement unstable `new_range` feature bdf4a43 std::range bf38e5b Remove stabilized feature gate 1da5a34 Move env modifying tests to a separate integration test a8fbaca Fix for SGX d7ded6a Fix benchmarking of libstd ffe0f5c Move std::sync unit tests to integration tests 5258561 Move std::thread_local unit tests to integration tests ec2a17a Move std::time unit tests to integration tests 2ef34e0 Move std::path unit tests to integration tests 6a95d3d Move std::panic unit tests to integration tests 361d3bc Move std::num unit tests to integration tests 03131a8 Move std float unit tests to integration tests 531b7f7 Move std::error unit tests to integration tests 39f7281 Move std::env unit tests to integration tests 77640c1 no unsafe pointer and no overflowing_literals in fmt::Display of integers 93b2a7d black_box integer-input on fmt benches dcba488 OnceCell & OnceLock docs: Using (un)initialized consistently e666d1e Docs for f16 and f128: correct a typo and add details 9966ad4 rustc_allowed_through_unstable_modules: require deprecation message a5e952c Update encode_utf16 to mention it is native endian f96f4d7 remove Rustc{En,De}codable from library and compiler 9c247ef make rustc_encodable_decodable feature properly unstable 230cd60 Fix sentence in process::abort d79ae4b document ptr comparison being by address e319527 stabilize `once_wait` 8cb78d6 implement all min/max fns in terms of `<`/`is_lt` d61cec3 improve doc tests for (min/max/minmax).* functions af91544 docs: Documented Send and Sync requirements for Mutex + MutexGuard cd7b822 Add documentation for derive(CoercePointee) ac653f9 Fix off-by-one error causing driftsort to crash c77eb3d Insert null checks for pointer dereferences when debug assertions are enabled 3e9d605 atomic: extend compare_and_swap migration docs 8f3ae96 float::min/max: mention the non-determinism around signed 0 be452a6 Stabilize `const_black_box` 00a9e43 Improve documentation for file locking 54d3b74 Remove minor future footgun in `impl Debug for MaybeUninit` e5f6d8f Add `AsyncFn*` to core prelude 9a0a709 uefi: Implement path 35f11ca Implement `int_from_ascii` (rust-lang#134821) 35d4163 Cleanup docs for Allocator ac377e6 btree/node.rs: pop_internal_level: does not invalidate other handles 920fa6e btree/node.rs: remove incorrect comment from pop_internal_level docs 385c717 add inline attribute and codegen test adf0dec split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 7c5ab2e optimize slice::ptr_rotate for compile-time-constant small rotates 33cd5d1 Test pipes also when not running on Windows and Linux simultaneously 6f8fc94 uefi: process: Fix args 1eb9fe0 [cfg_match] Document the use of expressions 698df05 Update comments and sort target_arch in c_char_definition 8c5c4f0 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 45c54a6 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3733a5f Document powf and powi calls that always return 1.0 6d30eb1 Document purpose of closure in from_fn.rs more clearly c915d27 add missing allocator safety in alloc crate 1869be4 alloc: add `#![warn(unreachable_pub)]` e862ecf Implement `AtomicT::update` & `AtomicT::try_update` 9185d66 fix doc for std::sync::mpmc 9fc7eba Implement phantom variance markers 98ea36e Clarify WindowsMut (Lending)Iterator 5639930 compiler_fence: fix example 92cf2a2 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 80956bb Move `std::io::pipe` code into its own file f2caa70 Actually run the bstr test 58d5b32 Update comment 6def6d8 Put all coretests in a separate crate 78bd21a Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls dd425d8 add nto80 x86-64 and aarch64 target 3b06df9 Add support for QNX 7.1 with io-sock on x64 af2473e Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 09b2a5f Update a bunch of comments from before wasi support was added d838323 Remove a bunch of emscripten test ignores cae9279 Fix testing of the standard library with Emscripten d3ae4b2 fix(libtest): Deprecate '--logfile' 98e19ba docs: fix typo in std::pin overview 6c8e6c4 ports last few library files to new intrinsic style bf63483 Improve and expand documentation of pipes bf792c9 Fix set_name in thread mod for NuttX 1abd186 Fix `FormattingOptions` instantiation with `Default` 6aca6b1 Update library/core/src/num/nonzero.rs 8e1de57 Add memory layout documentation to generic NonZero<T> a5992d4 Fix whitespace 1d55704 document order of items in iterator from drain 914a680 Add `File already exists` error doc to `hard_link` function e53a737 Doc difference between extend and extend_from_slice 2859105 Make `Vec::pop_if` a bit more presentable f78e3c6 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` d908b58 remove pointless allowed_through_unstable_modules on TryFromSliceError 0ae2a56 test: add `#![warn(unreachable_pub)]` e0f56a9 proc_macro: add `#![warn(unreachable_pub)]` cd83512 Implement `CloneToUninit` for `ByteStr` 09568ff Add doc aliases for BStr and BString f89a518 Omit some more `From` impls to avoid inference failures ac8b121 Support `no_rc`, `no_sync`, and `no_global_oom_handling` f84f570 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 427d60b Implement `ByteStr` and `ByteString` types 39f3629 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` f69f613 Library: Finalize dyn compatibility renaming 962b63e Remove test panic from File::open d14a543 fix OsString::from_encoded_bytes_unchecked description 26a1665 Add an example of using `carrying_mul_add` to write wider multiplication ac29059 Outline panicking code for `LocalKey::with` f0b087f core: `#[allow(unreachable_pub)]` on unreachable `pub use` f3c8222 core: add `#![warn(unreachable_pub)]` 4784e6d rtstartup: add `#![warn(unreachable_pub)]` 0efea71 panic_unwind: add `#![warn(unreachable_pub)]` b7dc82d Recognise new IPv6 documentation range from RFC9637 565cb69 1. Removed 'rustc_nounwind' 2. Rewording of comments 3527011 Export likely(), unlikely() and cold_path() in std::hint ea48e49 Correct counting to four in cell module docs 82056ef doc: Point to methods on `Command` as alternatives to `set/remove_var` 4587e75 wasi/io: remove dead files 8ce42ed remove unnecessary rustc_allowed_through_unstable_modules 7ae50ed further improve panic_immediate_abort by removing rtprintpanic messages 42ec27d cargo update d73144b Rewrap following accepting review suggestions from @ibraheemdev 63856da Update library/core/src/slice/mod.rs 97ce761 Update library/core/src/slice/mod.rs 5acf89c Update library/core/src/slice/mod.rs 1eebc10 Update library/core/src/slice/mod.rs e793036 Update library/core/src/slice/mod.rs e1d3671 Update library/core/src/slice/mod.rs 1f38fea Update library/core/src/slice/mod.rs 2e9f94b Update library/core/src/slice/mod.rs d94e194 Update library/core/src/slice/mod.rs 6caff7a Update library/core/src/slice/mod.rs efe2d29 `then be` -> `be` based on feedback from @ibraheemdev 6b98b36 Improve `select_nth_unstable` documentation clarity bd01524 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 12b573a Add references to the IEEE functions for `float_next_up_down` 8154a69 Stabilize `float_next_up_down` abae208 Fix import of pipe in kernel_copy.rs 5245e71 Move `std::pipe::*` into `std::io` 1696956 Clarify note in `std::sync::LazyLock` example 4099054 fix typo in library/alloc/src/sync.rs 445a433 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 110b5cc Adjust syntax 02145ec Less unsafe in `dangling`/`without_provenance` 1cde12f fix typo in typenames of pin documentation 3a1ca31 intrinsics: deprecate calling them via the unstable std::intrinsics path 6c5d4ed add comments explaining main thread identification 91de0c9 std: lazily allocate the main thread handle 2a0a7f8 Revert "Remove the Arc rt::init allocation for thread info" b5eca5f Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. d76c7c8 Update compiler-builtins to 0.1.143 27fc6e1 Rename `pos` to `position` 8f12d12 Convert `struct FromBytesWithNulError` into enum 14b6ac1 Enforce syntactical stability of const traits in HIR 2c6b9c6 Update compiler-builtins to 0.1.141 4ea9ec5 Add another `Vec::splice` example 1a30208 avoid nesting the user-defined main so deeply on the stack 87773bd use a single large catch_unwind in lang_start bde6354 uefi: helpers: Introduce OwnedDevicePath 83edfbb path: Move is_absolute check to sys::path c0b3faf Update the explanation for why we use box_new in vec! 46ab784 Add #[inline] to copy_from_slice fb1a3ca Add inherent versions of MaybeUninit methods for slices f432d05 Make UniqueRc invariant for soundness 2cb59f7 update and clarify StructuralPartialEq docs 51e75d7 Use `NonNull::without_provenance` within the standard library 6b2f148 Initial fs module for uefi 23e3266 Improve the safety documentation on new_unchecked 0bc2b65 Update a bunch of library types for MCP807 5c8b6a3 alloc: remove unsound `IsZero` for raw pointers 32c7937 Fix `proc_macro::quote!` for raw ident 56fb8d6 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` d3833ce Rename the internal simpler `quote` macro to `minimal_quote` 8ec204c Used pthread name functions returning result for FreeBSD and DragonFly 01d0589 Fix ptr::from_ref documentation example comment 545abfe Improve prose around `as_slice` example of IterMut 0980def fmt 9569b28 update cfg(bootstrap) 8a27708 update version placeholders d5afd73 Remove some unnecessary `.into()` calls 59ff2fd add missing provenance APIs on NonNull 8c95755 More compelling env_clear() examples 6d642b8 Implement Condvar::wait_timeout for targets without threads 91f70dd Impl String::into_chars 2555b12 Avoid naming variables `str` 56b404f [generic_assert] Constify methods used by the formatting system 1dc8807 Add support for wasm exception handling to Emscripten target 657b264 chore: remove redundant words in comment 1b8ea82 Add doc aliases for `libm` and IEEE names 7e4e774 Mark `slice::reverse` unstably const 01ae1e3 Clarified the documentation on core::iter::from_fn and core::iter::successors d4501a4 library: fix adler{-> 2}.debug cfeffeb add regression test for unsound Flatten/FlatMap specialization 94db04b do not in-place-iterate over flatmap/flatten df0f409 Fix UWP build a4ae476 Bump backtrace to 0.3.75 bbc353f sync to actual dep verions of backtrace e627b84 turn rustc_box into an intrinsic 501de77 core: use public method instead of instrinsic 1d1e5c2 core: improve comments 97f1eb8 core: implement `bool::select_unpredictable` a40d763 Switch rtems target to panic unwind d6c33a2 path in detail 8c79dfe Move some things to `std::sync::poison` and reexport them in `std::sync` 84b4f2b Bump backtrace to rust-lang/backtrace-rs@4d7906b 2cb3a20 Try to write the panic message with a single `write_all` call 1082114 fix doc for missing Box allocator consistency cc2508f Remove qualification of `std::cmp::Ordering` in `Ord` doc 79605fa std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ebdc5ee Avoid use of LFS64 symbols on Emscripten 36ad2f2 char to_digit: avoid unnecessary casts to u64 8414507 Remove allowing static_mut_refs lint db36729 Tidy up bigint mul methods f3416b7 fix doc for read write unaligned in zst operation 667cc2c Avoid short writes in LineWriter 28ec2d1 ptr docs: make it clear that we are talking only about memory accesses 16f6b7f Make slice::as_flattened_mut unstably const e1bdd8c rename typed_swap → typed_swap_nonoverlapping 598f5ac stabilize const_swap 90498ad fix: typos b48a519 Fix sentence fragment in `pin` module docs 0870f27 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 24e3fc3 Fix compilation issues on other unixes 3f384c3 Eliminate redundant statx syscalls 51251b7 Unify fs::copy and io::copy 691ebac Update `compiler-builtins` to 0.1.140 4b97838 Update library/alloc/tests/sort/tests.rs 3c4779d Fix typos abbf845 Override `carrying_mul_add` in cg_llvm 168dbf1 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 9c8216c Fix mistake in windows file open 17b5aa8 Windows: Use WriteFile to write to a UTF-8 console 43366c3 ptr::copy: fix docs for the overlapping case 24faf39 Fix renaming symlinks on Windows 7d7c6ca docs: inline `core::ffi::c_str` types to `core::ffi` a3b0b32 docs: inline `std::ffi::c_str` types to `std::ffi` 37c37bf unwinding: bump version to fix asm 5f12b8f docs: update code example for Iterator#rposition f0dc061 Use scoped threads in `std::sync::Barrier` examples 07acf02 Fix forgetting to save statx availability on success c5f8add Specify only that duplicates are discarded, not the order. 1f862a9 Document collection `From` and `FromIterator` impls that drop duplicate keys. adb29d7 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 7a18fee Impl FromIterator for tuples with arity 1-12 900c72c Fix formatting c1b27b2 stabilize const_alloc_layout c2ee372 chore: fix typos 986e93f Windows: Use FILE_ALLOCATION_INFO for truncation d869bd6 Bump `stdarch` c07cd10 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type cacda1c Fixes safety docs for `dyn Any + Send {+ Sync}` c04bda7 Use `#[derive(Default)]` instead of manually implementing it f571bfe Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 6b0f0c0 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 7b4478e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code c0d63a1 docs: Permissions.readonly() also ignores root user special permissions 4634edd cargo update 6f3807b Delete `Rvalue::Len` dcabcc8 Asserts the maximum value that can be returned from `Vec::len` c98069c Document `PointerLike` implementation restrictions. 26aa727 Use `&raw` for `ptr` primitive docs 65454d7 Add `is_ascii` function optimized for x86-64 for [u8] 1d643c7 Add new implementation benchmark 357667f Document CTFE behavior of methods that call is_null d3f5cd6 Correctly document is_null CTFE behavior. 327632c Win: rename: Use offset_of! in struct size calculation 0dcd865 Win: Remove special casing of the win7 target for `std::fs::rename` ae9352f Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 5b304b2 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available 3d87fd2 Less unwrap() in documentation 9ce6800 Improve prose around into_slice example of IterMut 5c33aa9 Improve prose around `as_slice` example of Iter 3be2931 Improve prose around basic examples of Iter and IterMut b0dee67 Abstract `ProcThreadAttributeList` into its own struct 33dff0e fix `PointerLike` docs 62a6b75 unimplement `PointerLike` for trait objects b1db22e split up `#[rustc_deny_explicit_impl]` attribute 631f334 remove reference to dangling from slice::Iter 84b6ada mri: add track_caller to thread spawning methods for better backtraces d95fcf3 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 2c6c353 Improve documentation of `element_offset` and related methods cd4a0aa Rename `elem_offset` to `element_offset` 16270d4 docs: Mention `spare_capacity_mut()` in `Vec::set_len` 914b1f6 build: Update libc version f7ae7f9 fix typo in ptr/mod.rs 7783522 Stabilize `#[diagnostic::do_not_recommend]` 6764f83 Use field init shorthand where possible 1fb7c7e fix(LazyCell): documentation of get[_mut] was wrong 1dcf374 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 967013a Fix typo in uint_macros.rs 5a7131d remove obsolete comment and pub(super) visibility 5fe85e4 remove bounds from vec and linkedlist ExtractIf 7eed2f9 Add a range argument to vec.extract_if 72a8e51 Stabilize #[coverage] attribute e452ecc Remove `rustc::existing_doc_keyword` lint. 78460a0 Move `doc(keyword = "while")`. cf50d2f rustdoc-search: let From and Into be unboxed adc800a Replace i32 by char in `split_at` & `_unchecked` facbff2 Add clarity to the "greater" of `VecDeque::insert` cb38349 Replace i32 by char to add clarity 433ec5e Add value accessor methods to `Mutex` and `RwLock` 44bde49 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. adf32f0 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc d754b41 UniqueRc: PinCoerceUnsized and DerefPure eeee276 UniqueRc: comparisons and Hash 0c303bc UniqueRc: Add more trait impls. 771d90e Remove support for specializing ToString outside the standard library 3a466d9 Correct spelling of CURRENT_RUSTC_VERSION 43a3d59 Add documentation for anonymous pipe module 2cca97d feat: clarify how to use `black_box()` 78a5190 Update includes in '/library/core/src/error.rs'; 5cc7379 Fix building `std` for Hermit after `c_char` change a87332e Fix `Path::is_absolute` on Hermit 3d1d54a Fix typos in docs on provenance 6850e7d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 46e56a2 Switch inline(always) in core/src/fmt/rt.rs to plain inline dac66e6 Reword prelude for AsyncFn stabilization 90edbe4 Stabilize async closures 5f633a9 Remove consteval note from <*mut T>::align_offset docs. e49bfa6 Stabilize the Rust 2024 prelude e15932c Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 43c0a18 Move some alloc tests to the alloctests crate 2977655 control libunwind linkage mode via `crt-static` on gnullvm targets 77c79ac Change `GetManyMutError` to match T-libs-api decision d08ffaa Add references to the specific ABI documents 38e1523 Remove l4re from the unsigned char operating system list 18b8e66 De-duplicate and improve definition of core::ffi::c_char 996dd98 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 0f03d97 stabilize const_nonnull_new ba442b2 Remove rustc_const_stable attribute on const NOOP e128341 Add libc funcitons only for wasm32-wasip1-threads. c0a681b Fix compilation for wasm32-wasip1 (without threads). 27bfa1a Use UNIX thread_local implementation for WASI. 1b64387 Run TLS destructors for wasm32-wasip1-threads dfce6e3 Downgrade cc a322e0e Run `cargo update` and update licenses b655ec7 chore: Improve doc comments e35875d Refactor ReadDir into a state machine 2402903 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 5f5bb4f docs: better examples for `std::ops::ControlFlow` 2753b10 Expand home_dir docs 0196d8c Add doc alias 'then_with' for `then` method on `bool` d7adaa3 Adds new intrinsic declaration a822c03 Define acronym for thread local storage af8f23b Add a `collect_into` tuple test case 5e0f6ba Don't impl Extend for 13-tuples aeac17a Simplify documentation for Extend impl for tuples 634b71a Add Extend impls for tuples of arity 1 through 12 3aeb486 Unbreak tidy 515c0a3 Stabilize `std::io::ErrorKind::QuotaExceeded` f2f52b6 Stabilize `std::io::ErrorKind::CrossesDevices` 2e70ae1 Access members of `FormattingOptions` directly instead of via getters/setters a8730ac Removed constness for methods receiving a `&mut` parameter 3789c27 Added better reason for exposing `flags` and `get_flags` as unstable 49b9b24 Formatted 1c36afd Refactored FormattingOptions to use a bitmask for storing flags dc17e16 Revert "Turned public+unstable+hidden functions into private functions" 686f906 Turned public+unstable+hidden functions into private functions 7f65cfa Made all fns const 07a8419 impl Default for fmt::FormattingOptions 6df545c Fixed copy+paste error in comment c7c3868 fmt::FormattingOptions: Renamed `alignment` to `align` 0234f60 Formatter::with_options: Use different lifetimes 58bb384 Fixed another broken test 51853b7 Added struct `fmt::FormattingOptions` 2fa6ef5 Formatter: Access members via getter methods wherever possible cdf164c Stabilize noop_waker 44f4e56 Improve documentation 4112efb Reformat Python code with `ruff` 23bc16e Improve comments for the default backtrace printer 3cc8687 clarify simd_relaxed_fma non-determinism 098ab6e Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 631600c Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` f1ec3fd Allow fn pointers comparisons lint in library 78dbaa1 Update `NonZero` and `NonNull` to not field-project (per MCP807) 246e2dc Add `core::arch::breakpoint` and test b516741 a release operation synchronizes with an acquire operation 3d1959b Update the definition of `borrowing_sub` 17e76b3 stabilize const_{size,align}_of_val 8466dd9 ./x miri: fix sysroot build a986f38 stabilize const_collections_with_hasher and build_hasher_default_const_new 764b08b Match simd_relaxed_fma documentation to fmuladd intrinsic bedd63c Add simd_relaxed_fma intrinsic a835902 Fix `f16::midpoint` const feature gate d1c9629 Use c"lit" for CStrings without unwrap a6dcdc1 Stabilize `const_maybe_uninit_write` b16b393 Fix docs for '<[T]>::as_array'; cab5799 Stabilize `ptr::fn_addr_eq` 02afcda rustc_allow_const_fn_unstable is not used in proc_macro 3513ad4 get rid of a bunch of unnecessary rustc_const_unstable 7f72554 remove a whole bunch of unnecessary const feature gates 4cbe264 add isatty alias for is_terminal 6949ce1 Stabilize unsigned `num_midpoint` feature 62cca39 Mark `slice::copy_from_slice` unstably const 47f5497 Fix chaining `carrying_add`s c99f71d add test for bytewise ptr::swap of a pointer 111df4e move swap_nonoverlapping constness to separate feature gate 74a5eef move slice::swap_unchecked constness to slice_swap_unchecked feature gate defad3f Add diagnostic item for `std::ops::ControlFlow` dd7c619 update link to "C++ Exceptions under the hood" blog 6f42b66 fix: fix codeblocks in `PathBuf` example 2d84873 fix: hurd build, stat64.st_fsid was renamed to st_dev cc30a5c std: clarify comments about initialization b1981f2 std: refactor `pthread`-based synchronization bf1571b bump hashbrown version 9544e8a Fill in a `BTreeSet::entry` example d93c951 Add a tracking issue for `btree_set_entry` b4b42da Add `BTreeSet` entry APIs to match `HashSet` bcbe6d7 Implement code review d12229b thread::available_parallelism for wasm32-wasip1-threads 6a93c75 changes old intrinsic declaration to new declaration 63a1cec Fix and undeprecate home_dir() 8ecbafc refine mir debuginfo docs 7b75f0a Doc comment custom MIR debuginfo. 23bb349 Stabilize `extended_varargs_abi_support` e13c2f5 update cfgs 45980cf replace placeholder version b25ac68 Also use zero when referencing to capacity or length bfe1509 Use consistent wording in docs, use zero instead of 0 243f463 Fix typos in pin.rs adc9925 Share inline(never) generics across crates 4dda752 fmt 0514f6b aix: create shim for lgammaf_r 50b8f24 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; df74eed Remove one stray space. 6246096 Update chown help with a link and adding cap warning 46f5c51 Expand std::os::unix::fs::chown() doc with a warning 6492542 Add missing code examples on `LocalKey` 8a5dc16 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` dadfdb4 Remove unnecessary `#![allow(unused_features)]` 19146e4 Sort and separate lint/feature attributes in `profiler_builtins` 11531a0 std: update internal uses of `io::const_error!` 8c8d5ec std: expose `const_io_error!` as `const_error!` a0eeefe Constify Drop and Destruct e5d5091 miri: disable test_downgrade_observe test on macOS 0119d60 Shorten the `MaybeUninit` `Debug` implementation 16eafe3 Support ranges in `<[T]>::get_many_mut()` f1fb91c btree: add `{Entry,VacantEntry}::insert_entry` 52e5628 std::thread: avoid leading whitespace in some panic messages 1f3b03d Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: b522de4
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
0b9e7db [create-pull-request] automated change f059e7f Rustfmt 29017b4 occured -> occurred f805788 Allow Rust to use a number of libc filesystem calls 014a4f7 Windows: Test that deleting a running binary fails 288094f Update platform information for remove_file 1cbc70e Windows: remove readonly files 419fb5a Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` fa42c72 Document `Sum::sum` returns additive identities for `[]` caa8321 Clean up 'HashMap' and 'HashSet' docs; 0d7271a Optimize `Rc::<str>::default()` implementation 59c1ce8 std: get rid of `sys_common::io` b762461 std: move `io` module out of `pal` 9e723f2 Move two windows process tests to tests/ui effecb5 tests(std/net): remove outdated `base_port` calculation 499fd71 sys: net: Add UEFI stubs 7960886 Remove some unnecessary parens in `assert!` conditions f5cf4cc remove use of `feature(trait_upcasting)` from core tests 3f9c9a5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 5a3b4b6 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 38d4193 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 153a114 Fix unreachable_pub lint for hermit target 7984f24 Fix link in from_fn.rs a4c3372 Use `widening_mul` b017b75 Add OneSidedRangeBound to eliminate panic in `split_point_of` ce263a9 Rename slice::take methods to split_off 4dfb103 Update `compiler-builtins` to 0.1.145 dd3d28a specify a prim@slice in docs f549186 implement inherent str constructors 454ac7a std: move network code into `sys` 830d4ad uefi: process: Add support for command environment variables b2bd55d Mark `std::fmt::from_fn` as `#[must_use]` 667bd76 Rename rustc_contract to contract 0d5c81f Improve contracts intrisics and remove wrapper function 2fe37e3 Separate contract feature gates for the internal machinery b404184 Desugars contract into the internal AST extensions 2e62562 Express contracts as part of function header and lower it to the contract lang items 9c3c339 contracts: added lang items that act as hooks for rustc-injected code to invoke. 3a72fe1 Contracts core intrinsics. b57cfcf More PR feedback b4d438a PR feedback 953a621 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 939e4bb Add note about `FnPtr` being exposed as public bound 9e85484 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 01e4bd7 For NonZero impl macros, give unsigned impls access to the corresponding signed type 3145ee6 std::fs: further simplify dirent64 handling 8dafc28 add UnsafeCell direct access APIs 682a575 primitive type migration from mod.rs to primitives.rs 2ec42e4 implement unstable `new_range` feature 4072f33 std::range cdd8d4e Remove stabilized feature gate 350545d Move env modifying tests to a separate integration test 11b6c6a Fix for SGX 334c705 Fix benchmarking of libstd 78f6fc7 Move std::sync unit tests to integration tests 60c3720 Move std::thread_local unit tests to integration tests 179bb75 Move std::time unit tests to integration tests e26eb65 Move std::path unit tests to integration tests fcbf7a3 Move std::panic unit tests to integration tests 6f8c5c7 Move std::num unit tests to integration tests df99531 Move std float unit tests to integration tests cb75c03 Move std::error unit tests to integration tests 08d046c Move std::env unit tests to integration tests db46a3b no unsafe pointer and no overflowing_literals in fmt::Display of integers 129af80 black_box integer-input on fmt benches ab1177f OnceCell & OnceLock docs: Using (un)initialized consistently f945007 Docs for f16 and f128: correct a typo and add details ba5ff80 rustc_allowed_through_unstable_modules: require deprecation message 4c7a1b5 Update encode_utf16 to mention it is native endian 2a5ceb7 remove Rustc{En,De}codable from library and compiler c7a5b34 make rustc_encodable_decodable feature properly unstable 3866288 Fix sentence in process::abort d45e877 document ptr comparison being by address e9388ea stabilize `once_wait` c3bd3dd implement all min/max fns in terms of `<`/`is_lt` 9537f68 improve doc tests for (min/max/minmax).* functions b9a984a docs: Documented Send and Sync requirements for Mutex + MutexGuard 0764fa5 Add documentation for derive(CoercePointee) c5f1867 Fix off-by-one error causing driftsort to crash 7bfe9c9 Insert null checks for pointer dereferences when debug assertions are enabled 8564335 atomic: extend compare_and_swap migration docs c95ac30 float::min/max: mention the non-determinism around signed 0 ce31fd9 Stabilize `const_black_box` 7fbae89 Improve documentation for file locking fd6c67e Remove minor future footgun in `impl Debug for MaybeUninit` 1a3fc3e Add `AsyncFn*` to core prelude 778b886 uefi: Implement path 7f3d223 Implement `int_from_ascii` (rust-lang#134821) c48b602 Cleanup docs for Allocator 2072889 btree/node.rs: pop_internal_level: does not invalidate other handles 2e09211 btree/node.rs: remove incorrect comment from pop_internal_level docs 54e4132 add inline attribute and codegen test ae4ab8d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 4b82818 optimize slice::ptr_rotate for compile-time-constant small rotates 6127357 Test pipes also when not running on Windows and Linux simultaneously f744234 uefi: process: Fix args 2426aa2 [cfg_match] Document the use of expressions 386689a Update comments and sort target_arch in c_char_definition a2da226 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items d70d068 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 3ff6a84 Document powf and powi calls that always return 1.0 c712283 Document purpose of closure in from_fn.rs more clearly 62aef6a add missing allocator safety in alloc crate c045cb9 alloc: add `#![warn(unreachable_pub)]` 6fec5e2 Implement `AtomicT::update` & `AtomicT::try_update` 8c6a8ef fix doc for std::sync::mpmc bb2367b Implement phantom variance markers 1887e8b Clarify WindowsMut (Lending)Iterator f82e364 compiler_fence: fix example 328866d Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 73169e3 Move `std::io::pipe` code into its own file 4b3b41d Actually run the bstr test 6ca64ff Update comment cd2b90a Put all coretests in a separate crate 2fe2be8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 2d4d2cd add nto80 x86-64 and aarch64 target 1f5f5a6 Add support for QNX 7.1 with io-sock on x64 e3249e7 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 df89792 Update a bunch of comments from before wasi support was added 5998db2 Remove a bunch of emscripten test ignores 9919521 Fix testing of the standard library with Emscripten a27c059 fix(libtest): Deprecate '--logfile' d64e054 docs: fix typo in std::pin overview 9aeac8c ports last few library files to new intrinsic style b2ec24f Improve and expand documentation of pipes e81a9b7 Fix set_name in thread mod for NuttX 067e77e Fix `FormattingOptions` instantiation with `Default` c847e44 Update library/core/src/num/nonzero.rs ea8c3cd Add memory layout documentation to generic NonZero<T> c85dcdf Fix whitespace a7685f1 document order of items in iterator from drain d8c1039 Add `File already exists` error doc to `hard_link` function b170e81 Doc difference between extend and extend_from_slice 098d0a3 Make `Vec::pop_if` a bit more presentable c7491b0 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` e5bad03 remove pointless allowed_through_unstable_modules on TryFromSliceError e1b82ec test: add `#![warn(unreachable_pub)]` e26f831 proc_macro: add `#![warn(unreachable_pub)]` 6817ff0 Implement `CloneToUninit` for `ByteStr` b5355d9 Add doc aliases for BStr and BString 05755b6 Omit some more `From` impls to avoid inference failures d8a009a Support `no_rc`, `no_sync`, and `no_global_oom_handling` afa439f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 03b25cb Implement `ByteStr` and `ByteString` types 687094a Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 16620b9 Library: Finalize dyn compatibility renaming 437c97c Remove test panic from File::open 299e014 fix OsString::from_encoded_bytes_unchecked description b41b9a9 Add an example of using `carrying_mul_add` to write wider multiplication fca61b1 Outline panicking code for `LocalKey::with` da43443 core: `#[allow(unreachable_pub)]` on unreachable `pub use` e61b304 core: add `#![warn(unreachable_pub)]` 5cffae3 rtstartup: add `#![warn(unreachable_pub)]` 325bc46 panic_unwind: add `#![warn(unreachable_pub)]` 0d1ed84 Recognise new IPv6 documentation range from RFC9637 def732c 1. Removed 'rustc_nounwind' 2. Rewording of comments 2721b88 Export likely(), unlikely() and cold_path() in std::hint d663fae Correct counting to four in cell module docs 109002f doc: Point to methods on `Command` as alternatives to `set/remove_var` 8cd5f62 wasi/io: remove dead files 7761adb remove unnecessary rustc_allowed_through_unstable_modules f05c8ed further improve panic_immediate_abort by removing rtprintpanic messages 32dd115 cargo update 2fc6443 Rewrap following accepting review suggestions from @ibraheemdev 1a5db82 Update library/core/src/slice/mod.rs 0ae3097 Update library/core/src/slice/mod.rs 462fdbe Update library/core/src/slice/mod.rs 0614fb0 Update library/core/src/slice/mod.rs 5b97407 Update library/core/src/slice/mod.rs 022b497 Update library/core/src/slice/mod.rs 3a94fae Update library/core/src/slice/mod.rs e580ead Update library/core/src/slice/mod.rs be633eb Update library/core/src/slice/mod.rs abf598e Update library/core/src/slice/mod.rs f053fc4 `then be` -> `be` based on feedback from @ibraheemdev e25fb35 Improve `select_nth_unstable` documentation clarity 23a42dc Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" cf73ee0 Add references to the IEEE functions for `float_next_up_down` e1b34be Stabilize `float_next_up_down` bdb6b9c Fix import of pipe in kernel_copy.rs 635777b Move `std::pipe::*` into `std::io` c4c099e Clarify note in `std::sync::LazyLock` example 4138f0f fix typo in library/alloc/src/sync.rs e84d1ed Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6913a98 Adjust syntax 7d7fce0 Less unsafe in `dangling`/`without_provenance` 55e633d fix typo in typenames of pin documentation d8f420f intrinsics: deprecate calling them via the unstable std::intrinsics path 93a4ed4 add comments explaining main thread identification b510797 std: lazily allocate the main thread handle 15b8539 Revert "Remove the Arc rt::init allocation for thread info" 1ed2d58 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. ba3bc2f Update compiler-builtins to 0.1.143 c341a47 Rename `pos` to `position` 809d626 Convert `struct FromBytesWithNulError` into enum fd23a66 Enforce syntactical stability of const traits in HIR 26b1e1e Update compiler-builtins to 0.1.141 01e1781 Add another `Vec::splice` example b0d4ae7 avoid nesting the user-defined main so deeply on the stack bccd406 use a single large catch_unwind in lang_start 1abc128 uefi: helpers: Introduce OwnedDevicePath 0951f12 path: Move is_absolute check to sys::path ca99942 Update the explanation for why we use box_new in vec! 06e96a5 Add #[inline] to copy_from_slice f3d4a4e Add inherent versions of MaybeUninit methods for slices d01e0c8 Make UniqueRc invariant for soundness debcb38 update and clarify StructuralPartialEq docs e158c6a Use `NonNull::without_provenance` within the standard library 5054a17 Initial fs module for uefi 36f3dfc Improve the safety documentation on new_unchecked 5b8ac3d Update a bunch of library types for MCP807 e4d894a alloc: remove unsound `IsZero` for raw pointers 3d9dd4e Fix `proc_macro::quote!` for raw ident 3b536f1 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 14f03c7 Rename the internal simpler `quote` macro to `minimal_quote` 196be4e Used pthread name functions returning result for FreeBSD and DragonFly 45dbc07 Fix ptr::from_ref documentation example comment 34d7ff8 Improve prose around `as_slice` example of IterMut 31c3cd2 fmt 8c7eee1 update cfg(bootstrap) 57b242a update version placeholders f72435b Remove some unnecessary `.into()` calls ae0d07e add missing provenance APIs on NonNull ce0646c More compelling env_clear() examples 0b18c05 Implement Condvar::wait_timeout for targets without threads 6f6f711 Impl String::into_chars 01acc35 Avoid naming variables `str` 42c746f [generic_assert] Constify methods used by the formatting system 367da05 Add support for wasm exception handling to Emscripten target a4abafe chore: remove redundant words in comment 290c47e Add doc aliases for `libm` and IEEE names af0b52e Mark `slice::reverse` unstably const 9450e58 Clarified the documentation on core::iter::from_fn and core::iter::successors 33dbeb0 library: fix adler{-> 2}.debug ae03076 add regression test for unsound Flatten/FlatMap specialization 1d9a7b5 do not in-place-iterate over flatmap/flatten 277fe76 Fix UWP build a8fc346 Bump backtrace to 0.3.75 87320a9 sync to actual dep verions of backtrace f3304cd turn rustc_box into an intrinsic 35eeef9 core: use public method instead of instrinsic 0016e59 core: improve comments f33ea4b core: implement `bool::select_unpredictable` 0a9c541 Switch rtems target to panic unwind 20a0630 path in detail 7d16d90 Move some things to `std::sync::poison` and reexport them in `std::sync` 3cbf713 Bump backtrace to rust-lang/backtrace-rs@4d7906b fa7a493 Try to write the panic message with a single `write_all` call 2e008d6 fix doc for missing Box allocator consistency 46a0479 Remove qualification of `std::cmp::Ordering` in `Ord` doc 01fcc39 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten ce148e6 Avoid use of LFS64 symbols on Emscripten 38f97ec char to_digit: avoid unnecessary casts to u64 9b6bf23 Remove allowing static_mut_refs lint 9c0eb4e Tidy up bigint mul methods 4b26493 fix doc for read write unaligned in zst operation 6243582 Avoid short writes in LineWriter d44006f ptr docs: make it clear that we are talking only about memory accesses 35ec41a Make slice::as_flattened_mut unstably const 11db185 rename typed_swap → typed_swap_nonoverlapping d636681 stabilize const_swap 5d3ad9a fix: typos 62c5c26 Fix sentence fragment in `pin` module docs 9a934c1 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` a6b3f09 Fix compilation issues on other unixes d0f1af9 Eliminate redundant statx syscalls be3774f Unify fs::copy and io::copy 20e3c58 Update `compiler-builtins` to 0.1.140 0eebba5 Update library/alloc/tests/sort/tests.rs 757571e Fix typos 0398164 Override `carrying_mul_add` in cg_llvm 4748524 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 718f7b2 Fix mistake in windows file open 733408a Windows: Use WriteFile to write to a UTF-8 console 80dfbf1 ptr::copy: fix docs for the overlapping case 5b41e79 Fix renaming symlinks on Windows 21fd94e docs: inline `core::ffi::c_str` types to `core::ffi` 14b4a44 docs: inline `std::ffi::c_str` types to `std::ffi` 4e70568 unwinding: bump version to fix asm 8e2254c docs: update code example for Iterator#rposition 3f1dd8f Use scoped threads in `std::sync::Barrier` examples a536bc6 Fix forgetting to save statx availability on success 0e00943 Specify only that duplicates are discarded, not the order. aca9dc1 Document collection `From` and `FromIterator` impls that drop duplicate keys. 92ad20f Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 149fcf9 Impl FromIterator for tuples with arity 1-12 bff596c Fix formatting b65ce37 stabilize const_alloc_layout 95b8f8d chore: fix typos 1065b32 Windows: Use FILE_ALLOCATION_INFO for truncation 7124a6e Bump `stdarch` 48f4c8e core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type a086f15 Fixes safety docs for `dyn Any + Send {+ Sync}` ba57b16 Use `#[derive(Default)]` instead of manually implementing it fb6e914 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" da4d985 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. f6d97a5 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 6fe097d docs: Permissions.readonly() also ignores root user special permissions db86977 cargo update 307ebab Delete `Rvalue::Len` 2f2c17f Asserts the maximum value that can be returned from `Vec::len` 79ab9db Document `PointerLike` implementation restrictions. 3ee2730 Use `&raw` for `ptr` primitive docs 57096ff Add `is_ascii` function optimized for x86-64 for [u8] 5c5bf83 Add new implementation benchmark 790fc9a Document CTFE behavior of methods that call is_null 6822f3f Correctly document is_null CTFE behavior. 76cb181 Win: rename: Use offset_of! in struct size calculation d7ec7cf Win: Remove special casing of the win7 target for `std::fs::rename` 07430bf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 64f5201 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available da73525 Less unwrap() in documentation 6b44775 Improve prose around into_slice example of IterMut 2e36c44 Improve prose around `as_slice` example of Iter 5140d3c Improve prose around basic examples of Iter and IterMut 949d89d Abstract `ProcThreadAttributeList` into its own struct c14564c fix `PointerLike` docs b940268 unimplement `PointerLike` for trait objects 086fa9c split up `#[rustc_deny_explicit_impl]` attribute 6b77fc6 remove reference to dangling from slice::Iter 721e98b mri: add track_caller to thread spawning methods for better backtraces 7d2cf55 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` b0c0bf1 Improve documentation of `element_offset` and related methods a59f3c7 Rename `elem_offset` to `element_offset` 4b1b88d docs: Mention `spare_capacity_mut()` in `Vec::set_len` ed7c545 build: Update libc version 9468563 fix typo in ptr/mod.rs 96f1502 Stabilize `#[diagnostic::do_not_recommend]` 6adf47a Use field init shorthand where possible 9e58ae5 fix(LazyCell): documentation of get[_mut] was wrong 07e0a8f compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 387771b Fix typo in uint_macros.rs e484ea7 remove obsolete comment and pub(super) visibility 9f99881 remove bounds from vec and linkedlist ExtractIf 27e1ff9 Add a range argument to vec.extract_if 8f4975c Stabilize #[coverage] attribute 1b6d528 Remove `rustc::existing_doc_keyword` lint. eb7543d Move `doc(keyword = "while")`. 35fd5c8 rustdoc-search: let From and Into be unboxed 2dea5e9 Replace i32 by char in `split_at` & `_unchecked` 1a7d114 Add clarity to the "greater" of `VecDeque::insert` 9a3b8ec Replace i32 by char to add clarity 5857574 Add value accessor methods to `Mutex` and `RwLock` 44673db std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. bf95fb3 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 8d42c1c UniqueRc: PinCoerceUnsized and DerefPure 50d1219 UniqueRc: comparisons and Hash beee1d6 UniqueRc: Add more trait impls. 9abb5f4 Remove support for specializing ToString outside the standard library 6a01fcc Correct spelling of CURRENT_RUSTC_VERSION 8a54b12 Add documentation for anonymous pipe module b232073 feat: clarify how to use `black_box()` e20aad1 Update includes in '/library/core/src/error.rs'; 8a6245a Fix building `std` for Hermit after `c_char` change 2814149 Fix `Path::is_absolute` on Hermit 3cd0c58 Fix typos in docs on provenance 0f11be7 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators fedd63a Switch inline(always) in core/src/fmt/rt.rs to plain inline ad6d695 Reword prelude for AsyncFn stabilization fa41712 Stabilize async closures 6e17ac2 Remove consteval note from <*mut T>::align_offset docs. 1ca3b29 Stabilize the Rust 2024 prelude 04589bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 6936a3a Move some alloc tests to the alloctests crate 17e0b25 control libunwind linkage mode via `crt-static` on gnullvm targets a0662fc Change `GetManyMutError` to match T-libs-api decision 0652319 Add references to the specific ABI documents 5950abe Remove l4re from the unsigned char operating system list 3d8ce62 De-duplicate and improve definition of core::ffi::c_char 269ff73 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 4b7c62a stabilize const_nonnull_new 1785724 Remove rustc_const_stable attribute on const NOOP 3657a2f Add libc funcitons only for wasm32-wasip1-threads. 7b6a5e3 Fix compilation for wasm32-wasip1 (without threads). 4e5022f Use UNIX thread_local implementation for WASI. 14614ca Run TLS destructors for wasm32-wasip1-threads ce6887f Downgrade cc 07cd76f Run `cargo update` and update licenses 4b97609 chore: Improve doc comments eac5d8e Refactor ReadDir into a state machine 05eed01 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 7a61684 docs: better examples for `std::ops::ControlFlow` 00006b3 Expand home_dir docs abc978e Add doc alias 'then_with' for `then` method on `bool` 43a1dd2 Adds new intrinsic declaration 64589b0 Define acronym for thread local storage 712dda5 Add a `collect_into` tuple test case ed37aa7 Don't impl Extend for 13-tuples a92ee38 Simplify documentation for Extend impl for tuples 77bc478 Add Extend impls for tuples of arity 1 through 12 78daa85 Unbreak tidy e29e39c Stabilize `std::io::ErrorKind::QuotaExceeded` 443f50e Stabilize `std::io::ErrorKind::CrossesDevices` 827daef Access members of `FormattingOptions` directly instead of via getters/setters 3fdc4c5 Removed constness for methods receiving a `&mut` parameter d28905f Added better reason for exposing `flags` and `get_flags` as unstable bad6617 Formatted 91b3404 Refactored FormattingOptions to use a bitmask for storing flags 21d3717 Revert "Turned public+unstable+hidden functions into private functions" 253cd52 Turned public+unstable+hidden functions into private functions a9ae91d Made all fns const a5074bc impl Default for fmt::FormattingOptions fd1eca3 Fixed copy+paste error in comment 32a02c5 fmt::FormattingOptions: Renamed `alignment` to `align` 7f29285 Formatter::with_options: Use different lifetimes 98913fe Fixed another broken test 66ce53a Added struct `fmt::FormattingOptions` 9d392bc Formatter: Access members via getter methods wherever possible 0702ebd Stabilize noop_waker 72edc45 Improve documentation 2e03030 Reformat Python code with `ruff` c5c2a51 Improve comments for the default backtrace printer ab2cbd9 clarify simd_relaxed_fma non-determinism a800a05 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. be1d244 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 258dab4 Allow fn pointers comparisons lint in library e0b40eb Update `NonZero` and `NonNull` to not field-project (per MCP807) 6583dcc Add `core::arch::breakpoint` and test b7c6ad0 a release operation synchronizes with an acquire operation 86f0820 Update the definition of `borrowing_sub` bb323d6 stabilize const_{size,align}_of_val ecd9b26 ./x miri: fix sysroot build e450fe4 stabilize const_collections_with_hasher and build_hasher_default_const_new 025019d Match simd_relaxed_fma documentation to fmuladd intrinsic 91d7f95 Add simd_relaxed_fma intrinsic cd8867f Fix `f16::midpoint` const feature gate 2e01971 Use c"lit" for CStrings without unwrap d6ba798 Stabilize `const_maybe_uninit_write` 3f1c59a Fix docs for '<[T]>::as_array'; 0a2ae54 Stabilize `ptr::fn_addr_eq` 25fa15b rustc_allow_const_fn_unstable is not used in proc_macro bb786e4 get rid of a bunch of unnecessary rustc_const_unstable fd4b044 remove a whole bunch of unnecessary const feature gates ee8986b add isatty alias for is_terminal 70dae27 Stabilize unsigned `num_midpoint` feature b37b958 Mark `slice::copy_from_slice` unstably const c6aef10 Fix chaining `carrying_add`s 19db697 add test for bytewise ptr::swap of a pointer 9c30ff2 move swap_nonoverlapping constness to separate feature gate 9b3c313 move slice::swap_unchecked constness to slice_swap_unchecked feature gate a513619 Add diagnostic item for `std::ops::ControlFlow` 5f4a51c update link to "C++ Exceptions under the hood" blog 468ae7a fix: fix codeblocks in `PathBuf` example 3cddab3 fix: hurd build, stat64.st_fsid was renamed to st_dev 9750511 std: clarify comments about initialization 95b00fe std: refactor `pthread`-based synchronization aaa4c27 bump hashbrown version 3a9be70 Fill in a `BTreeSet::entry` example eabfb8d Add a tracking issue for `btree_set_entry` a955bed Add `BTreeSet` entry APIs to match `HashSet` a0e2eee Implement code review 3eda322 thread::available_parallelism for wasm32-wasip1-threads 2d85b33 changes old intrinsic declaration to new declaration 0a909b6 Fix and undeprecate home_dir() 0809b3f refine mir debuginfo docs fcb2927 Doc comment custom MIR debuginfo. ba3ecc8 Stabilize `extended_varargs_abi_support` 6295df0 update cfgs cd20f45 replace placeholder version 7b4cce7 Also use zero when referencing to capacity or length 14f81c5 Use consistent wording in docs, use zero instead of 0 754725a Fix typos in pin.rs fa5ddf8 Share inline(never) generics across crates 21ff4b4 fmt 7071ec8 aix: create shim for lgammaf_r 8df302f Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 542a3a9 Remove one stray space. 497ac2b Update chown help with a link and adding cap warning d0226cf Expand std::os::unix::fs::chown() doc with a warning 9aee14e Add missing code examples on `LocalKey` f8bb14c Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 872a1ec Remove unnecessary `#![allow(unused_features)]` 6db9b58 Sort and separate lint/feature attributes in `profiler_builtins` f5e8953 std: update internal uses of `io::const_error!` 9d14ed9 std: expose `const_io_error!` as `const_error!` 3c99eaa Constify Drop and Destruct 9461af1 miri: disable test_downgrade_observe test on macOS 8204ce2 Shorten the `MaybeUninit` `Debug` implementation 0707d4f Support ranges in `<[T]>::get_many_mut()` 602117a btree: add `{Entry,VacantEntry}::insert_entry` 70f614d std::thread: avoid leading whitespace in some panic messages ce70169 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0b9e7db
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
1906eb1 [create-pull-request] automated change 82586ab Rustfmt e1598d8 occured -> occurred 4cfb77b Allow Rust to use a number of libc filesystem calls 4f81280 Windows: Test that deleting a running binary fails 2e4935f Update platform information for remove_file 1cb2e11 Windows: remove readonly files 877133c Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` f185293 Document `Sum::sum` returns additive identities for `[]` 3021e97 Clean up 'HashMap' and 'HashSet' docs; 133820f Optimize `Rc::<str>::default()` implementation d1b4bb8 std: get rid of `sys_common::io` 1d89e16 std: move `io` module out of `pal` 4aa4bc6 Move two windows process tests to tests/ui 27a8a1b tests(std/net): remove outdated `base_port` calculation bf069a5 sys: net: Add UEFI stubs 11749bb Remove some unnecessary parens in `assert!` conditions f929a72 remove use of `feature(trait_upcasting)` from core tests d91bc32 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 665240c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 982f7ae tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 5140bef Fix unreachable_pub lint for hermit target 548ab25 Fix link in from_fn.rs 35c34d6 Use `widening_mul` 20b1c4b Add OneSidedRangeBound to eliminate panic in `split_point_of` c35998c Rename slice::take methods to split_off 67b68a8 Update `compiler-builtins` to 0.1.145 ade3374 specify a prim@slice in docs d83d50b implement inherent str constructors 40aa071 std: move network code into `sys` 6c3bdfb uefi: process: Add support for command environment variables 6b2e68b Mark `std::fmt::from_fn` as `#[must_use]` bc533c8 Rename rustc_contract to contract f480a7e Improve contracts intrisics and remove wrapper function 3bbca3d Separate contract feature gates for the internal machinery a906682 Desugars contract into the internal AST extensions 1483011 Express contracts as part of function header and lower it to the contract lang items 95504cd contracts: added lang items that act as hooks for rustc-injected code to invoke. 6642dc7 Contracts core intrinsics. be2c8bb More PR feedback 7d84a73 PR feedback d072ed5 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 397207e Add note about `FnPtr` being exposed as public bound 5677966 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types de581eb For NonZero impl macros, give unsigned impls access to the corresponding signed type 1b2c62b std::fs: further simplify dirent64 handling 9ef4e5b add UnsafeCell direct access APIs f4d895a primitive type migration from mod.rs to primitives.rs 9faaf11 implement unstable `new_range` feature 42ac6b6 std::range d916468 Remove stabilized feature gate d3a3d41 Move env modifying tests to a separate integration test 5dadf13 Fix for SGX 94180a1 Fix benchmarking of libstd a8aae44 Move std::sync unit tests to integration tests 6627fb7 Move std::thread_local unit tests to integration tests 0a030cc Move std::time unit tests to integration tests c6da9fd Move std::path unit tests to integration tests df3c578 Move std::panic unit tests to integration tests e7a6a94 Move std::num unit tests to integration tests 1e48cf2 Move std float unit tests to integration tests 1895ced Move std::error unit tests to integration tests ed38590 Move std::env unit tests to integration tests 19e2942 no unsafe pointer and no overflowing_literals in fmt::Display of integers 796ed0e black_box integer-input on fmt benches 6886467 OnceCell & OnceLock docs: Using (un)initialized consistently d423dcf Docs for f16 and f128: correct a typo and add details 3e4e5db rustc_allowed_through_unstable_modules: require deprecation message bb1ba7d Update encode_utf16 to mention it is native endian 7ecb885 remove Rustc{En,De}codable from library and compiler 0a0473f make rustc_encodable_decodable feature properly unstable 4f8b89d Fix sentence in process::abort 7574c2d document ptr comparison being by address 978ab50 stabilize `once_wait` 1766b3a implement all min/max fns in terms of `<`/`is_lt` e1ee153 improve doc tests for (min/max/minmax).* functions 9429024 docs: Documented Send and Sync requirements for Mutex + MutexGuard faa7fa2 Add documentation for derive(CoercePointee) ea01e12 Fix off-by-one error causing driftsort to crash 181d406 Insert null checks for pointer dereferences when debug assertions are enabled f85c7ae atomic: extend compare_and_swap migration docs c720544 float::min/max: mention the non-determinism around signed 0 9670100 Stabilize `const_black_box` a61807e Improve documentation for file locking 6239734 Remove minor future footgun in `impl Debug for MaybeUninit` 47f59f6 Add `AsyncFn*` to core prelude 1f9ab74 uefi: Implement path d6f0249 Implement `int_from_ascii` (rust-lang#134821) d0f0b0c Cleanup docs for Allocator a575a3d btree/node.rs: pop_internal_level: does not invalidate other handles cd2203c btree/node.rs: remove incorrect comment from pop_internal_level docs e7e89b4 add inline attribute and codegen test 0a5e57d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining 96818bf optimize slice::ptr_rotate for compile-time-constant small rotates 15e97c4 Test pipes also when not running on Windows and Linux simultaneously aac8826 uefi: process: Fix args 7144f46 [cfg_match] Document the use of expressions d92da1d Update comments and sort target_arch in c_char_definition 90ad94f [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 7f15b3c Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent 53cb872 Document powf and powi calls that always return 1.0 3f66052 Document purpose of closure in from_fn.rs more clearly 1513d17 add missing allocator safety in alloc crate be7ee3d alloc: add `#![warn(unreachable_pub)]` 3d3992a Implement `AtomicT::update` & `AtomicT::try_update` ba33953 fix doc for std::sync::mpmc 058da35 Implement phantom variance markers cd274c9 Clarify WindowsMut (Lending)Iterator ea48641 compiler_fence: fix example 0c2f7dc Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 519e091 Move `std::io::pipe` code into its own file 14b078a Actually run the bstr test 44df40e Update comment 04268b2 Put all coretests in a separate crate 16ac63c Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls aaad912 add nto80 x86-64 and aarch64 target 8fc0e4e Add support for QNX 7.1 with io-sock on x64 28740bb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 436453a Update a bunch of comments from before wasi support was added 6b22f79 Remove a bunch of emscripten test ignores d068a96 Fix testing of the standard library with Emscripten fd73a29 fix(libtest): Deprecate '--logfile' 3d8b534 docs: fix typo in std::pin overview 0c35cd9 ports last few library files to new intrinsic style d71eb58 Improve and expand documentation of pipes cbdcda9 Fix set_name in thread mod for NuttX 1453096 Fix `FormattingOptions` instantiation with `Default` a1314bd Update library/core/src/num/nonzero.rs e63528c Add memory layout documentation to generic NonZero<T> 231a9da Fix whitespace d5890ac document order of items in iterator from drain 5948338 Add `File already exists` error doc to `hard_link` function 1ffebe2 Doc difference between extend and extend_from_slice 124616c Make `Vec::pop_if` a bit more presentable 40b1998 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` da31a96 remove pointless allowed_through_unstable_modules on TryFromSliceError c9a0caa test: add `#![warn(unreachable_pub)]` 4f1ec0a proc_macro: add `#![warn(unreachable_pub)]` ec89eec Implement `CloneToUninit` for `ByteStr` 04c7391 Add doc aliases for BStr and BString 19c8280 Omit some more `From` impls to avoid inference failures e9417a6 Support `no_rc`, `no_sync`, and `no_global_oom_handling` ebb52e1 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 f86714e Implement `ByteStr` and `ByteString` types fcfcc0d Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` fa11f6b Library: Finalize dyn compatibility renaming 3e436ee Remove test panic from File::open 96d2602 fix OsString::from_encoded_bytes_unchecked description 6768b90 Add an example of using `carrying_mul_add` to write wider multiplication c4d6e54 Outline panicking code for `LocalKey::with` 7a00edd core: `#[allow(unreachable_pub)]` on unreachable `pub use` 594b129 core: add `#![warn(unreachable_pub)]` e527cb9 rtstartup: add `#![warn(unreachable_pub)]` f7bf6ac panic_unwind: add `#![warn(unreachable_pub)]` fe225f2 Recognise new IPv6 documentation range from RFC9637 a53e52a 1. Removed 'rustc_nounwind' 2. Rewording of comments e34afe8 Export likely(), unlikely() and cold_path() in std::hint f177b66 Correct counting to four in cell module docs 2bc505c doc: Point to methods on `Command` as alternatives to `set/remove_var` 214e544 wasi/io: remove dead files 5fb4fe2 remove unnecessary rustc_allowed_through_unstable_modules 64e8f4d further improve panic_immediate_abort by removing rtprintpanic messages ab3b70b cargo update e51d35e Rewrap following accepting review suggestions from @ibraheemdev 15a5c64 Update library/core/src/slice/mod.rs 2a8f45a Update library/core/src/slice/mod.rs 2ad59b3 Update library/core/src/slice/mod.rs 25321f4 Update library/core/src/slice/mod.rs 8c5e63b Update library/core/src/slice/mod.rs 53a1a5f Update library/core/src/slice/mod.rs 5d53c17 Update library/core/src/slice/mod.rs cef6842 Update library/core/src/slice/mod.rs 5c2b400 Update library/core/src/slice/mod.rs 3916eff Update library/core/src/slice/mod.rs abe5a0d `then be` -> `be` based on feedback from @ibraheemdev d71b092 Improve `select_nth_unstable` documentation clarity 76150fb Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" c1f2f10 Add references to the IEEE functions for `float_next_up_down` 5c1efbf Stabilize `float_next_up_down` f231753 Fix import of pipe in kernel_copy.rs 17d9b58 Move `std::pipe::*` into `std::io` 326b06b Clarify note in `std::sync::LazyLock` example ba27908 fix typo in library/alloc/src/sync.rs 45eedd2 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' ca2a3c1 Adjust syntax dce7c93 Less unsafe in `dangling`/`without_provenance` 94ffdcf fix typo in typenames of pin documentation bb4c379 intrinsics: deprecate calling them via the unstable std::intrinsics path 27a7931 add comments explaining main thread identification 2dd26bf std: lazily allocate the main thread handle ea755b1 Revert "Remove the Arc rt::init allocation for thread info" 8731f40 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. bbcf6d3 Update compiler-builtins to 0.1.143 b39ff60 Rename `pos` to `position` ac5b101 Convert `struct FromBytesWithNulError` into enum c5f11dd Enforce syntactical stability of const traits in HIR 4e52ddf Update compiler-builtins to 0.1.141 a6c35ed Add another `Vec::splice` example 67328ac avoid nesting the user-defined main so deeply on the stack ca40936 use a single large catch_unwind in lang_start fdce10c uefi: helpers: Introduce OwnedDevicePath a92241c path: Move is_absolute check to sys::path e5666f3 Update the explanation for why we use box_new in vec! e5427c0 Add #[inline] to copy_from_slice 67f58ae Add inherent versions of MaybeUninit methods for slices 936f942 Make UniqueRc invariant for soundness a390448 update and clarify StructuralPartialEq docs 1cea0b3 Use `NonNull::without_provenance` within the standard library e9b73e6 Initial fs module for uefi d881bf7 Improve the safety documentation on new_unchecked 18fcfce Update a bunch of library types for MCP807 8cf0be1 alloc: remove unsound `IsZero` for raw pointers 83584ff Fix `proc_macro::quote!` for raw ident 51c17eb Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 672724a Rename the internal simpler `quote` macro to `minimal_quote` 9945418 Used pthread name functions returning result for FreeBSD and DragonFly 6369c71 Fix ptr::from_ref documentation example comment 67ac37b Improve prose around `as_slice` example of IterMut 115c87f fmt 6ee4239 update cfg(bootstrap) 4bf4f0d update version placeholders 60107b4 Remove some unnecessary `.into()` calls 19a2e56 add missing provenance APIs on NonNull 7aa3055 More compelling env_clear() examples 077b563 Implement Condvar::wait_timeout for targets without threads 2158e22 Impl String::into_chars 835a5f8 Avoid naming variables `str` 14f092d [generic_assert] Constify methods used by the formatting system c198293 Add support for wasm exception handling to Emscripten target 535fca0 chore: remove redundant words in comment b8058b1 Add doc aliases for `libm` and IEEE names e46b13b Mark `slice::reverse` unstably const 3dceadf Clarified the documentation on core::iter::from_fn and core::iter::successors 76990b0 library: fix adler{-> 2}.debug b9a33d1 add regression test for unsound Flatten/FlatMap specialization 236fdef do not in-place-iterate over flatmap/flatten 8c917fa Fix UWP build ef57cb8 Bump backtrace to 0.3.75 ee9cdf5 sync to actual dep verions of backtrace 755dd0d turn rustc_box into an intrinsic 51f41fe core: use public method instead of instrinsic 05380fe core: improve comments e85375c core: implement `bool::select_unpredictable` 98a7af9 Switch rtems target to panic unwind e06bb15 path in detail 004f2a0 Move some things to `std::sync::poison` and reexport them in `std::sync` 2d9b6f2 Bump backtrace to rust-lang/backtrace-rs@4d7906b 47a20aa Try to write the panic message with a single `write_all` call 5ce7272 fix doc for missing Box allocator consistency 0465130 Remove qualification of `std::cmp::Ordering` in `Ord` doc f1e25bf std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten 19bcf2e Avoid use of LFS64 symbols on Emscripten 788d9e2 char to_digit: avoid unnecessary casts to u64 ef6e5f9 Remove allowing static_mut_refs lint 105ba0d Tidy up bigint mul methods 1f472c9 fix doc for read write unaligned in zst operation ee61fdf Avoid short writes in LineWriter 8e553fb ptr docs: make it clear that we are talking only about memory accesses 22518c9 Make slice::as_flattened_mut unstably const e2f09b6 rename typed_swap → typed_swap_nonoverlapping cc44591 stabilize const_swap 83aed12 fix: typos 607ff95 Fix sentence fragment in `pin` module docs c8286c2 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` c7b753b Fix compilation issues on other unixes 9cc0c36 Eliminate redundant statx syscalls c994904 Unify fs::copy and io::copy 54d4d5f Update `compiler-builtins` to 0.1.140 3afb8da Update library/alloc/tests/sort/tests.rs 1dc583c Fix typos de985a6 Override `carrying_mul_add` in cg_llvm 00fe88e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR a680e5d Fix mistake in windows file open d9d3891 Windows: Use WriteFile to write to a UTF-8 console 01f00c8 ptr::copy: fix docs for the overlapping case 7cd780f Fix renaming symlinks on Windows e6f3e2d docs: inline `core::ffi::c_str` types to `core::ffi` 71575a8 docs: inline `std::ffi::c_str` types to `std::ffi` ded0310 unwinding: bump version to fix asm dc95bb9 docs: update code example for Iterator#rposition a73206f Use scoped threads in `std::sync::Barrier` examples bb1d81b Fix forgetting to save statx availability on success 2ea9a79 Specify only that duplicates are discarded, not the order. d018136 Document collection `From` and `FromIterator` impls that drop duplicate keys. 6b48a18 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 0e9db60 Impl FromIterator for tuples with arity 1-12 1f959d5 Fix formatting 3690cf6 stabilize const_alloc_layout 25e3743 chore: fix typos e813765 Windows: Use FILE_ALLOCATION_INFO for truncation cc7e2c0 Bump `stdarch` 44039cc core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type 9d33c76 Fixes safety docs for `dyn Any + Send {+ Sync}` d539c11 Use `#[derive(Default)]` instead of manually implementing it cf4257f Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 9ab9041 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. b570c17 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 1b07e73 docs: Permissions.readonly() also ignores root user special permissions d4a00d0 cargo update 5a642f1 Delete `Rvalue::Len` 84ad76e Asserts the maximum value that can be returned from `Vec::len` 84d2ac3 Document `PointerLike` implementation restrictions. 53d66b1 Use `&raw` for `ptr` primitive docs 7d2b6bd Add `is_ascii` function optimized for x86-64 for [u8] 6e37ca6 Add new implementation benchmark 0fe22d2 Document CTFE behavior of methods that call is_null 5e5a3c5 Correctly document is_null CTFE behavior. 893b7ce Win: rename: Use offset_of! in struct size calculation 0ce0ee6 Win: Remove special casing of the win7 target for `std::fs::rename` 8698e12 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 1347efd Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available daac823 Less unwrap() in documentation edf5c33 Improve prose around into_slice example of IterMut 4976aa4 Improve prose around `as_slice` example of Iter aa62262 Improve prose around basic examples of Iter and IterMut 119fcf8 Abstract `ProcThreadAttributeList` into its own struct dc58df7 fix `PointerLike` docs 722c231 unimplement `PointerLike` for trait objects 7c2e8c5 split up `#[rustc_deny_explicit_impl]` attribute 194736d remove reference to dangling from slice::Iter c42157c mri: add track_caller to thread spawning methods for better backtraces ed92b47 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` 9a38c0e Improve documentation of `element_offset` and related methods edc9a95 Rename `elem_offset` to `element_offset` dcebd25 docs: Mention `spare_capacity_mut()` in `Vec::set_len` 11d8102 build: Update libc version af6586b fix typo in ptr/mod.rs dadd8aa Stabilize `#[diagnostic::do_not_recommend]` f024552 Use field init shorthand where possible 82c21e0 fix(LazyCell): documentation of get[_mut] was wrong 1676c40 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 290a596 Fix typo in uint_macros.rs e6301c0 remove obsolete comment and pub(super) visibility 8cb9e77 remove bounds from vec and linkedlist ExtractIf ee2057b Add a range argument to vec.extract_if 77336c2 Stabilize #[coverage] attribute 82ae8fc Remove `rustc::existing_doc_keyword` lint. a489d11 Move `doc(keyword = "while")`. 1b1c065 rustdoc-search: let From and Into be unboxed b5d2a26 Replace i32 by char in `split_at` & `_unchecked` 412045d Add clarity to the "greater" of `VecDeque::insert` 70e78f2 Replace i32 by char to add clarity 5e5f4cb Add value accessor methods to `Mutex` and `RwLock` 096e6d6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. d692b68 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc f813ab8 UniqueRc: PinCoerceUnsized and DerefPure 3453fdf UniqueRc: comparisons and Hash 0082386 UniqueRc: Add more trait impls. f095a54 Remove support for specializing ToString outside the standard library e4dc035 Correct spelling of CURRENT_RUSTC_VERSION 929f1c0 Add documentation for anonymous pipe module 7d1405f feat: clarify how to use `black_box()` 8171641 Update includes in '/library/core/src/error.rs'; af5f1f3 Fix building `std` for Hermit after `c_char` change 76cb80b Fix `Path::is_absolute` on Hermit 3eae479 Fix typos in docs on provenance 32b87cd Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators dd94d7f Switch inline(always) in core/src/fmt/rt.rs to plain inline e434c5f Reword prelude for AsyncFn stabilization 373f5bb Stabilize async closures a8093d1 Remove consteval note from <*mut T>::align_offset docs. b0ddbf9 Stabilize the Rust 2024 prelude d2c896f Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 8a7cb25 Move some alloc tests to the alloctests crate 0d1aa20 control libunwind linkage mode via `crt-static` on gnullvm targets c12a093 Change `GetManyMutError` to match T-libs-api decision 989d216 Add references to the specific ABI documents a6808b1 Remove l4re from the unsigned char operating system list 5271059 De-duplicate and improve definition of core::ffi::c_char 3e21347 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 865758b stabilize const_nonnull_new 27bd01d Remove rustc_const_stable attribute on const NOOP 16495c1 Add libc funcitons only for wasm32-wasip1-threads. 619e647 Fix compilation for wasm32-wasip1 (without threads). 77fb7ba Use UNIX thread_local implementation for WASI. 79a9cf3 Run TLS destructors for wasm32-wasip1-threads f28ae51 Downgrade cc f87dd41 Run `cargo update` and update licenses aa1c97a chore: Improve doc comments af22068 Refactor ReadDir into a state machine 228d796 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 4e5539f docs: better examples for `std::ops::ControlFlow` 5e7e846 Expand home_dir docs 06dc184 Add doc alias 'then_with' for `then` method on `bool` 7607ee1 Adds new intrinsic declaration 347acc2 Define acronym for thread local storage 5dd5f12 Add a `collect_into` tuple test case 24e234b Don't impl Extend for 13-tuples 359f2b8 Simplify documentation for Extend impl for tuples 6301a36 Add Extend impls for tuples of arity 1 through 12 92b13ea Unbreak tidy ee1f061 Stabilize `std::io::ErrorKind::QuotaExceeded` 9d2daee Stabilize `std::io::ErrorKind::CrossesDevices` 5a39052 Access members of `FormattingOptions` directly instead of via getters/setters 4b9cbf6 Removed constness for methods receiving a `&mut` parameter 150c3a0 Added better reason for exposing `flags` and `get_flags` as unstable a1bc38f Formatted 95ffeeb Refactored FormattingOptions to use a bitmask for storing flags 74cbddd Revert "Turned public+unstable+hidden functions into private functions" b857cd4 Turned public+unstable+hidden functions into private functions 32b9e62 Made all fns const 1f7ad0f impl Default for fmt::FormattingOptions d19a21c Fixed copy+paste error in comment ff4ad03 fmt::FormattingOptions: Renamed `alignment` to `align` 0bc5b89 Formatter::with_options: Use different lifetimes fe15215 Fixed another broken test 672cc7c Added struct `fmt::FormattingOptions` 98b6ae1 Formatter: Access members via getter methods wherever possible b2ebbb8 Stabilize noop_waker a5b3904 Improve documentation 2ad2ce3 Reformat Python code with `ruff` c9b0d6c Improve comments for the default backtrace printer 0d95837 clarify simd_relaxed_fma non-determinism 100ae4a Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. c544d8b Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` e442962 Allow fn pointers comparisons lint in library f1bc9df Update `NonZero` and `NonNull` to not field-project (per MCP807) 86b9508 Add `core::arch::breakpoint` and test cd64094 a release operation synchronizes with an acquire operation 0e32146 Update the definition of `borrowing_sub` 4e226fd stabilize const_{size,align}_of_val 2c1d522 ./x miri: fix sysroot build 96858ad stabilize const_collections_with_hasher and build_hasher_default_const_new cb736f0 Match simd_relaxed_fma documentation to fmuladd intrinsic b9e663f Add simd_relaxed_fma intrinsic feb607d Fix `f16::midpoint` const feature gate 9737a70 Use c"lit" for CStrings without unwrap 48e2b28 Stabilize `const_maybe_uninit_write` df56ca3 Fix docs for '<[T]>::as_array'; 1c2f8a9 Stabilize `ptr::fn_addr_eq` 3090c4d rustc_allow_const_fn_unstable is not used in proc_macro 0db691c get rid of a bunch of unnecessary rustc_const_unstable e4e285a remove a whole bunch of unnecessary const feature gates 8b0570f add isatty alias for is_terminal 394f0d0 Stabilize unsigned `num_midpoint` feature 1ae1537 Mark `slice::copy_from_slice` unstably const 4693f96 Fix chaining `carrying_add`s ec9e902 add test for bytewise ptr::swap of a pointer 4ee26c2 move swap_nonoverlapping constness to separate feature gate 2efd28f move slice::swap_unchecked constness to slice_swap_unchecked feature gate b1abc24 Add diagnostic item for `std::ops::ControlFlow` 51a259a update link to "C++ Exceptions under the hood" blog 04f7ca6 fix: fix codeblocks in `PathBuf` example 1fa4993 fix: hurd build, stat64.st_fsid was renamed to st_dev 06463eb std: clarify comments about initialization 565916b std: refactor `pthread`-based synchronization 30e748a bump hashbrown version ce60b20 Fill in a `BTreeSet::entry` example a11d45c Add a tracking issue for `btree_set_entry` 658ea54 Add `BTreeSet` entry APIs to match `HashSet` 0a50804 Implement code review 3fa9191 thread::available_parallelism for wasm32-wasip1-threads 770fc75 changes old intrinsic declaration to new declaration 57f6dfc Fix and undeprecate home_dir() 763c5ea refine mir debuginfo docs 077488e Doc comment custom MIR debuginfo. 27be7d1 Stabilize `extended_varargs_abi_support` fff4592 update cfgs f36155a replace placeholder version 034cdc5 Also use zero when referencing to capacity or length 885dfbd Use consistent wording in docs, use zero instead of 0 4382c69 Fix typos in pin.rs 8e8a702 Share inline(never) generics across crates dc6cb97 fmt 0b080fd aix: create shim for lgammaf_r addbdaa Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 6d5eb47 Remove one stray space. 79cbeab Update chown help with a link and adding cap warning 4f593a5 Expand std::os::unix::fs::chown() doc with a warning 5f387c3 Add missing code examples on `LocalKey` ae87dbd Make profiler_builtins `#![no_core]` instead of just `#![no_std]` 3399c5d Remove unnecessary `#![allow(unused_features)]` 3a1ae75 Sort and separate lint/feature attributes in `profiler_builtins` 26bbaff std: update internal uses of `io::const_error!` fb6e161 std: expose `const_io_error!` as `const_error!` b428d84 Constify Drop and Destruct 9bf17aa miri: disable test_downgrade_observe test on macOS 1199373 Shorten the `MaybeUninit` `Debug` implementation 9fd6f9a Support ranges in `<[T]>::get_many_mut()` 6c17bc5 btree: add `{Entry,VacantEntry}::insert_entry` 3f90865 std::thread: avoid leading whitespace in some panic messages f72e3b4 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 1906eb1
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
d9afaa0 Rustfmt 5029283 occured -> occurred cfc71f9 Allow Rust to use a number of libc filesystem calls dfeb7a1 Windows: Test that deleting a running binary fails b826647 Update platform information for remove_file 19a519a Windows: remove readonly files 9a9f6fc Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 1b26f81 Document `Sum::sum` returns additive identities for `[]` 3f12a90 Clean up 'HashMap' and 'HashSet' docs; 41d0f44 Optimize `Rc::<str>::default()` implementation 5861d0a std: get rid of `sys_common::io` f9b27ab std: move `io` module out of `pal` a75f8ce Move two windows process tests to tests/ui bb96a5e tests(std/net): remove outdated `base_port` calculation f54c237 sys: net: Add UEFI stubs ab11452 Remove some unnecessary parens in `assert!` conditions 07a179c remove use of `feature(trait_upcasting)` from core tests 73cc48a Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; 522770b Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` 98304e9 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` 774f18e Fix unreachable_pub lint for hermit target 2688215 Fix link in from_fn.rs 375c6ab Use `widening_mul` 6d424a0 Add OneSidedRangeBound to eliminate panic in `split_point_of` 74b6d79 Rename slice::take methods to split_off 91193ef Update `compiler-builtins` to 0.1.145 df0757c specify a prim@slice in docs 610bdff implement inherent str constructors ea23619 std: move network code into `sys` b4dd0b5 uefi: process: Add support for command environment variables 584bbf9 Mark `std::fmt::from_fn` as `#[must_use]` 0ae8f42 Rename rustc_contract to contract 04924fc Improve contracts intrisics and remove wrapper function 8b684bf Separate contract feature gates for the internal machinery ebf0235 Desugars contract into the internal AST extensions 6c9b227 Express contracts as part of function header and lower it to the contract lang items 22a77ce contracts: added lang items that act as hooks for rustc-injected code to invoke. 688a6b1 Contracts core intrinsics. af823fe More PR feedback 9895b8e PR feedback cf1564c Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 9cc76e6 Add note about `FnPtr` being exposed as public bound ddc670b Add `cast_signed` and `cast_unsigned` methods for `NonZero` types 6e5aeb2 For NonZero impl macros, give unsigned impls access to the corresponding signed type 720c4a0 std::fs: further simplify dirent64 handling 0d9b7e1 add UnsafeCell direct access APIs 3d60d4e primitive type migration from mod.rs to primitives.rs cacd395 implement unstable `new_range` feature bb196ed std::range 4d099be Remove stabilized feature gate 93acaa0 Move env modifying tests to a separate integration test 3274be4 Fix for SGX 270a958 Fix benchmarking of libstd 28f15f1 Move std::sync unit tests to integration tests 363dfd3 Move std::thread_local unit tests to integration tests a5dbb6b Move std::time unit tests to integration tests bf1d6f9 Move std::path unit tests to integration tests 0ae4284 Move std::panic unit tests to integration tests c48b38f Move std::num unit tests to integration tests 537a9ec Move std float unit tests to integration tests c3ca432 Move std::error unit tests to integration tests 8334445 Move std::env unit tests to integration tests b49f69c no unsafe pointer and no overflowing_literals in fmt::Display of integers 980050f black_box integer-input on fmt benches ab54002 OnceCell & OnceLock docs: Using (un)initialized consistently 6dd3729 Docs for f16 and f128: correct a typo and add details c7f614a rustc_allowed_through_unstable_modules: require deprecation message de2ed6e Update encode_utf16 to mention it is native endian d744f54 remove Rustc{En,De}codable from library and compiler 50fca45 make rustc_encodable_decodable feature properly unstable 9d8030f Fix sentence in process::abort 6d22b94 document ptr comparison being by address fc85326 stabilize `once_wait` e446d43 implement all min/max fns in terms of `<`/`is_lt` 72fde75 improve doc tests for (min/max/minmax).* functions 0588fcb docs: Documented Send and Sync requirements for Mutex + MutexGuard 60e32ff Add documentation for derive(CoercePointee) 8274203 Fix off-by-one error causing driftsort to crash 7d713d1 Insert null checks for pointer dereferences when debug assertions are enabled 8055e00 atomic: extend compare_and_swap migration docs 9221b33 float::min/max: mention the non-determinism around signed 0 b13ef46 Stabilize `const_black_box` 0650c62 Improve documentation for file locking 42f0e61 Remove minor future footgun in `impl Debug for MaybeUninit` a7123f5 Add `AsyncFn*` to core prelude 60c91e6 uefi: Implement path a636c10 Implement `int_from_ascii` (rust-lang#134821) fe19978 Cleanup docs for Allocator ffe13da btree/node.rs: pop_internal_level: does not invalidate other handles 2e267fe btree/node.rs: remove incorrect comment from pop_internal_level docs 8047053 add inline attribute and codegen test 2c47edf split slice::ptr_rotate into three separate algorithms, to hopefully help inlining c7d3226 optimize slice::ptr_rotate for compile-time-constant small rotates 25923f4 Test pipes also when not running on Windows and Linux simultaneously 695bc68 uefi: process: Fix args 2d2bb5e [cfg_match] Document the use of expressions 1f5f438 Update comments and sort target_arch in c_char_definition aaad6bd [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 5610f93 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent eb25c28 Document powf and powi calls that always return 1.0 e80e542 Document purpose of closure in from_fn.rs more clearly 33e91a3 add missing allocator safety in alloc crate c318d43 alloc: add `#![warn(unreachable_pub)]` 612cfb3 Implement `AtomicT::update` & `AtomicT::try_update` e09c3fb fix doc for std::sync::mpmc 2501cfc Implement phantom variance markers 4e8f7b4 Clarify WindowsMut (Lending)Iterator b53869c compiler_fence: fix example f8a5089 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location cc8c020 Move `std::io::pipe` code into its own file 5b84457 Actually run the bstr test ffe36ef Update comment 4cc8579 Put all coretests in a separate crate 0965563 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls ca22414 add nto80 x86-64 and aarch64 target 91b1d4d Add support for QNX 7.1 with io-sock on x64 c6d20ab Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 28ff940 Update a bunch of comments from before wasi support was added 90f221a Remove a bunch of emscripten test ignores 41a9dec Fix testing of the standard library with Emscripten 6c0d649 fix(libtest): Deprecate '--logfile' 5d7806d docs: fix typo in std::pin overview fea6aa8 ports last few library files to new intrinsic style 9cdf4c9 Improve and expand documentation of pipes 1d7172c Fix set_name in thread mod for NuttX d33deb2 Fix `FormattingOptions` instantiation with `Default` 4c32a45 Update library/core/src/num/nonzero.rs 37de9eb Add memory layout documentation to generic NonZero<T> 0824b82 Fix whitespace 945a1bc document order of items in iterator from drain 23e22e5 Add `File already exists` error doc to `hard_link` function 33d0033 Doc difference between extend and extend_from_slice 25afd92 Make `Vec::pop_if` a bit more presentable 73bf850 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` 012ac73 remove pointless allowed_through_unstable_modules on TryFromSliceError d735e87 test: add `#![warn(unreachable_pub)]` 18f09b0 proc_macro: add `#![warn(unreachable_pub)]` 1842568 Implement `CloneToUninit` for `ByteStr` df3007d Add doc aliases for BStr and BString 5cb237b Omit some more `From` impls to avoid inference failures e7a3f4c Support `no_rc`, `no_sync`, and `no_global_oom_handling` 69e0cdb Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 576c40e Implement `ByteStr` and `ByteString` types cd55194 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 5ee201f Library: Finalize dyn compatibility renaming 3ab30d7 Remove test panic from File::open 351484f fix OsString::from_encoded_bytes_unchecked description 54834a1 Add an example of using `carrying_mul_add` to write wider multiplication 9ed6d60 Outline panicking code for `LocalKey::with` 78ac321 core: `#[allow(unreachable_pub)]` on unreachable `pub use` b8bf74b core: add `#![warn(unreachable_pub)]` a786d0d rtstartup: add `#![warn(unreachable_pub)]` 3837368 panic_unwind: add `#![warn(unreachable_pub)]` 2836e49 Recognise new IPv6 documentation range from RFC9637 d0c2d7f 1. Removed 'rustc_nounwind' 2. Rewording of comments 76e3746 Export likely(), unlikely() and cold_path() in std::hint 579110c Correct counting to four in cell module docs 37b7496 doc: Point to methods on `Command` as alternatives to `set/remove_var` 65415fb wasi/io: remove dead files 3f6b042 remove unnecessary rustc_allowed_through_unstable_modules 814df0d further improve panic_immediate_abort by removing rtprintpanic messages 92226b8 cargo update f212028 Rewrap following accepting review suggestions from @ibraheemdev e9de010 Update library/core/src/slice/mod.rs b47f312 Update library/core/src/slice/mod.rs 36d0d2c Update library/core/src/slice/mod.rs c029f34 Update library/core/src/slice/mod.rs 153a15e Update library/core/src/slice/mod.rs 767fc8a Update library/core/src/slice/mod.rs 6b99184 Update library/core/src/slice/mod.rs 7fdb5a9 Update library/core/src/slice/mod.rs 91d5852 Update library/core/src/slice/mod.rs b74c5ef Update library/core/src/slice/mod.rs 19ace3e `then be` -> `be` based on feedback from @ibraheemdev fb23645 Improve `select_nth_unstable` documentation clarity 5597927 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" 43409b3 Add references to the IEEE functions for `float_next_up_down` bc27d89 Stabilize `float_next_up_down` 8762477 Fix import of pipe in kernel_copy.rs 5bbb1cb Move `std::pipe::*` into `std::io` 8f3228f Clarify note in `std::sync::LazyLock` example ed91a85 fix typo in library/alloc/src/sync.rs 9d6a5ee Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' ba457d0 Adjust syntax 1f5085f Less unsafe in `dangling`/`without_provenance` e2af402 fix typo in typenames of pin documentation add9aec intrinsics: deprecate calling them via the unstable std::intrinsics path b45e098 add comments explaining main thread identification 95b0130 std: lazily allocate the main thread handle 21248c7 Revert "Remove the Arc rt::init allocation for thread info" 21c6a13 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. b88e431 Update compiler-builtins to 0.1.143 a321c9b Rename `pos` to `position` d7f058e Convert `struct FromBytesWithNulError` into enum 0233af5 Enforce syntactical stability of const traits in HIR 59c7bd2 Update compiler-builtins to 0.1.141 d26a358 Add another `Vec::splice` example baefa37 avoid nesting the user-defined main so deeply on the stack 46a5ddd use a single large catch_unwind in lang_start 1bcf2d4 uefi: helpers: Introduce OwnedDevicePath 93d7a65 path: Move is_absolute check to sys::path fe38adb Update the explanation for why we use box_new in vec! 03935e7 Add #[inline] to copy_from_slice ab32c32 Add inherent versions of MaybeUninit methods for slices 2d413be Make UniqueRc invariant for soundness e482cd8 update and clarify StructuralPartialEq docs 712289e Use `NonNull::without_provenance` within the standard library 20f9a31 Initial fs module for uefi 6aaefae Improve the safety documentation on new_unchecked 328342e Update a bunch of library types for MCP807 6aad242 alloc: remove unsound `IsZero` for raw pointers 73296f5 Fix `proc_macro::quote!` for raw ident 45693f4 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 4c4ba32 Rename the internal simpler `quote` macro to `minimal_quote` 24468aa Used pthread name functions returning result for FreeBSD and DragonFly 244044e Fix ptr::from_ref documentation example comment 6e8a9f0 Improve prose around `as_slice` example of IterMut 2ce6db3 fmt 5648f72 update cfg(bootstrap) a5353b8 update version placeholders cf09535 Remove some unnecessary `.into()` calls 826a4fc add missing provenance APIs on NonNull 032e679 More compelling env_clear() examples 76ca587 Implement Condvar::wait_timeout for targets without threads eefb8d4 Impl String::into_chars 50b5ef3 Avoid naming variables `str` df9c14e [generic_assert] Constify methods used by the formatting system 5aeea70 Add support for wasm exception handling to Emscripten target 1f30021 chore: remove redundant words in comment 90f924d Add doc aliases for `libm` and IEEE names 5035309 Mark `slice::reverse` unstably const e8ff412 Clarified the documentation on core::iter::from_fn and core::iter::successors e61568f library: fix adler{-> 2}.debug dc8ecf9 add regression test for unsound Flatten/FlatMap specialization 5a57937 do not in-place-iterate over flatmap/flatten 391fa09 Fix UWP build b915dac Bump backtrace to 0.3.75 db6083c sync to actual dep verions of backtrace 505c9dc turn rustc_box into an intrinsic e825431 core: use public method instead of instrinsic a6b4dfd core: improve comments 29a040a core: implement `bool::select_unpredictable` 05a283c Switch rtems target to panic unwind 89e889a path in detail 4c88376 Move some things to `std::sync::poison` and reexport them in `std::sync` a80bdf6 Bump backtrace to rust-lang/backtrace-rs@4d7906b 8b608e2 Try to write the panic message with a single `write_all` call 1b4f1e2 fix doc for missing Box allocator consistency c15b8d2 Remove qualification of `std::cmp::Ordering` in `Ord` doc 5a502ad std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten 3a4e4bd Avoid use of LFS64 symbols on Emscripten 06638da char to_digit: avoid unnecessary casts to u64 962df6d Remove allowing static_mut_refs lint 9135f69 Tidy up bigint mul methods 0311e75 fix doc for read write unaligned in zst operation 05086fa Avoid short writes in LineWriter 8a7f57b ptr docs: make it clear that we are talking only about memory accesses 7d553b3 Make slice::as_flattened_mut unstably const 045478f rename typed_swap → typed_swap_nonoverlapping 2cab8bb stabilize const_swap 00ccbe4 fix: typos 00996b2 Fix sentence fragment in `pin` module docs d630551 docs: inline `alloc::ffi::c_str` types to `alloc::ffi` cf02408 Fix compilation issues on other unixes 21324d8 Eliminate redundant statx syscalls fbf28c3 Unify fs::copy and io::copy 6b14b68 Update `compiler-builtins` to 0.1.140 02e5870 Update library/alloc/tests/sort/tests.rs 8cd3d37 Fix typos b8b8519 Override `carrying_mul_add` in cg_llvm 4780a73 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR ce45bf7 Fix mistake in windows file open a4f7af0 Windows: Use WriteFile to write to a UTF-8 console 89063ee ptr::copy: fix docs for the overlapping case 87b9c24 Fix renaming symlinks on Windows 4a287eb docs: inline `core::ffi::c_str` types to `core::ffi` d8b1347 docs: inline `std::ffi::c_str` types to `std::ffi` d4ed292 unwinding: bump version to fix asm fb11b77 docs: update code example for Iterator#rposition 7962d95 Use scoped threads in `std::sync::Barrier` examples 6959b30 Fix forgetting to save statx availability on success 5d7b1fc Specify only that duplicates are discarded, not the order. d56fbbd Document collection `From` and `FromIterator` impls that drop duplicate keys. e1df72b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; c86502a Impl FromIterator for tuples with arity 1-12 788f53a Fix formatting 31d754d stabilize const_alloc_layout 1146fc2 chore: fix typos 824cbc1 Windows: Use FILE_ALLOCATION_INFO for truncation 993b5d2 Bump `stdarch` 09bab51 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type ee70936 Fixes safety docs for `dyn Any + Send {+ Sync}` 8336858 Use `#[derive(Default)]` instead of manually implementing it d4e71e6 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 1f513d6 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 18ff600 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code d0d8ed9 docs: Permissions.readonly() also ignores root user special permissions 5396551 cargo update 1cafc25 Delete `Rvalue::Len` 634dedd Asserts the maximum value that can be returned from `Vec::len` 5775b3d Document `PointerLike` implementation restrictions. ac3f9d5 Use `&raw` for `ptr` primitive docs f84cdd8 Add `is_ascii` function optimized for x86-64 for [u8] 87e3382 Add new implementation benchmark 4de2469 Document CTFE behavior of methods that call is_null f46227d Correctly document is_null CTFE behavior. c38ebe3 Win: rename: Use offset_of! in struct size calculation bca2f10 Win: Remove special casing of the win7 target for `std::fs::rename` 309b815 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory c15a43e Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available b661067 Less unwrap() in documentation 8b09219 Improve prose around into_slice example of IterMut 57b6c33 Improve prose around `as_slice` example of Iter 3b7e91c Improve prose around basic examples of Iter and IterMut de592e1 Abstract `ProcThreadAttributeList` into its own struct 1a3b9c9 fix `PointerLike` docs d67e367 unimplement `PointerLike` for trait objects 50fdae2 split up `#[rustc_deny_explicit_impl]` attribute d2ef96b remove reference to dangling from slice::Iter 91d4164 mri: add track_caller to thread spawning methods for better backtraces 2e728fe fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` e4bb1ad Improve documentation of `element_offset` and related methods dc3cb5a Rename `elem_offset` to `element_offset` 9975553 docs: Mention `spare_capacity_mut()` in `Vec::set_len` ef5c8b5 build: Update libc version 3179996 fix typo in ptr/mod.rs 70eb45f Stabilize `#[diagnostic::do_not_recommend]` e6c9050 Use field init shorthand where possible dd3c9ff fix(LazyCell): documentation of get[_mut] was wrong 8958072 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 74d9a3d Fix typo in uint_macros.rs 456c585 remove obsolete comment and pub(super) visibility 11c6d20 remove bounds from vec and linkedlist ExtractIf a7a3d26 Add a range argument to vec.extract_if 2969468 Stabilize #[coverage] attribute 2f2ceea Remove `rustc::existing_doc_keyword` lint. 9aaac75 Move `doc(keyword = "while")`. fcf7f9c rustdoc-search: let From and Into be unboxed eba507c Replace i32 by char in `split_at` & `_unchecked` d15e453 Add clarity to the "greater" of `VecDeque::insert` 410f6da Replace i32 by char to add clarity 0e904ce Add value accessor methods to `Mutex` and `RwLock` 262bcd0 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. 17eff04 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 689aca8 UniqueRc: PinCoerceUnsized and DerefPure 08a5c4b UniqueRc: comparisons and Hash 0c4e447 UniqueRc: Add more trait impls. 348a0e7 Remove support for specializing ToString outside the standard library 566529d Correct spelling of CURRENT_RUSTC_VERSION a64c14a Add documentation for anonymous pipe module 58c86ae feat: clarify how to use `black_box()` 7e4e4d1 Update includes in '/library/core/src/error.rs'; d401553 Fix building `std` for Hermit after `c_char` change 63313ed Fix `Path::is_absolute` on Hermit 06a16da Fix typos in docs on provenance 16b082a Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators 62684fc Switch inline(always) in core/src/fmt/rt.rs to plain inline cf463f2 Reword prelude for AsyncFn stabilization fae7fe1 Stabilize async closures 3d9dd3a Remove consteval note from <*mut T>::align_offset docs. f2c28f1 Stabilize the Rust 2024 prelude 2ff9c55 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 8b2a029 Move some alloc tests to the alloctests crate bd99475 control libunwind linkage mode via `crt-static` on gnullvm targets e10d828 Change `GetManyMutError` to match T-libs-api decision 92a5ae2 Add references to the specific ABI documents f8d37d7 Remove l4re from the unsigned char operating system list 5f5685c De-duplicate and improve definition of core::ffi::c_char 21d844f Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless 949ee16 stabilize const_nonnull_new 0679c08 Remove rustc_const_stable attribute on const NOOP a32ae94 Add libc funcitons only for wasm32-wasip1-threads. a3ec8d0 Fix compilation for wasm32-wasip1 (without threads). fd1d215 Use UNIX thread_local implementation for WASI. 06921c0 Run TLS destructors for wasm32-wasip1-threads 3874c89 Downgrade cc f1a264f Run `cargo update` and update licenses a58be7b chore: Improve doc comments 397bcff Refactor ReadDir into a state machine 6153908 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next 3f98267 docs: better examples for `std::ops::ControlFlow` 7cb7596 Expand home_dir docs fc8a765 Add doc alias 'then_with' for `then` method on `bool` db8c39d Adds new intrinsic declaration 379df82 Define acronym for thread local storage 7b3731b Add a `collect_into` tuple test case 0bb92ef Don't impl Extend for 13-tuples 250c87a Simplify documentation for Extend impl for tuples e2cd2d5 Add Extend impls for tuples of arity 1 through 12 5eb2a86 Unbreak tidy 29f3a86 Stabilize `std::io::ErrorKind::QuotaExceeded` 97e2c6e Stabilize `std::io::ErrorKind::CrossesDevices` 5aa480d Access members of `FormattingOptions` directly instead of via getters/setters e71fea0 Removed constness for methods receiving a `&mut` parameter a254d48 Added better reason for exposing `flags` and `get_flags` as unstable c786821 Formatted 73c8a20 Refactored FormattingOptions to use a bitmask for storing flags 8e22d48 Revert "Turned public+unstable+hidden functions into private functions" 3051100 Turned public+unstable+hidden functions into private functions 3366b68 Made all fns const 69eabf2 impl Default for fmt::FormattingOptions 15a5a57 Fixed copy+paste error in comment b8bbddc fmt::FormattingOptions: Renamed `alignment` to `align` 45dd056 Formatter::with_options: Use different lifetimes bd252f2 Fixed another broken test f266e6e Added struct `fmt::FormattingOptions` 32785a2 Formatter: Access members via getter methods wherever possible 562a83e Stabilize noop_waker 1535fa5 Improve documentation c677fc6 Reformat Python code with `ruff` 270d5c9 Improve comments for the default backtrace printer 8e7753a clarify simd_relaxed_fma non-determinism a2668c5 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 10a1127 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` 40d7d8b Allow fn pointers comparisons lint in library 232b94a Update `NonZero` and `NonNull` to not field-project (per MCP807) 3279c75 Add `core::arch::breakpoint` and test e7d8eb8 a release operation synchronizes with an acquire operation ae0494d Update the definition of `borrowing_sub` a2da150 stabilize const_{size,align}_of_val 8ed7f7b ./x miri: fix sysroot build 84a97e0 stabilize const_collections_with_hasher and build_hasher_default_const_new 1c8a632 Match simd_relaxed_fma documentation to fmuladd intrinsic 86d2d06 Add simd_relaxed_fma intrinsic 80b40ee Fix `f16::midpoint` const feature gate 26f5f87 Use c"lit" for CStrings without unwrap 58e53cc Stabilize `const_maybe_uninit_write` 93972b9 Fix docs for '<[T]>::as_array'; 0d0f480 Stabilize `ptr::fn_addr_eq` 6e5e5bf rustc_allow_const_fn_unstable is not used in proc_macro d99ed6c get rid of a bunch of unnecessary rustc_const_unstable 556f833 remove a whole bunch of unnecessary const feature gates f613c50 add isatty alias for is_terminal be01379 Stabilize unsigned `num_midpoint` feature c237dfd Mark `slice::copy_from_slice` unstably const 0d6fa07 Fix chaining `carrying_add`s 4805fec add test for bytewise ptr::swap of a pointer 6f638fb move swap_nonoverlapping constness to separate feature gate 5dc589d move slice::swap_unchecked constness to slice_swap_unchecked feature gate bee52ab Add diagnostic item for `std::ops::ControlFlow` dd9744e update link to "C++ Exceptions under the hood" blog be5dd26 fix: fix codeblocks in `PathBuf` example b5ad6a3 fix: hurd build, stat64.st_fsid was renamed to st_dev 1ca89bc std: clarify comments about initialization 9f0aebd std: refactor `pthread`-based synchronization 1e9b356 bump hashbrown version 0c51851 Fill in a `BTreeSet::entry` example 9826068 Add a tracking issue for `btree_set_entry` d09b3b4 Add `BTreeSet` entry APIs to match `HashSet` e3b20e2 Implement code review ca558ad thread::available_parallelism for wasm32-wasip1-threads 7d3fbb4 changes old intrinsic declaration to new declaration 606cec0 Fix and undeprecate home_dir() 6694a52 refine mir debuginfo docs afd0dc2 Doc comment custom MIR debuginfo. ccd9772 Stabilize `extended_varargs_abi_support` 720abf1 update cfgs 298217a replace placeholder version 14662ee Also use zero when referencing to capacity or length 749f43f Use consistent wording in docs, use zero instead of 0 33dbe63 Fix typos in pin.rs 1e95e5f Share inline(never) generics across crates 53d036c fmt 59b9363 aix: create shim for lgammaf_r 5d0eb91 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 65407e2 Remove one stray space. c0d3feb Update chown help with a link and adding cap warning d3c8167 Expand std::os::unix::fs::chown() doc with a warning eeeaadf Add missing code examples on `LocalKey` 95d7b24 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` dafde0e Remove unnecessary `#![allow(unused_features)]` 6c01051 Sort and separate lint/feature attributes in `profiler_builtins` 3fa99c8 std: update internal uses of `io::const_error!` 7af72dc std: expose `const_io_error!` as `const_error!` 0c30d60 Constify Drop and Destruct c9edc2b miri: disable test_downgrade_observe test on macOS 2cb666e Shorten the `MaybeUninit` `Debug` implementation 50de1bb Support ranges in `<[T]>::get_many_mut()` 9879220 btree: add `{Entry,VacantEntry}::insert_entry` 53619a4 std::thread: avoid leading whitespace in some panic messages ac77d16 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: d9afaa0
…attribute, r=wesleywiser" This reverts commit cd63cc68e5d11d2996acf12d0f8562de54142da4, reversing changes made to f23a80a.
0239a65 [create-pull-request] automated change 5be175e Add real safety comments cd683e5 Go back to `Some` instead of transmuting to it. 06ccaf7 Save another BB by using `SubUnchecked` instead of a call to `arith_offset` 74deb0e Simplify `slice::Iter::next` enough that it inlines 0ac402e stabilize `inherent_str_constructors` db48972 Synchronize platform adaptors for OsString/OsStr 6f59bc9 Simplify control flow with while-let f47ca01 Improve WTF-8 comments fca9b8c Remove ignored `#[must_use]` attributes from portable-simd 39d6ae9 Use more explicit and reliable ptr select in sort impls 78e2718 Impl TryFrom<Vec<u8>> for String 36b1a21 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants 0e06cd0 Stabilize file_lock 95af0d8 Update library/std/src/fs.rs 533c29d Update fs.rs f6834be Improve instant docs d981ec8 Stabilize const_slice_flatten dbd4008 Fix typo in hidden internal docs of `TrustedRandomAccess` 1824144 Stabilize (and const-stabilize) `integer_sign_cast` 7b44837 fix docs for inherent str constructors a489e31 Reorder "This lock may be advisory or mandatory." earlier in the lock docs 386e750 Clarify that locking on Windows also works for files opened with `.read(true)` 5ff3d29 Document that locking a file fails on Windows if the file is opened only for append 45af6ff Reword file lock documentation to clarify advisory vs mandatory d8b14ae add last std diagnostic items for clippy 8291ead Remove std::os::wasi::fs::FileExt::tell b942170 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg 2c65f95 Make ub_check message clear that it's not an assert f94addd Use tell for <File as Seek>::stream_position 42d389c Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str. a042544 invalid_from_utf8[_unchecked]: also lint inherent methods c64eb30 Fix &&str and trailing commas in io::const_error! 0d494e8 Use io::const_error! when possible over io::Error::new 23653ba Add an example for std::error::Error 86d5af4 proc_macro: Apply unsafe_op_in_unsafe_fn 4140787 std: Apply unsafe_op_in_unsafe_fn 29b1a33 Fix safety of windows uwp functions cb34648 unwind: Apply unsafe_op_in_unsafe_fn 07bc2d9 panic_unwind: Apply unsafe_op_in_unsafe_fn c773176 panic_abort: Apply unsafe_op_in_unsafe_fn b8837c3 core: Apply unsafe_op_in_unsafe_fn 49c3f8e docs: fix broken intra-doc links that never worked f7847c9 Forward all default methods for I/O impls d65878c Windows: Update generated bindings to 0.59 114fb3d Add safe new to NotAllOnes 30df698 Implement Extend<AsciiChar> for String 6f37c0b re-export `core::iter::FromCoroutine` e1774df Implement `f{16,32,64,128}::{erf,erfc}` 9126209 std: Apply deprecated_safe_2024 b5d0406 test: Apply deprecated_safe_2024 dffd335 std: Apply fixes for tail drop expressions 82e1141 std: Apply rust_2024_incompatible_pat bd63ae7 std: Apply dependency_on_unit_never_type_fallback 6841c02 std: Apply missing_unsafe_on_extern b627b8b std: Apply unsafe_attr_outside_unsafe 2804417 alloc: Apply missing_unsafe_on_extern 9e8d06e alloc: Apply unsafe_attr_outside_unsafe 04206d3 alloc: Workaround hidden doctest line 80a16a3 Migrate coretests to Rust 2024 0f119ad library: Update rand to 0.9.0 247d467 core: Apply unsafe_attr_outside_unsafe 916bcb2 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`. 53074a8 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr 31b2c30 Use `slice::fill` in `io::Repeat` implementation e22d3f1 Remove the common prelude module cf42dcd Correct comment for FreeBSD and DragonFly BSD in unix/thread 1405c60 `transmute` should also assume non-null pointers 88cbc78 Update backtrace 3872acb expect EINVAL for pthread_mutex_destroy for aix 52dd430 add `IntoBounds` trait 2168bc6 Stabilize `get_many_mut` as `get_disjoint_mut` 104edae Fix import in bench for wasm 4d07f2f Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity 0b07348 Add diagnostic item for `std::io::BufRead` 42efb05 Implement `read*_exact` for `std:io::repeat` f178714 std: replace the `FromInner` implementation for addresses with private conversion functions 4b200bb Stabilize target_feature_11 a83d932 Change swap_nonoverlapping from lang to library UB 1a7c2ff `f128` is quadruple-precision 6011951 `f16` is half-precision 41c0578 library: amend revert of extended_varargs_abi_support for beta diff 73b4b55 Revert "Stabilize `extended_varargs_abi_support`" a91f7f1 Change the issue number for `likely_unlikely` and `cold_path` 649c55d Update docs for impl keyword 97daa02 include note on variance and example 4a0d0fc Improve examples for file locking 4fd0696 library: doc: core::alloc::Allocator: trivial typo fix 81d0b32 stabilize `NonZero::count_ones` 978e536 Fix long lines which rustfmt fails to format f72b1cb Reword doc comment on `CoercePointeeValidated` 1c9d207 block coerce_pointee_validated for stabilization ea3657b rename the trait to validity and place a feature gate afront d5cecd1 introduce CoercePointeeWellformed for coherence checks at typeck stage 7266dc7 Update `compiler-builtins` to 0.1.146 34dfc49 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18 b5f056a ignore win_delete_self test in Miri 0308777 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn 18e9cba Mark extern blocks as unsafe b1b3513 Rename field in OnceWith from gen to make 592de0d Mark link_section attr with unsafe c64ddec Use Option for FindNextFileHandle 3a0c29e fix(libtest): Enable Instant on Emscripten targets 07c2e4f Simplify Rc::as_ptr docs + typo fix 950ec67 Stabilize `vec_pop_if` c99d2c5 Rustfmt 5e9cfe0 occured -> occurred e98bfe6 Allow Rust to use a number of libc filesystem calls cadedd7 Windows: Test that deleting a running binary fails 64cf255 Update platform information for remove_file c736a5f Windows: remove readonly files 0d22465 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]` 1d75f41 Document `Sum::sum` returns additive identities for `[]` 61d392b Clean up 'HashMap' and 'HashSet' docs; c62a207 Optimize `Rc::<str>::default()` implementation a8c3487 std: get rid of `sys_common::io` e01a3d4 std: move `io` module out of `pal` 59b6451 Move two windows process tests to tests/ui 1fdbc7a tests(std/net): remove outdated `base_port` calculation 028267f sys: net: Add UEFI stubs 9c8778d Remove some unnecessary parens in `assert!` conditions 93888a0 remove use of `feature(trait_upcasting)` from core tests d736c5f Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios; dcfba8b Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut` c418773 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes` f931343 Fix unreachable_pub lint for hermit target 61eaf91 Fix link in from_fn.rs 24100f6 Use `widening_mul` d34477c Add OneSidedRangeBound to eliminate panic in `split_point_of` 487d7ff Rename slice::take methods to split_off 27a7514 Update `compiler-builtins` to 0.1.145 0f21e5b specify a prim@slice in docs c1437ee implement inherent str constructors 57c6481 std: move network code into `sys` 1dc6239 uefi: process: Add support for command environment variables a75a25f Mark `std::fmt::from_fn` as `#[must_use]` 644dfa4 Rename rustc_contract to contract d53bf43 Improve contracts intrisics and remove wrapper function 7cb9137 Separate contract feature gates for the internal machinery 92bf898 Desugars contract into the internal AST extensions caf8418 Express contracts as part of function header and lower it to the contract lang items d7a2384 contracts: added lang items that act as hooks for rustc-injected code to invoke. eaf50e7 Contracts core intrinsics. e09f853 More PR feedback 78bc332 PR feedback aaeee01 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation 5d40d79 Add note about `FnPtr` being exposed as public bound 54d096e Add `cast_signed` and `cast_unsigned` methods for `NonZero` types c26d414 For NonZero impl macros, give unsigned impls access to the corresponding signed type afca9ef std::fs: further simplify dirent64 handling 6b0040b add UnsafeCell direct access APIs 56b6ff5 primitive type migration from mod.rs to primitives.rs c6a4948 implement unstable `new_range` feature 193c52f std::range 06f6134 Remove stabilized feature gate a487707 Move env modifying tests to a separate integration test 6fd2540 Fix for SGX 4664667 Fix benchmarking of libstd 6e786a8 Move std::sync unit tests to integration tests 5c1d6f6 Move std::thread_local unit tests to integration tests 6b6ffdd Move std::time unit tests to integration tests d4ef07a Move std::path unit tests to integration tests 4f93a9b Move std::panic unit tests to integration tests 7f5116b Move std::num unit tests to integration tests ddd6042 Move std float unit tests to integration tests 966746d Move std::error unit tests to integration tests 5672cc0 Move std::env unit tests to integration tests 76ade38 no unsafe pointer and no overflowing_literals in fmt::Display of integers ab533c8 black_box integer-input on fmt benches 99c641f OnceCell & OnceLock docs: Using (un)initialized consistently 9d86eb0 Docs for f16 and f128: correct a typo and add details bc25d71 rustc_allowed_through_unstable_modules: require deprecation message 68e53b9 Update encode_utf16 to mention it is native endian ba503ed remove Rustc{En,De}codable from library and compiler 0e80c96 make rustc_encodable_decodable feature properly unstable c18c177 Fix sentence in process::abort 5206747 document ptr comparison being by address 3777262 stabilize `once_wait` d68e21c implement all min/max fns in terms of `<`/`is_lt` 6740384 improve doc tests for (min/max/minmax).* functions aa37bb7 docs: Documented Send and Sync requirements for Mutex + MutexGuard 9fc2bab Add documentation for derive(CoercePointee) d147521 Fix off-by-one error causing driftsort to crash 9d46792 Insert null checks for pointer dereferences when debug assertions are enabled 4d4e77f atomic: extend compare_and_swap migration docs 2b1ba78 float::min/max: mention the non-determinism around signed 0 7901a3c Stabilize `const_black_box` 2336ccd Improve documentation for file locking 67ca7a1 Remove minor future footgun in `impl Debug for MaybeUninit` 2b47ea0 Add `AsyncFn*` to core prelude 85fcd28 uefi: Implement path 0f0c4ac Implement `int_from_ascii` (rust-lang#134821) 1b99248 Cleanup docs for Allocator 3f30b61 btree/node.rs: pop_internal_level: does not invalidate other handles 062a33e btree/node.rs: remove incorrect comment from pop_internal_level docs b61e678 add inline attribute and codegen test 0855975 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining edb0d58 optimize slice::ptr_rotate for compile-time-constant small rotates da79685 Test pipes also when not running on Windows and Linux simultaneously 3b220ff uefi: process: Fix args e35b8fe [cfg_match] Document the use of expressions 0270aa2 Update comments and sort target_arch in c_char_definition d09b7f5 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items 664a96f Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent f5c8fa0 Document powf and powi calls that always return 1.0 8e702fc Document purpose of closure in from_fn.rs more clearly d014318 add missing allocator safety in alloc crate fd9c57c alloc: add `#![warn(unreachable_pub)]` bb0a9a3 Implement `AtomicT::update` & `AtomicT::try_update` 1c9ac12 fix doc for std::sync::mpmc 5e7ee87 Implement phantom variance markers c53cc9d Clarify WindowsMut (Lending)Iterator d282a0d compiler_fence: fix example 846217a Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location 7770689 Move `std::io::pipe` code into its own file a2a0b8f Actually run the bstr test a9f86b4 Update comment e1c898e Put all coretests in a separate crate a629c50 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls 6fa7086 add nto80 x86-64 and aarch64 target f5aa09d Add support for QNX 7.1 with io-sock on x64 92b70d2 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64 ba00e46 Update a bunch of comments from before wasi support was added f5c42c8 Remove a bunch of emscripten test ignores da7e123 Fix testing of the standard library with Emscripten f7ad46a fix(libtest): Deprecate '--logfile' 71f270a docs: fix typo in std::pin overview d1b11dc ports last few library files to new intrinsic style ffacc2a Improve and expand documentation of pipes a60276a Fix set_name in thread mod for NuttX 43eb104 Fix `FormattingOptions` instantiation with `Default` 3220fc7 Update library/core/src/num/nonzero.rs 97f13b0 Add memory layout documentation to generic NonZero<T> 77cb2c1 Fix whitespace 5380aef document order of items in iterator from drain bccf5cf Add `File already exists` error doc to `hard_link` function 42ffe5f Doc difference between extend and extend_from_slice cea5d8e Make `Vec::pop_if` a bit more presentable 66b82f6 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if` 3f18a48 remove pointless allowed_through_unstable_modules on TryFromSliceError fa1fdf8 test: add `#![warn(unreachable_pub)]` e568ee4 proc_macro: add `#![warn(unreachable_pub)]` 5f3a610 Implement `CloneToUninit` for `ByteStr` eadcc46 Add doc aliases for BStr and BString 153baeb Omit some more `From` impls to avoid inference failures 691f81d Support `no_rc`, `no_sync`, and `no_global_oom_handling` e316ba0 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100 f970312 Implement `ByteStr` and `ByteString` types ebf9284 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut` 5b2e442 Library: Finalize dyn compatibility renaming d04f76f Remove test panic from File::open f765aec fix OsString::from_encoded_bytes_unchecked description dbc6a7d Add an example of using `carrying_mul_add` to write wider multiplication 4857e29 Outline panicking code for `LocalKey::with` 7bd117a core: `#[allow(unreachable_pub)]` on unreachable `pub use` 74faf66 core: add `#![warn(unreachable_pub)]` e17247f rtstartup: add `#![warn(unreachable_pub)]` d821f45 panic_unwind: add `#![warn(unreachable_pub)]` 83955aa Recognise new IPv6 documentation range from RFC9637 b7b793f 1. Removed 'rustc_nounwind' 2. Rewording of comments b2e578e Export likely(), unlikely() and cold_path() in std::hint 7edf2fd Correct counting to four in cell module docs a5431f7 doc: Point to methods on `Command` as alternatives to `set/remove_var` fa1809a wasi/io: remove dead files 98d484b remove unnecessary rustc_allowed_through_unstable_modules c48b5c7 further improve panic_immediate_abort by removing rtprintpanic messages 85f265b cargo update 63303b9 Rewrap following accepting review suggestions from @ibraheemdev 29189f7 Update library/core/src/slice/mod.rs 0b3a29c Update library/core/src/slice/mod.rs 1e10767 Update library/core/src/slice/mod.rs 5468fdd Update library/core/src/slice/mod.rs 4b4bdfb Update library/core/src/slice/mod.rs e0fa01d Update library/core/src/slice/mod.rs fa5ca28 Update library/core/src/slice/mod.rs d6f56c4 Update library/core/src/slice/mod.rs 9eb40d8 Update library/core/src/slice/mod.rs 1565e6a Update library/core/src/slice/mod.rs 34250e6 `then be` -> `be` based on feedback from @ibraheemdev 288c7ff Improve `select_nth_unstable` documentation clarity 916aaf9 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper" a2154d7 Add references to the IEEE functions for `float_next_up_down` 0390462 Stabilize `float_next_up_down` f7430ec Fix import of pipe in kernel_copy.rs d7e3175 Move `std::pipe::*` into `std::io` 1d31396 Clarify note in `std::sync::LazyLock` example 634b557 fix typo in library/alloc/src/sync.rs 402c93a Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count' 6893e1a Adjust syntax 4e50bc7 Less unsafe in `dangling`/`without_provenance` 0d2cdfb fix typo in typenames of pin documentation cbeb3d9 intrinsics: deprecate calling them via the unstable std::intrinsics path 1896505 add comments explaining main thread identification 9ab82d7 std: lazily allocate the main thread handle 71ac27a Revert "Remove the Arc rt::init allocation for thread info" 00312d1 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`. 3b4fb2b Update compiler-builtins to 0.1.143 022bec9 Rename `pos` to `position` 38482b7 Convert `struct FromBytesWithNulError` into enum b22fdce Enforce syntactical stability of const traits in HIR 9702bad Update compiler-builtins to 0.1.141 d1fda63 Add another `Vec::splice` example 4bf947f avoid nesting the user-defined main so deeply on the stack 210bfa3 use a single large catch_unwind in lang_start c7bfb6f uefi: helpers: Introduce OwnedDevicePath aa9797a path: Move is_absolute check to sys::path 0168ec0 Update the explanation for why we use box_new in vec! d9388a8 Add #[inline] to copy_from_slice b879449 Add inherent versions of MaybeUninit methods for slices a81076d Make UniqueRc invariant for soundness 2caf93e update and clarify StructuralPartialEq docs 4caffa9 Use `NonNull::without_provenance` within the standard library 193e271 Initial fs module for uefi db6cb45 Improve the safety documentation on new_unchecked f8ca79c Update a bunch of library types for MCP807 6c42898 alloc: remove unsound `IsZero` for raw pointers d9484d7 Fix `proc_macro::quote!` for raw ident a163176 Append `TokenTree` with `ToTokens` in `proc_macro::quote!` 4f73954 Rename the internal simpler `quote` macro to `minimal_quote` c55d5c5 Used pthread name functions returning result for FreeBSD and DragonFly e1555d0 Fix ptr::from_ref documentation example comment 04ee9b6 Improve prose around `as_slice` example of IterMut 544080a fmt c64ee3d update cfg(bootstrap) ede0450 update version placeholders b40099f Remove some unnecessary `.into()` calls f8e4c6e add missing provenance APIs on NonNull 510eb6d More compelling env_clear() examples c4684f3 Implement Condvar::wait_timeout for targets without threads f613804 Impl String::into_chars b9e9246 Avoid naming variables `str` 249da44 [generic_assert] Constify methods used by the formatting system 54bfcec Add support for wasm exception handling to Emscripten target c90277d chore: remove redundant words in comment 4fc4af6 Add doc aliases for `libm` and IEEE names 557bccd Mark `slice::reverse` unstably const 56e77ee Clarified the documentation on core::iter::from_fn and core::iter::successors 54905e2 library: fix adler{-> 2}.debug 6a1200d add regression test for unsound Flatten/FlatMap specialization f982362 do not in-place-iterate over flatmap/flatten f6c34ae Fix UWP build ea9cd6a Bump backtrace to 0.3.75 a58c6b0 sync to actual dep verions of backtrace 612a517 turn rustc_box into an intrinsic e4c4671 core: use public method instead of instrinsic 90eec01 core: improve comments 6dfef54 core: implement `bool::select_unpredictable` f436a08 Switch rtems target to panic unwind 3ceae4d path in detail 57c71d2 Move some things to `std::sync::poison` and reexport them in `std::sync` 0d30927 Bump backtrace to rust-lang/backtrace-rs@4d7906b 9203dbb Try to write the panic message with a single `write_all` call 6693134 fix doc for missing Box allocator consistency 0e213f9 Remove qualification of `std::cmp::Ordering` in `Ord` doc 790a0c9 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten 1fcb698 Avoid use of LFS64 symbols on Emscripten 0392829 char to_digit: avoid unnecessary casts to u64 497de1e Remove allowing static_mut_refs lint 8e2e5e8 Tidy up bigint mul methods 111b693 fix doc for read write unaligned in zst operation 4fdcdc9 Avoid short writes in LineWriter 0cdbe0e ptr docs: make it clear that we are talking only about memory accesses 7ea343d Make slice::as_flattened_mut unstably const 4bf3177 rename typed_swap → typed_swap_nonoverlapping 12a280f stabilize const_swap 14919ef fix: typos b984059 Fix sentence fragment in `pin` module docs 3a8c1ee docs: inline `alloc::ffi::c_str` types to `alloc::ffi` 00f9a40 Fix compilation issues on other unixes 26a2736 Eliminate redundant statx syscalls fb9ac8c Unify fs::copy and io::copy e5e7d5b Update `compiler-builtins` to 0.1.140 d5ce7a2 Update library/alloc/tests/sort/tests.rs 133b5e6 Fix typos 2fe04b1 Override `carrying_mul_add` in cg_llvm 4d3e85b Move `{widening, carrying}_mul` to an intrinsic with fallback MIR 85aed35 Fix mistake in windows file open 9e6e377 Windows: Use WriteFile to write to a UTF-8 console f074cde ptr::copy: fix docs for the overlapping case fe5577e Fix renaming symlinks on Windows 797f8f5 docs: inline `core::ffi::c_str` types to `core::ffi` b20e10b docs: inline `std::ffi::c_str` types to `std::ffi` 23d674e unwinding: bump version to fix asm 305eca6 docs: update code example for Iterator#rposition 49f1e7c Use scoped threads in `std::sync::Barrier` examples 73bb4f5 Fix forgetting to save statx availability on success 3cc63c3 Specify only that duplicates are discarded, not the order. b221158 Document collection `From` and `FromIterator` impls that drop duplicate keys. 88e1eb0 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc'; 1b2642e Impl FromIterator for tuples with arity 1-12 d23b8ba Fix formatting 75c911d stabilize const_alloc_layout 2b26cc9 chore: fix typos fcd11af Windows: Use FILE_ALLOCATION_INFO for truncation 508a6c2 Bump `stdarch` 02a0d3c core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type 352a655 Fixes safety docs for `dyn Any + Send {+ Sync}` e7aecaa Use `#[derive(Default)]` instead of manually implementing it 37c2ec6 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser" 7f74767 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`. 441a2c9 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code 1050d70 docs: Permissions.readonly() also ignores root user special permissions 50503f3 cargo update fc62116 Delete `Rvalue::Len` 08c5694 Asserts the maximum value that can be returned from `Vec::len` f63d926 Document `PointerLike` implementation restrictions. 4c0fb0c Use `&raw` for `ptr` primitive docs f8c0112 Add `is_ascii` function optimized for x86-64 for [u8] 3a7edb4 Add new implementation benchmark 453dec4 Document CTFE behavior of methods that call is_null 0587f3e Correctly document is_null CTFE behavior. a193ed9 Win: rename: Use offset_of! in struct size calculation f1deb6e Win: Remove special casing of the win7 target for `std::fs::rename` 65326ce Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory 3d17aa4 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available c50ee88 Less unwrap() in documentation adf35eb Improve prose around into_slice example of IterMut 7c064c7 Improve prose around `as_slice` example of Iter 85278b6 Improve prose around basic examples of Iter and IterMut 1978a73 Abstract `ProcThreadAttributeList` into its own struct 8f1f788 fix `PointerLike` docs 7c9bb98 unimplement `PointerLike` for trait objects 946746e split up `#[rustc_deny_explicit_impl]` attribute 5b880aa remove reference to dangling from slice::Iter 8773984 mri: add track_caller to thread spawning methods for better backtraces bdc2ca0 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()` d39d7ef Improve documentation of `element_offset` and related methods 2eda9a9 Rename `elem_offset` to `element_offset` 5a884c8 docs: Mention `spare_capacity_mut()` in `Vec::set_len` afd4811 build: Update libc version 5b8b54d fix typo in ptr/mod.rs d2a2444 Stabilize `#[diagnostic::do_not_recommend]` 3dff69d Use field init shorthand where possible a2d4c61 fix(LazyCell): documentation of get[_mut] was wrong 5fba991 compiler & tools dependencies: Updating allocator-api2 v0.2.20 -> v0.2.21 Updating annotate-snippets v0.11.4 -> v0.11.5 Updating anyhow v1.0.93 -> v1.0.94 Updating bstr v1.11.0 -> v1.11.1 Updating chrono v0.4.38 -> v0.4.39 Updating clap v4.5.21 -> v4.5.23 Updating clap_builder v4.5.21 -> v4.5.23 Updating clap_complete v4.5.38 -> v4.5.39 Updating clap_lex v0.7.3 -> v0.7.4 Updating colored v2.1.0 -> v2.2.0 Updating console v0.15.8 -> v0.15.10 Updating crossbeam-channel v0.5.13 -> v0.5.14 Updating crossbeam-deque v0.8.5 -> v0.8.6 Updating crossbeam-utils v0.8.20 -> v0.8.21 Updating encode_unicode v0.3.6 -> v1.0.0 Updating fastrand v2.2.0 -> v2.3.0 Updating home v0.5.9 -> v0.5.11 Updating js-sys v0.3.74 -> v0.3.76 Updating libc v0.2.167 -> v0.2.168 Updating miniz_oxide v0.8.0 -> v0.8.1 Updating pest v2.7.14 -> v2.7.15 Updating pest_derive v2.7.14 -> v2.7.15 Updating pest_generator v2.7.14 -> v2.7.15 Updating pest_meta v2.7.14 -> v2.7.15 Updating redox_syscall v0.5.7 -> v0.5.8 Updating rustc-stable-hash v0.1.0 -> v0.1.1 Updating rustix v0.38.41 -> v0.38.42 Updating self_cell v1.0.4 -> v1.1.0 Updating semver v1.0.23 -> v1.0.24 Updating serde v1.0.215 -> v1.0.216 Updating serde_derive v1.0.215 -> v1.0.216 Adding thiserror v2.0.7 Adding thiserror-impl v2.0.7 Updating time v0.3.36 -> v0.3.37 Updating time-macros v0.2.18 -> v0.2.19 Updating tokio v1.41.1 -> v1.42.0 Updating wasm-bindgen v0.2.97 -> v0.2.99 Updating wasm-bindgen-backend v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro v0.2.97 -> v0.2.99 Updating wasm-bindgen-macro-support v0.2.97 -> v0.2.99 Updating wasm-bindgen-shared v0.2.97 -> v0.2.99 Updating wasm-encoder v0.221.0 -> v0.221.2 Updating wasmparser v0.221.0 -> v0.221.2 Updating wast v221.0.0 -> v221.0.2 Updating wat v1.221.0 -> v1.221.2 f2a605f Fix typo in uint_macros.rs f76f1a0 remove obsolete comment and pub(super) visibility d613d33 remove bounds from vec and linkedlist ExtractIf 09ecff6 Add a range argument to vec.extract_if d7c2aa2 Stabilize #[coverage] attribute bf08468 Remove `rustc::existing_doc_keyword` lint. efd8470 Move `doc(keyword = "while")`. 613bcca rustdoc-search: let From and Into be unboxed fcc9399 Replace i32 by char in `split_at` & `_unchecked` 900d90a Add clarity to the "greater" of `VecDeque::insert` 2aa7c24 Replace i32 by char to add clarity 0299a19 Add value accessor methods to `Mutex` and `RwLock` 6800647 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. 4cd84db UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc 1eec6cd UniqueRc: PinCoerceUnsized and DerefPure b0ac778 UniqueRc: comparisons and Hash 70b85a3 UniqueRc: Add more trait impls. e7961b4 Remove support for specializing ToString outside the standard library d878698 Correct spelling of CURRENT_RUSTC_VERSION 0b581cf Add documentation for anonymous pipe module 369cb38 feat: clarify how to use `black_box()` 4fc7cbc Update includes in '/library/core/src/error.rs'; 307dd9f Fix building `std` for Hermit after `c_char` change 394763a Fix `Path::is_absolute` on Hermit 8f73216 Fix typos in docs on provenance a9a748a Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators e1431bc Switch inline(always) in core/src/fmt/rt.rs to plain inline 05e7d86 Reword prelude for AsyncFn stabilization fb95d2b Stabilize async closures a7aae9e Remove consteval note from <*mut T>::align_offset docs. b80e47f Stabilize the Rust 2024 prelude b32e1d9 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 59d4c05 Move some alloc tests to the alloctests crate 3e598f6 control libunwind linkage mode via `crt-static` on gnullvm targets b1e5646 Change `GetManyMutError` to match T-libs-api decision e82cda4 Add references to the specific ABI documents 352f635 Remove l4re from the unsigned char operating system list d03ec88 De-duplicate and improve definition of core::ffi::c_char 2cb1a6e Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless ffb5026 stabilize const_nonnull_new 2f96c6a Remove rustc_const_stable attribute on const NOOP bf51d37 Add libc funcitons only for wasm32-wasip1-threads. e65c781 Fix compilation for wasm32-wasip1 (without threads). 3e567f7 Use UNIX thread_local implementation for WASI. 7f4574c Run TLS destructors for wasm32-wasip1-threads efe1120 Downgrade cc 5e9b5e6 Run `cargo update` and update licenses 4baf329 chore: Improve doc comments ca091da Refactor ReadDir into a state machine f73a48d wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next ab4bfc9 docs: better examples for `std::ops::ControlFlow` ccde43b Expand home_dir docs 9e8cf07 Add doc alias 'then_with' for `then` method on `bool` 3eec6b0 Adds new intrinsic declaration 6601cb9 Define acronym for thread local storage 06f0c37 Add a `collect_into` tuple test case 79a56bd Don't impl Extend for 13-tuples be2a0b1 Simplify documentation for Extend impl for tuples d37ea9f Add Extend impls for tuples of arity 1 through 12 7416d80 Unbreak tidy c1cc5b7 Stabilize `std::io::ErrorKind::QuotaExceeded` 194dac0 Stabilize `std::io::ErrorKind::CrossesDevices` 5a98248 Access members of `FormattingOptions` directly instead of via getters/setters 9be73d6 Removed constness for methods receiving a `&mut` parameter a9d5f73 Added better reason for exposing `flags` and `get_flags` as unstable 7d738cd Formatted 543b98f Refactored FormattingOptions to use a bitmask for storing flags 412a774 Revert "Turned public+unstable+hidden functions into private functions" ed043c5 Turned public+unstable+hidden functions into private functions 8dbaa55 Made all fns const 7992f74 impl Default for fmt::FormattingOptions 00f5278 Fixed copy+paste error in comment 8b88222 fmt::FormattingOptions: Renamed `alignment` to `align` 0baf8fe Formatter::with_options: Use different lifetimes 0a2bec4 Fixed another broken test a8bdd27 Added struct `fmt::FormattingOptions` b959885 Formatter: Access members via getter methods wherever possible c7ddb17 Stabilize noop_waker d730060 Improve documentation 61bbc62 Reformat Python code with `ruff` ea44416 Improve comments for the default backtrace printer b759d59 clarify simd_relaxed_fma non-determinism 35184bd Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa. 579b2d1 Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro` d8c496e Allow fn pointers comparisons lint in library d6cd36a Update `NonZero` and `NonNull` to not field-project (per MCP807) 71c430d Add `core::arch::breakpoint` and test 4d7e9a1 a release operation synchronizes with an acquire operation 68f6c4c Update the definition of `borrowing_sub` 8939060 stabilize const_{size,align}_of_val 6c3fe75 ./x miri: fix sysroot build 986e152 stabilize const_collections_with_hasher and build_hasher_default_const_new 3e53050 Match simd_relaxed_fma documentation to fmuladd intrinsic 51c6fef Add simd_relaxed_fma intrinsic 347f3ec Fix `f16::midpoint` const feature gate c20979b Use c"lit" for CStrings without unwrap c52f82d Stabilize `const_maybe_uninit_write` 8124b17 Fix docs for '<[T]>::as_array'; a629815 Stabilize `ptr::fn_addr_eq` c6b0f21 rustc_allow_const_fn_unstable is not used in proc_macro 41b46c2 get rid of a bunch of unnecessary rustc_const_unstable 677a770 remove a whole bunch of unnecessary const feature gates 608bdac add isatty alias for is_terminal 925b06c Stabilize unsigned `num_midpoint` feature 97e1078 Mark `slice::copy_from_slice` unstably const c10d7bd Fix chaining `carrying_add`s e9431a5 add test for bytewise ptr::swap of a pointer 2c42c69 move swap_nonoverlapping constness to separate feature gate 111e231 move slice::swap_unchecked constness to slice_swap_unchecked feature gate 85a5174 Add diagnostic item for `std::ops::ControlFlow` 440fd2c update link to "C++ Exceptions under the hood" blog 597932b fix: fix codeblocks in `PathBuf` example 6acfa1f fix: hurd build, stat64.st_fsid was renamed to st_dev e1883a1 std: clarify comments about initialization 8988d10 std: refactor `pthread`-based synchronization b5d4f3a bump hashbrown version 5e83544 Fill in a `BTreeSet::entry` example 88fa7fa Add a tracking issue for `btree_set_entry` c244152 Add `BTreeSet` entry APIs to match `HashSet` 9f2955c Implement code review 026ec88 thread::available_parallelism for wasm32-wasip1-threads 7d39a49 changes old intrinsic declaration to new declaration c57bde1 Fix and undeprecate home_dir() cd9ce4a refine mir debuginfo docs e8fba7f Doc comment custom MIR debuginfo. e823042 Stabilize `extended_varargs_abi_support` b8f491d update cfgs f5d6e66 replace placeholder version 5517aca Also use zero when referencing to capacity or length 12e62c1 Use consistent wording in docs, use zero instead of 0 50245a5 Fix typos in pin.rs 5a25d49 Share inline(never) generics across crates 8f15140 fmt 528ac03 aix: create shim for lgammaf_r bafdacd Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods; 4729e10 Remove one stray space. c2c0a75 Update chown help with a link and adding cap warning bd7f5d8 Expand std::os::unix::fs::chown() doc with a warning 15cdb2a Add missing code examples on `LocalKey` 36569a2 Make profiler_builtins `#![no_core]` instead of just `#![no_std]` bf43487 Remove unnecessary `#![allow(unused_features)]` dc61e41 Sort and separate lint/feature attributes in `profiler_builtins` 114bab9 std: update internal uses of `io::const_error!` 4002ac0 std: expose `const_io_error!` as `const_error!` 063543f Constify Drop and Destruct d3aa556 miri: disable test_downgrade_observe test on macOS 148053a Shorten the `MaybeUninit` `Debug` implementation 274a1d2 Support ranges in `<[T]>::get_many_mut()` 6677014 btree: add `{Entry,VacantEntry}::insert_entry` 1329581 std::thread: avoid leading whitespace in some panic messages 30e3308 Added a doc test for std::path::strip_prefix git-subtree-dir: library git-subtree-split: 0239a65
Closes #84605, which passed FCP.
Stabilisation report here: #84605 (comment)
Also added to reference here: rust-lang/reference#1628
try-job: aarch64-apple
try-job: x86_64-gnu
try-job: x86_64-msvc