Skip to content

Delete Rvalue::Len 🎉 #134330

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2024
Merged

Delete Rvalue::Len 🎉 #134330

merged 2 commits into from
Dec 22, 2024

Conversation

scottmcm
Copy link
Member

@scottmcm scottmcm commented Dec 15, 2024

Everything's moved to PtrMetadata, so we can get rid of the Len variant now.

Depends on #134326, so draft until that lands Ready!

r? mir

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 15, 2024
// actual = len(place)
self.cfg.push_assign(block, source_info, actual, Rvalue::Len(place));
let actual = self.len_of_slice_or_array(block, place, test.span, source_info);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One functional change here, reusing this helper from #133734

mir! {
{
let x = [5_i32; C];
let c = Len(x);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was here testing the custom-mir Len, which is removed here, so I deleted the test.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Dec 15, 2024

☔ The latest upstream changes (presumably #134332) made this pull request unmergeable. Please resolve the merge conflicts.

@rust-log-analyzer

This comment has been minimized.

Everything's moved to `PtrMetadata` instead.
@scottmcm scottmcm closed this Dec 22, 2024
@scottmcm scottmcm reopened this Dec 22, 2024
@scottmcm scottmcm marked this pull request as ready for review December 22, 2024 16:27
@rustbot
Copy link
Collaborator

rustbot commented Dec 22, 2024

Some changes occurred to the intrinsics. Make sure the CTFE / Miri interpreter
gets adapted for the changes, if necessary.

cc @rust-lang/miri, @rust-lang/wg-const-eval

Some changes occurred to the CTFE / Miri interpreter

cc @rust-lang/miri

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

This PR changes MIR

cc @oli-obk, @RalfJung, @JakobDegen, @davidtwco, @celinval, @vakaras

Some changes occurred to the CTFE machinery

cc @rust-lang/wg-const-eval

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

@matthewjasper
Copy link
Contributor

Discussion of this was here for anyone wondering: https://rust-lang.zulipchat.com/#narrow/channel/189540-t-compiler.2Fwg-mir-opt/topic/.60RValue.3A.3ALen.60.20vs.20.60UnOp.3A.3APtrMetadata.60

@bors r+ rollup=iffy
(iffy for perf)

@bors
Copy link
Collaborator

bors commented Dec 22, 2024

📌 Commit 29889fd has been approved by matthewjasper

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 22, 2024
@bors
Copy link
Collaborator

bors commented Dec 22, 2024

⌛ Testing commit 29889fd with merge e108481...

@bors
Copy link
Collaborator

bors commented Dec 22, 2024

☀️ Test successful - checks-actions
Approved by: matthewjasper
Pushing e108481 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 22, 2024
@bors bors merged commit e108481 into rust-lang:master Dec 22, 2024
13 checks passed
@rustbot rustbot added this to the 1.85.0 milestone Dec 22, 2024
@scottmcm scottmcm deleted the no-more-rvalue-len branch December 22, 2024 21:57
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 3, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 3, 2025
0562ec7 Add real safety comments
b1882aa Go back to `Some` instead of transmuting to it.
06a6f3c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
fe8a60e Simplify `slice::Iter::next` enough that it inlines
d1a66b8 stabilize `inherent_str_constructors`
d3c07ff Synchronize platform adaptors for OsString/OsStr
4370aaa Simplify control flow with while-let
7c294f4 Improve WTF-8 comments
55efc50 Remove ignored `#[must_use]` attributes from portable-simd
bb49c2b Use more explicit and reliable ptr select in sort impls
cef1ddd Impl TryFrom<Vec<u8>> for String
078494d add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
6658f78 Stabilize file_lock
fc9f5d5 Update library/std/src/fs.rs
6fe22af Update fs.rs
3b9457b Improve instant docs
c8b225a Stabilize const_slice_flatten
ded763b Fix typo in hidden internal docs of `TrustedRandomAccess`
506fc1f Stabilize (and const-stabilize) `integer_sign_cast`
1b0d7d9 fix docs for inherent str constructors
f836902 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
8285717 Clarify that locking on Windows also works for files opened with `.read(true)`
6a2341a Document that locking a file fails on Windows if the file is opened only for append
7bf4df0 Reword file lock documentation to clarify advisory vs mandatory
918c106 add last std diagnostic items for clippy
e36d971 Remove std::os::wasi::fs::FileExt::tell
dccbb28 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
294d842 Make ub_check message clear that it's not an assert
1923978 Use tell for <File as Seek>::stream_position
5071f67 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
b6d2389 invalid_from_utf8[_unchecked]: also lint inherent methods
64f1ad1 Fix &&str and trailing commas in io::const_error!
99c3dff Use io::const_error! when possible over io::Error::new
7f51728 Add an example for std::error::Error
5eb11a1 proc_macro: Apply unsafe_op_in_unsafe_fn
2c09051 std: Apply unsafe_op_in_unsafe_fn
9da88d8 Fix safety of windows uwp functions
ce1c38b unwind: Apply unsafe_op_in_unsafe_fn
1dd0d31 panic_unwind: Apply unsafe_op_in_unsafe_fn
9f1a155 panic_abort: Apply unsafe_op_in_unsafe_fn
30bf7f3 core: Apply unsafe_op_in_unsafe_fn
6972c85 docs: fix broken intra-doc links that never worked
90daa9f Forward all default methods for I/O impls
a359299 Windows: Update generated bindings to 0.59
db056a4 Add safe new to NotAllOnes
8750bb3 Implement Extend<AsciiChar> for String
00f2125 re-export `core::iter::FromCoroutine`
2f83b61 Implement `f{16,32,64,128}::{erf,erfc}`
a1d366c std: Apply deprecated_safe_2024
904d1bd test: Apply deprecated_safe_2024
e0666e6 std: Apply fixes for tail drop expressions
6c4ee0d std: Apply rust_2024_incompatible_pat
fd7a458 std: Apply dependency_on_unit_never_type_fallback
6a0386e std: Apply missing_unsafe_on_extern
095c3e9 std: Apply unsafe_attr_outside_unsafe
f9df76e alloc: Apply missing_unsafe_on_extern
c43fd7d alloc: Apply unsafe_attr_outside_unsafe
bb25d99 alloc: Workaround hidden doctest line
7a786cb Migrate coretests to Rust 2024
a019f12 library: Update rand to 0.9.0
5ada489 core: Apply unsafe_attr_outside_unsafe
55a40e0 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
e7f6d4e alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
4321ba7 Use `slice::fill` in `io::Repeat` implementation
1df5c02 Remove the common prelude module
227c9ee Correct comment for FreeBSD and DragonFly BSD in unix/thread
86202ab `transmute` should also assume non-null pointers
38d556d Update backtrace
6588723 expect EINVAL for pthread_mutex_destroy for aix
613e39a add `IntoBounds` trait
eab34f5 Stabilize `get_many_mut` as `get_disjoint_mut`
881dc9b Fix import in bench for wasm
3c650f5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
c8c6c27 Add diagnostic item for `std::io::BufRead`
79e702e Implement `read*_exact` for `std:io::repeat`
e5dd566 std: replace the `FromInner` implementation for addresses with private conversion functions
45328f4 Stabilize target_feature_11
871c3ea Change swap_nonoverlapping from lang to library UB
7d06538 `f128` is quadruple-precision
1e32fb2 `f16` is half-precision
9877cde library: amend revert of extended_varargs_abi_support for beta diff
967368c Revert "Stabilize `extended_varargs_abi_support`"
9c88d83 Change the issue number for `likely_unlikely` and `cold_path`
9543f5c Update docs for impl keyword
5e0be4e include note on variance and example
ba855ca Improve examples for file locking
7e0bf79 library: doc: core::alloc::Allocator: trivial typo fix
404b9d5 stabilize `NonZero::count_ones`
bcedb24 Fix long lines which rustfmt fails to format
374116d Reword doc comment on `CoercePointeeValidated`
ce94806 block coerce_pointee_validated for stabilization
9e89768 rename the trait to validity and place a feature gate afront
158e7e0 introduce CoercePointeeWellformed for coherence checks at typeck stage
5191378 Update `compiler-builtins` to 0.1.146
e5c54de Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
e6a23ec ignore win_delete_self test in Miri
0c59599 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
6d60394 Mark extern blocks as unsafe
a954978 Rename field in OnceWith from gen to make
aa6dca1 Mark link_section attr with unsafe
4422f5c Use Option for FindNextFileHandle
6e014a1 fix(libtest): Enable Instant on Emscripten targets
f2d27f1 Simplify Rc::as_ptr docs + typo fix
66b68e4 Stabilize `vec_pop_if`
624e549 Rustfmt
23746b9 occured -> occurred
84d85f7 Allow Rust to use a number of libc filesystem calls
2777961 Windows: Test that deleting a running binary fails
514cc6f Update platform information for remove_file
58432e9 Windows: remove readonly files
3b68c8e Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
0a013e5 Document `Sum::sum` returns additive identities for `[]`
bd88374 Clean up 'HashMap' and 'HashSet' docs;
074f098 Optimize `Rc::<str>::default()` implementation
0d9968b std: get rid of `sys_common::io`
5af2098 std: move `io` module out of `pal`
c768dfb Move two windows process tests to tests/ui
e7676a4 tests(std/net): remove outdated `base_port` calculation
813a53a sys: net: Add UEFI stubs
2aa2a7e Remove some unnecessary parens in `assert!` conditions
79325e1 remove use of `feature(trait_upcasting)` from core tests
176cb90 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
acf35f9 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
22f16e3 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
671e6fe Fix unreachable_pub lint for hermit target
495335c Fix link in from_fn.rs
32eac99 Use `widening_mul`
b7aeb84 Add OneSidedRangeBound to eliminate panic in `split_point_of`
7d590eb Rename slice::take methods to split_off
87797bd Update `compiler-builtins` to 0.1.145
fdb82d6 specify a prim@slice in docs
c87c33b implement inherent str constructors
d9f55aa std: move network code into `sys`
31d80ee uefi: process: Add support for command environment variables
5f3142e Mark `std::fmt::from_fn` as `#[must_use]`
39d9312 Rename rustc_contract to contract
efb8af0 Improve contracts intrisics and remove wrapper function
5311c0b Separate contract feature gates for the internal machinery
3d0c045 Desugars contract into the internal AST extensions
bbad05c Express contracts as part of function header and lower it to the contract lang items
ae5caaa contracts: added lang items that act as hooks for rustc-injected code to invoke.
951ae09 Contracts core intrinsics.
6e5228b More PR feedback
5fbc756 PR feedback
88e86cb Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
aa60c9a Add note about `FnPtr` being exposed as public bound
7306b8c Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
b67e801 For NonZero impl macros, give unsigned impls access to the corresponding signed type
547e4c6 std::fs: further simplify dirent64 handling
90eb31b add UnsafeCell direct access APIs
a217dc8 primitive type migration from mod.rs to primitives.rs
7b0bc23 implement unstable `new_range` feature
34e53ec std::range
5a8d904 Remove stabilized feature gate
d6c07a2 Move env modifying tests to a separate integration test
8844b85 Fix for SGX
92c2922 Fix benchmarking of libstd
1981819 Move std::sync unit tests to integration tests
ef062fc Move std::thread_local unit tests to integration tests
076150a Move std::time unit tests to integration tests
482d344 Move std::path unit tests to integration tests
8dd4b82 Move std::panic unit tests to integration tests
5adcd20 Move std::num unit tests to integration tests
77cedba Move std float unit tests to integration tests
9552c57 Move std::error unit tests to integration tests
d90fa3b Move std::env unit tests to integration tests
49cc1a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
e0f129a black_box integer-input on fmt benches
16306e6 OnceCell & OnceLock docs: Using (un)initialized consistently
96ed54a Docs for f16 and f128: correct a typo and add details
33eea01 rustc_allowed_through_unstable_modules: require deprecation message
9496787 Update encode_utf16 to mention it is native endian
2759242 remove Rustc{En,De}codable from library and compiler
9c77cd0 make rustc_encodable_decodable feature properly unstable
475df13 Fix sentence in process::abort
d5b6949 document ptr comparison being by address
426f8f5 stabilize `once_wait`
5e37876 implement all min/max fns in terms of `<`/`is_lt`
0f8a89d improve doc tests for (min/max/minmax).* functions
0ff33e2 docs: Documented Send and Sync requirements for Mutex + MutexGuard
5971e34 Add documentation for derive(CoercePointee)
d720dd6 Fix off-by-one error causing driftsort to crash
ec96439 Insert null checks for pointer dereferences when debug assertions are enabled
ba37f31 atomic: extend compare_and_swap migration docs
51d9c2b float::min/max: mention the non-determinism around signed 0
82acff5 Stabilize `const_black_box`
d4dfd00 Improve documentation for file locking
f4c03a3 Remove minor future footgun in `impl Debug for MaybeUninit`
cd0dcf8 Add `AsyncFn*` to core prelude
b40071d uefi: Implement path
ba01bde Implement `int_from_ascii` (rust-lang#134821)
5711021 Cleanup docs for Allocator
1baf15d btree/node.rs: pop_internal_level: does not invalidate other handles
1ed6d7e btree/node.rs: remove incorrect comment from pop_internal_level docs
5d1d73e add inline attribute and codegen test
0f4916b split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
d81c593 optimize slice::ptr_rotate for compile-time-constant small rotates
9601b1e Test pipes also when not running on Windows and Linux simultaneously
1b41ddc uefi: process: Fix args
0c3cce3 [cfg_match] Document the use of expressions
1902c9b Update comments and sort target_arch in c_char_definition
b2c0641 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
756ed69 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
b82b23f Document powf and powi calls that always return 1.0
58eb501 Document purpose of closure in from_fn.rs more clearly
1a44d2d add missing allocator safety in alloc crate
a2d218d alloc: add `#![warn(unreachable_pub)]`
c341d39 Implement `AtomicT::update` & `AtomicT::try_update`
cc9a322 fix doc for std::sync::mpmc
528084f Implement phantom variance markers
d893307 Clarify WindowsMut (Lending)Iterator
db17d14 compiler_fence: fix example
fa85ea6 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
c4f7102 Move `std::io::pipe` code into its own file
071fcf3 Actually run the bstr test
773a396 Update comment
0abbad6 Put all coretests in a separate crate
69e3be4 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
80d0b28 add nto80 x86-64 and aarch64 target
66e84c8 Add support for QNX 7.1 with io-sock on x64
d88c7e3 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
37f7349 Update a bunch of comments from before wasi support was added
46cb1bf Remove a bunch of emscripten test ignores
0d32266 Fix testing of the standard library with Emscripten
72caa7e fix(libtest): Deprecate '--logfile'
f7d8311 docs: fix typo in std::pin overview
6ccb8d1 ports last few library files to new intrinsic style
3d95f08 Improve and expand documentation of pipes
6138166 Fix set_name in thread mod for NuttX
0d93b96 Fix `FormattingOptions` instantiation with `Default`
8a4225e Update library/core/src/num/nonzero.rs
0e14d5b Add memory layout documentation to generic NonZero<T>
fa4a7ae Fix whitespace
7c4aab9 document order of items in iterator from drain
9ba02e2 Add `File already exists` error doc to `hard_link` function
5059365 Doc difference between extend and extend_from_slice
1d1bc64 Make `Vec::pop_if` a bit more presentable
7153e80 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
3ff034e remove pointless allowed_through_unstable_modules on TryFromSliceError
272069b test: add `#![warn(unreachable_pub)]`
f621bcf proc_macro: add `#![warn(unreachable_pub)]`
01077f3 Implement `CloneToUninit` for `ByteStr`
8944f2e Add doc aliases for BStr and BString
8e5f538 Omit some more `From` impls to avoid inference failures
0c67c20 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
631fc6d Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7749d74 Implement `ByteStr` and `ByteString` types
6dc45b7 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
daf2040 Library: Finalize dyn compatibility renaming
c80e646 Remove test panic from File::open
2a6cb30 fix OsString::from_encoded_bytes_unchecked description
2c216cb Add an example of using `carrying_mul_add` to write wider multiplication
e25e330 Outline panicking code for `LocalKey::with`
d1367dc core: `#[allow(unreachable_pub)]` on unreachable `pub use`
ee3a512 core: add `#![warn(unreachable_pub)]`
0a6e583 rtstartup: add `#![warn(unreachable_pub)]`
17e84b0 panic_unwind: add `#![warn(unreachable_pub)]`
2959a84 Recognise new IPv6 documentation range from RFC9637
4bf3d35 1. Removed 'rustc_nounwind' 2. Rewording of comments
11838c5 Export likely(), unlikely() and cold_path() in std::hint
cc75b97 Correct counting to four in cell module docs
acf924a doc: Point to methods on `Command` as alternatives to `set/remove_var`
4f3f8a8 wasi/io: remove dead files
35ba0e4 remove unnecessary rustc_allowed_through_unstable_modules
72814a3 further improve panic_immediate_abort by removing rtprintpanic messages
cfa4d02 cargo update
ccbe5c8 Rewrap following accepting review suggestions from @ibraheemdev
af89f11 Update library/core/src/slice/mod.rs
1d0a856 Update library/core/src/slice/mod.rs
2e8de2e Update library/core/src/slice/mod.rs
198fcdd Update library/core/src/slice/mod.rs
1b3094c Update library/core/src/slice/mod.rs
c2d7328 Update library/core/src/slice/mod.rs
5c4243a Update library/core/src/slice/mod.rs
a0d178a Update library/core/src/slice/mod.rs
4b33637 Update library/core/src/slice/mod.rs
08f3794 Update library/core/src/slice/mod.rs
e970075 `then be` -> `be` based on feedback from @ibraheemdev
a23bf94 Improve `select_nth_unstable` documentation clarity
ab779d8 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
687692d Add references to the IEEE functions for `float_next_up_down`
1ab49f6 Stabilize `float_next_up_down`
2cd5266 Fix import of pipe in kernel_copy.rs
bf5e38f Move `std::pipe::*` into `std::io`
959b625 Clarify note in `std::sync::LazyLock` example
1f61132 fix typo in library/alloc/src/sync.rs
4f31d3f Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
aa303b9 Adjust syntax
3353415 Less unsafe in `dangling`/`without_provenance`
77d28bd fix typo in typenames of pin documentation
b4c15d1 intrinsics: deprecate calling them via the unstable std::intrinsics path
4d8c966 add comments explaining main thread identification
7da0eaf std: lazily allocate the main thread handle
2be7c9f Revert "Remove the Arc rt::init allocation for thread info"
206933c Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
0c73cf0 Update compiler-builtins to 0.1.143
ba3228b Rename `pos` to `position`
58fa123 Convert `struct FromBytesWithNulError` into enum
64d9279 Enforce syntactical stability of const traits in HIR
8b22e80 Update compiler-builtins to 0.1.141
4859dce Add another `Vec::splice` example
1c3dd64 avoid nesting the user-defined main so deeply on the stack
1eb9934 use a single large catch_unwind in lang_start
f17f468 uefi: helpers: Introduce OwnedDevicePath
4360a7f path: Move is_absolute check to sys::path
1aaf073 Update the explanation for why we use box_new in vec!
ae6e68c Add #[inline] to copy_from_slice
0c23507 Add inherent versions of MaybeUninit methods for slices
d223dbb Make UniqueRc invariant for soundness
a559921 update and clarify StructuralPartialEq docs
0c31e11 Use `NonNull::without_provenance` within the standard library
30cf3ab Initial fs module for uefi
6183c71 Improve the safety documentation on new_unchecked
0700a96 Update a bunch of library types for MCP807
b4b8d53 alloc: remove unsound `IsZero` for raw pointers
4a8bbbd Fix `proc_macro::quote!` for raw ident
2fc2bf8 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
af9162b Rename the internal simpler `quote` macro to `minimal_quote`
240c29a Used pthread name functions returning result for FreeBSD and DragonFly
10f8df3 Fix ptr::from_ref documentation example comment
77dd1c1 Improve prose around `as_slice` example of IterMut
e547adc fmt
556ab48 update cfg(bootstrap)
43a9761 update version placeholders
e839c42 Remove some unnecessary `.into()` calls
cc66a0d add missing provenance APIs on NonNull
4f70a0f More compelling env_clear() examples
b8076f3 Implement Condvar::wait_timeout for targets without threads
3e9bbb8 Impl String::into_chars
7c9257f Avoid naming variables `str`
c074f85 [generic_assert] Constify methods used by the formatting system
9744d02 Add support for wasm exception handling to Emscripten target
3cbfa9e chore: remove redundant words in comment
c48f8c3 Add doc aliases for `libm` and IEEE names
eec9d3a Mark `slice::reverse` unstably const
b405b11 Clarified the documentation on core::iter::from_fn and core::iter::successors
5053f5c library: fix adler{-> 2}.debug
ce287de add regression test for unsound Flatten/FlatMap specialization
1b67f94 do not in-place-iterate over flatmap/flatten
1d6b7b9 Fix UWP build
9dcd96c Bump backtrace to 0.3.75
8b295bd sync to actual dep verions of backtrace
ea5f7f9 turn rustc_box into an intrinsic
322bf11 core: use public method instead of instrinsic
85f0b1a core: improve comments
caf45fa core: implement `bool::select_unpredictable`
4cd5262 Switch rtems target to panic unwind
77f910e path in detail
eca7da0 Move some things to `std::sync::poison` and reexport them in `std::sync`
93adcb8 Bump backtrace to rust-lang/backtrace-rs@4d7906b
8f4ae1c Try to write the panic message with a single `write_all` call
d7844a7 fix doc for missing Box allocator consistency
bd694d6 Remove qualification of `std::cmp::Ordering` in `Ord` doc
4eb5e67 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
0b82093 Avoid use of LFS64 symbols on Emscripten
7bdb4e9 char to_digit: avoid unnecessary casts to u64
88eb7be Remove allowing static_mut_refs lint
3e7ed5c Tidy up bigint mul methods
660b9f6 fix doc for read write unaligned in zst operation
90f7d17 Avoid short writes in LineWriter
da2dddc ptr docs: make it clear that we are talking only about memory accesses
7e42feb Make slice::as_flattened_mut unstably const
f595a73 rename typed_swap → typed_swap_nonoverlapping
0f4054c stabilize const_swap
7bd3ce5 fix: typos
e12ff84 Fix sentence fragment in `pin` module docs
0e3a01a docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
e6ae67c Fix compilation issues on other unixes
4da51cd Eliminate redundant statx syscalls
14c47af Unify fs::copy and io::copy
312e2ff Update `compiler-builtins` to 0.1.140
9c0b48c Update library/alloc/tests/sort/tests.rs
e571678 Fix typos
016f072 Override `carrying_mul_add` in cg_llvm
72c670a Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
6b1da3c Fix mistake in windows file open
3ced2c0 Windows: Use WriteFile to write to a UTF-8 console
7d5c993 ptr::copy: fix docs for the overlapping case
c9f1844 Fix renaming symlinks on Windows
bbf8c27 docs: inline `core::ffi::c_str` types to `core::ffi`
30d231d docs: inline `std::ffi::c_str` types to `std::ffi`
5635206 unwinding: bump version to fix asm
3c97127 docs: update code example for Iterator#rposition
365702d Use scoped threads in `std::sync::Barrier` examples
7322217 Fix forgetting to save statx availability on success
908619c Specify only that duplicates are discarded, not the order.
4885a7b Document collection `From` and `FromIterator` impls that drop duplicate keys.
e8686b9 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
560c493 Impl FromIterator for tuples with arity 1-12
daf5a3b Fix formatting
0b8321c stabilize const_alloc_layout
532d696 chore: fix typos
7e31825 Windows: Use FILE_ALLOCATION_INFO for truncation
e78b3f0 Bump `stdarch`
58bca68 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
4222ea0 Fixes safety docs for `dyn Any + Send {+ Sync}`
45151a9 Use `#[derive(Default)]` instead of manually implementing it
1600e46 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
9f6497d Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
8a53e23 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
c1f8b92 docs: Permissions.readonly() also ignores root user special permissions
36c0e86 cargo update
5aa0ab2 Delete `Rvalue::Len`
8ab6664 Asserts the maximum value that can be returned from `Vec::len`
f7031a9 Document `PointerLike` implementation restrictions.
c9eb204 Use `&raw` for `ptr` primitive docs
832a776 Add `is_ascii` function optimized for x86-64 for [u8]
61e4368 Add new implementation benchmark
6d66045 Document CTFE behavior of methods that call is_null
889f0a4 Correctly document is_null CTFE behavior.
c3be8df Win: rename: Use offset_of! in struct size calculation
7ca358d Win: Remove special casing of the win7 target for `std::fs::rename`
aea3e66 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
b64a20d Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
80bd8f0 Less unwrap() in documentation
8807104 Improve prose around into_slice example of IterMut
9460bf6 Improve prose around `as_slice` example of Iter
f2cce4c Improve prose around basic examples of Iter and IterMut
22392c0 Abstract `ProcThreadAttributeList` into its own struct
8c88709 fix `PointerLike` docs
145ce5a unimplement `PointerLike` for trait objects
716df92 split up `#[rustc_deny_explicit_impl]` attribute
464b3a2 remove reference to dangling from slice::Iter
3a37084 mri: add track_caller to thread spawning methods for better backtraces
5d3f7a9 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
248ff81 Improve documentation of `element_offset` and related methods
ebc257f Rename `elem_offset` to `element_offset`
b2d279b docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b5c51dd build: Update libc version
931daf0 fix typo in ptr/mod.rs
f9c0b8e Stabilize `#[diagnostic::do_not_recommend]`
3f38f7d Use field init shorthand where possible
04e5b43 fix(LazyCell): documentation of get[_mut] was wrong
ae07bb0 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
8351aaa Fix typo in uint_macros.rs
eee7051 remove obsolete comment and pub(super) visibility
02b1a8e remove bounds from vec and linkedlist ExtractIf
40301c2 Add a range argument to vec.extract_if
1ee2d1d Stabilize #[coverage] attribute
102bde1 Remove `rustc::existing_doc_keyword` lint.
a255d48 Move `doc(keyword = "while")`.
48aed2e rustdoc-search: let From and Into be unboxed
1c56964 Replace i32 by char in `split_at` & `_unchecked`
b20544a Add clarity to the "greater" of `VecDeque::insert`
0521a63 Replace i32 by char to add clarity
47962f8 Add value accessor methods to `Mutex` and `RwLock`
2192b6c std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
8ba808f UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
eeeac9e UniqueRc: PinCoerceUnsized and DerefPure
a7872a8 UniqueRc: comparisons and Hash
59b5e6b UniqueRc: Add more trait impls.
4d060b9 Remove support for specializing ToString outside the standard library
78ddb5a Correct spelling of CURRENT_RUSTC_VERSION
6201c26 Add documentation for anonymous pipe module
81b67aa feat: clarify how to use `black_box()`
def4f6c Update includes in '/library/core/src/error.rs';
e2d5461 Fix building `std` for Hermit after `c_char` change
e75f3ea Fix `Path::is_absolute` on Hermit
be31965 Fix typos in docs on provenance
429fcc9 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
a62fd40 Switch inline(always) in core/src/fmt/rt.rs to plain inline
0de7af4 Reword prelude for AsyncFn stabilization
a173c52 Stabilize async closures
4d14add Remove consteval note from <*mut T>::align_offset docs.
12ab1ab Stabilize the Rust 2024 prelude
91a57d8 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
64512ce Move some alloc tests to the alloctests crate
d58e876 control libunwind linkage mode via `crt-static` on gnullvm targets
d4c857a Change `GetManyMutError` to match T-libs-api decision
face2ac Add references to the specific ABI documents
9349e01 Remove l4re from the unsigned char operating system list
e2317ea De-duplicate and improve definition of core::ffi::c_char
6140cbe Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
4161b56 stabilize const_nonnull_new
cedb8de Remove rustc_const_stable attribute on const NOOP
09ad2a8 Add libc funcitons only for wasm32-wasip1-threads.
2e9c76a Fix compilation for wasm32-wasip1 (without threads).
d58e91a Use UNIX thread_local implementation for WASI.
fe5eb7f Run TLS destructors for wasm32-wasip1-threads
8394b88 Downgrade cc
e22fbb5 Run `cargo update` and update licenses
0997a53 chore: Improve doc comments
1fc02ee Refactor ReadDir into a state machine
a7520c5 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
4337651 docs: better examples for `std::ops::ControlFlow`
ceca1ca Expand home_dir docs
40efba8 Add doc alias 'then_with' for `then` method on `bool`
c8c8bb4 Adds new intrinsic declaration
b4b58f4 Define acronym for thread local storage
e1984ad Add a `collect_into` tuple test case
07f82a8 Don't impl Extend for 13-tuples
64ebed6 Simplify documentation for Extend impl for tuples
c756d4f Add Extend impls for tuples of arity 1 through 12
0bed82e Unbreak tidy
ec99600 Stabilize `std::io::ErrorKind::QuotaExceeded`
7c4237a Stabilize `std::io::ErrorKind::CrossesDevices`
77877b6 Access members of `FormattingOptions` directly instead of via getters/setters
e8004a2 Removed constness for methods receiving a `&mut` parameter
551d251 Added better reason for exposing `flags` and `get_flags` as unstable
28fd653 Formatted
20be04f Refactored FormattingOptions to use a bitmask for storing flags
89b1bc5 Revert "Turned public+unstable+hidden functions into private functions"
fa6dd17 Turned public+unstable+hidden functions into private functions
768d37c Made all fns const
df7891c impl Default for fmt::FormattingOptions
d636071 Fixed copy+paste error in comment
e2f4dec fmt::FormattingOptions: Renamed `alignment` to `align`
a04e528 Formatter::with_options: Use different lifetimes
2c549b7 Fixed another broken test
128d718 Added struct `fmt::FormattingOptions`
79f295a Formatter: Access members via getter methods wherever possible
4548bae Stabilize noop_waker
763197e Improve documentation
4b50e71 Reformat Python code with `ruff`
ebf9f43 Improve comments for the default backtrace printer
6d3d76e clarify simd_relaxed_fma non-determinism
2365fae Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
a52b934 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
74062c0 Allow fn pointers comparisons lint in library
63e2ef1 Update `NonZero` and `NonNull` to not field-project (per MCP807)
a7e3403 Add `core::arch::breakpoint` and test
41bcaca a release operation synchronizes with an acquire operation
99dcd60 Update the definition of `borrowing_sub`
9c76387 stabilize const_{size,align}_of_val
6948230 ./x miri: fix sysroot build
3d3b6ea stabilize const_collections_with_hasher and build_hasher_default_const_new
2a67969 Match simd_relaxed_fma documentation to fmuladd intrinsic
2c1edca Add simd_relaxed_fma intrinsic
aada509 Fix `f16::midpoint` const feature gate
d262773 Use c"lit" for CStrings without unwrap
585f3e9 Stabilize `const_maybe_uninit_write`
c222069 Fix docs for '<[T]>::as_array';
7c9d5d1 Stabilize `ptr::fn_addr_eq`
7251152 rustc_allow_const_fn_unstable is not used in proc_macro
df2dd5c get rid of a bunch of unnecessary rustc_const_unstable
e49611d remove a whole bunch of unnecessary const feature gates
364a3fc add isatty alias for is_terminal
fa4608d Stabilize unsigned `num_midpoint` feature
0c291ad Mark `slice::copy_from_slice` unstably const
58e7fe7 Fix chaining `carrying_add`s
ddfdc3e add test for bytewise ptr::swap of a pointer
2eb8d1c move swap_nonoverlapping constness to separate feature gate
0dd478c move slice::swap_unchecked constness to slice_swap_unchecked feature gate
9e869ad Add diagnostic item for `std::ops::ControlFlow`
ddc01a7 update link to "C++ Exceptions under the hood" blog
12adcda fix: fix codeblocks in `PathBuf` example
0cd78eb fix: hurd build, stat64.st_fsid was renamed to st_dev
397d0c4 std: clarify comments about initialization
d267060 std: refactor `pthread`-based synchronization
b12f45e bump hashbrown version
673b90e Fill in a `BTreeSet::entry` example
5746d71 Add a tracking issue for `btree_set_entry`
842b922 Add `BTreeSet` entry APIs to match `HashSet`
cc14804 Implement code review
eb297dc thread::available_parallelism for wasm32-wasip1-threads
269486b changes old intrinsic declaration to new declaration
a9cf29e Fix and undeprecate home_dir()
21ae330 refine mir debuginfo docs
83f5e1b Doc comment custom MIR debuginfo.
81d70f1 Stabilize `extended_varargs_abi_support`
d527600 update cfgs
5be95fa replace placeholder version
f16a48a Also use zero when referencing to capacity or length
9e57f48 Use consistent wording in docs, use zero instead of 0
a627341 Fix typos in pin.rs
98ed37a Share inline(never) generics across crates
969ef51 fmt
60ba952 aix: create shim for lgammaf_r
e3823e1 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
48ad489 Remove one stray space.
287b87d Update chown help with a link and adding cap warning
c28d575 Expand std::os::unix::fs::chown() doc with a warning
0d92478 Add missing code examples on `LocalKey`
3c3ed68 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
9d1ee9b Remove unnecessary `#![allow(unused_features)]`
576953f Sort and separate lint/feature attributes in `profiler_builtins`
80e2212 std: update internal uses of `io::const_error!`
29aeba4 std: expose `const_io_error!` as `const_error!`
0816de3 Constify Drop and Destruct
c240b82 miri: disable test_downgrade_observe test on macOS
30ea972 Shorten the `MaybeUninit` `Debug` implementation
9ff30fb Support ranges in `<[T]>::get_many_mut()`
968e683 btree: add `{Entry,VacantEntry}::insert_entry`
41fdf9c std::thread: avoid leading whitespace in some panic messages
3094cbc Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 0562ec7
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 4, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 4, 2025
18f755d Update `compiler-builtins` to 0.1.146
002c539 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
64dc9e8 ignore win_delete_self test in Miri
8a7dd23 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
9b98328 Mark extern blocks as unsafe
15a94a2 Rename field in OnceWith from gen to make
ec45f6e Mark link_section attr with unsafe
3e1b92d Use Option for FindNextFileHandle
8b0e28a fix(libtest): Enable Instant on Emscripten targets
573c9ce Simplify Rc::as_ptr docs + typo fix
b8a5ec3 Stabilize `vec_pop_if`
6888476 Rustfmt
61209a4 occured -> occurred
6e9d7bd Allow Rust to use a number of libc filesystem calls
eba4b83 Windows: Test that deleting a running binary fails
90c6a6e Update platform information for remove_file
42e812c Windows: remove readonly files
5fcf888 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
8f9d192 Document `Sum::sum` returns additive identities for `[]`
091dcc1 Clean up 'HashMap' and 'HashSet' docs;
2f5d494 Optimize `Rc::<str>::default()` implementation
0bc885c std: get rid of `sys_common::io`
c9b4ef9 std: move `io` module out of `pal`
9698841 Move two windows process tests to tests/ui
c6b8911 tests(std/net): remove outdated `base_port` calculation
5b35876 sys: net: Add UEFI stubs
dc64946 Remove some unnecessary parens in `assert!` conditions
694b6ff remove use of `feature(trait_upcasting)` from core tests
ae81fe4 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
359d24a Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
110b529 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
b62aa8e Fix unreachable_pub lint for hermit target
381d66f Fix link in from_fn.rs
71e4e87 Use `widening_mul`
c0bc6d1 Add OneSidedRangeBound to eliminate panic in `split_point_of`
1a69ccf Rename slice::take methods to split_off
da6c394 Update `compiler-builtins` to 0.1.145
2a60709 specify a prim@slice in docs
06c93ae implement inherent str constructors
f479728 std: move network code into `sys`
ba7d7f1 uefi: process: Add support for command environment variables
bf9e15d Mark `std::fmt::from_fn` as `#[must_use]`
6262838 Rename rustc_contract to contract
ad0f639 Improve contracts intrisics and remove wrapper function
e0c6bd7 Separate contract feature gates for the internal machinery
0e35731 Desugars contract into the internal AST extensions
3500b93 Express contracts as part of function header and lower it to the contract lang items
f261ebb contracts: added lang items that act as hooks for rustc-injected code to invoke.
5e8868c Contracts core intrinsics.
df83991 More PR feedback
aa0a348 PR feedback
703d260 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
0159ea4 Add note about `FnPtr` being exposed as public bound
9363de2 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
2b48e85 For NonZero impl macros, give unsigned impls access to the corresponding signed type
6f91646 std::fs: further simplify dirent64 handling
77b4328 add UnsafeCell direct access APIs
203d28a primitive type migration from mod.rs to primitives.rs
5537248 implement unstable `new_range` feature
b29c956 std::range
e4df802 Remove stabilized feature gate
1016171 Move env modifying tests to a separate integration test
4046027 Fix for SGX
bfe1f15 Fix benchmarking of libstd
a8ba245 Move std::sync unit tests to integration tests
7fbcab1 Move std::thread_local unit tests to integration tests
8ab934c Move std::time unit tests to integration tests
7b07e8a Move std::path unit tests to integration tests
fb7c980 Move std::panic unit tests to integration tests
c804e46 Move std::num unit tests to integration tests
d49b739 Move std float unit tests to integration tests
0b71dc6 Move std::error unit tests to integration tests
64328e5 Move std::env unit tests to integration tests
864a986 no unsafe pointer and no overflowing_literals in fmt::Display of integers
30dd680 black_box integer-input on fmt benches
e82c2ef OnceCell & OnceLock docs: Using (un)initialized consistently
7e59da9 Docs for f16 and f128: correct a typo and add details
eddefa3 rustc_allowed_through_unstable_modules: require deprecation message
2b4b306 Update encode_utf16 to mention it is native endian
f1f90bd remove Rustc{En,De}codable from library and compiler
2e4c38a make rustc_encodable_decodable feature properly unstable
84f5d1a Fix sentence in process::abort
79b885e document ptr comparison being by address
51cfa0f stabilize `once_wait`
6a9c523 implement all min/max fns in terms of `<`/`is_lt`
c892406 improve doc tests for (min/max/minmax).* functions
2d9fcde docs: Documented Send and Sync requirements for Mutex + MutexGuard
0e3fac7 Add documentation for derive(CoercePointee)
2406ea3 Fix off-by-one error causing driftsort to crash
1157a88 Insert null checks for pointer dereferences when debug assertions are enabled
73ede2b atomic: extend compare_and_swap migration docs
41b7c66 float::min/max: mention the non-determinism around signed 0
5b6c11c Stabilize `const_black_box`
8c5182d Improve documentation for file locking
92be981 Remove minor future footgun in `impl Debug for MaybeUninit`
26a2286 Add `AsyncFn*` to core prelude
c74312e uefi: Implement path
b515410 Implement `int_from_ascii` (rust-lang#134821)
a6703aa Cleanup docs for Allocator
ef66278 btree/node.rs: pop_internal_level: does not invalidate other handles
720fee6 btree/node.rs: remove incorrect comment from pop_internal_level docs
91ca2a0 add inline attribute and codegen test
598045c split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
e04ea12 optimize slice::ptr_rotate for compile-time-constant small rotates
d4d906f Test pipes also when not running on Windows and Linux simultaneously
921b788 uefi: process: Fix args
8994300 [cfg_match] Document the use of expressions
49de93c Update comments and sort target_arch in c_char_definition
3594c4c [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
79f39aa Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
fddcef1 Document powf and powi calls that always return 1.0
106ee95 Document purpose of closure in from_fn.rs more clearly
40692f8 add missing allocator safety in alloc crate
4db8de1 alloc: add `#![warn(unreachable_pub)]`
3af93dd Implement `AtomicT::update` & `AtomicT::try_update`
55f153e fix doc for std::sync::mpmc
353bb2b Implement phantom variance markers
6d48262 Clarify WindowsMut (Lending)Iterator
36a0fa0 compiler_fence: fix example
b48990b Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
5dcc3e8 Move `std::io::pipe` code into its own file
f204918 Actually run the bstr test
3a7e03f Update comment
a6f7a27 Put all coretests in a separate crate
9e66d8b Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
10d40ff add nto80 x86-64 and aarch64 target
1bbd957 Add support for QNX 7.1 with io-sock on x64
8c8faa5 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
fd95b51 Update a bunch of comments from before wasi support was added
8377625 Remove a bunch of emscripten test ignores
3bb41fe Fix testing of the standard library with Emscripten
e525a7b fix(libtest): Deprecate '--logfile'
f6eca15 docs: fix typo in std::pin overview
ae89f78 ports last few library files to new intrinsic style
a3c38e1 Improve and expand documentation of pipes
413860c Fix set_name in thread mod for NuttX
cb49034 Fix `FormattingOptions` instantiation with `Default`
98bd32e Update library/core/src/num/nonzero.rs
d7e6efe Add memory layout documentation to generic NonZero<T>
da1d60a Fix whitespace
3baedcb document order of items in iterator from drain
38c8b40 Add `File already exists` error doc to `hard_link` function
85fb645 Doc difference between extend and extend_from_slice
597528a Make `Vec::pop_if` a bit more presentable
5d7954e Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
4c7286b remove pointless allowed_through_unstable_modules on TryFromSliceError
0d783f8 test: add `#![warn(unreachable_pub)]`
e8a8c0a proc_macro: add `#![warn(unreachable_pub)]`
4fa58a8 Implement `CloneToUninit` for `ByteStr`
262799d Add doc aliases for BStr and BString
18981ff Omit some more `From` impls to avoid inference failures
a2a3e07 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
eeb8228 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
b80424b Implement `ByteStr` and `ByteString` types
7b5769b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
aa0819f Library: Finalize dyn compatibility renaming
0f8e1f6 Remove test panic from File::open
e1051b6 fix OsString::from_encoded_bytes_unchecked description
8fe52da Add an example of using `carrying_mul_add` to write wider multiplication
5043c02 Outline panicking code for `LocalKey::with`
580db28 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
700d1de core: add `#![warn(unreachable_pub)]`
3be50e3 rtstartup: add `#![warn(unreachable_pub)]`
e403c1c panic_unwind: add `#![warn(unreachable_pub)]`
efe703a Recognise new IPv6 documentation range from RFC9637
96235ea 1. Removed 'rustc_nounwind' 2. Rewording of comments
7dfd3fa Export likely(), unlikely() and cold_path() in std::hint
1d028e1 Correct counting to four in cell module docs
a2db888 doc: Point to methods on `Command` as alternatives to `set/remove_var`
64e1593 wasi/io: remove dead files
a56cbae remove unnecessary rustc_allowed_through_unstable_modules
b7b464e further improve panic_immediate_abort by removing rtprintpanic messages
1ca961f cargo update
1443175 Rewrap following accepting review suggestions from @ibraheemdev
c9f38ea Update library/core/src/slice/mod.rs
fe1379a Update library/core/src/slice/mod.rs
bd07bff Update library/core/src/slice/mod.rs
36accf6 Update library/core/src/slice/mod.rs
747491d Update library/core/src/slice/mod.rs
d3f4acd Update library/core/src/slice/mod.rs
f1a60c5 Update library/core/src/slice/mod.rs
4b98f0b Update library/core/src/slice/mod.rs
3f2d1e6 Update library/core/src/slice/mod.rs
4b29262 Update library/core/src/slice/mod.rs
a2e2219 `then be` -> `be` based on feedback from @ibraheemdev
f21ab09 Improve `select_nth_unstable` documentation clarity
a2cb483 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
30cb3d2 Add references to the IEEE functions for `float_next_up_down`
f1ffbc5 Stabilize `float_next_up_down`
e81951a Fix import of pipe in kernel_copy.rs
d39d9f2 Move `std::pipe::*` into `std::io`
388ead3 Clarify note in `std::sync::LazyLock` example
cd44abd fix typo in library/alloc/src/sync.rs
2d278fe Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
0781815 Adjust syntax
a30c2fa Less unsafe in `dangling`/`without_provenance`
2900045 fix typo in typenames of pin documentation
cb7aef6 intrinsics: deprecate calling them via the unstable std::intrinsics path
2113067 add comments explaining main thread identification
b94ae92 std: lazily allocate the main thread handle
651379e Revert "Remove the Arc rt::init allocation for thread info"
867451a Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
41b981a Update compiler-builtins to 0.1.143
62d967a Rename `pos` to `position`
7880e7b Convert `struct FromBytesWithNulError` into enum
bba3a61 Enforce syntactical stability of const traits in HIR
3a6d320 Update compiler-builtins to 0.1.141
da31b07 Add another `Vec::splice` example
4bba2ad avoid nesting the user-defined main so deeply on the stack
c13a898 use a single large catch_unwind in lang_start
ad71d50 uefi: helpers: Introduce OwnedDevicePath
8908e00 path: Move is_absolute check to sys::path
08749e2 Update the explanation for why we use box_new in vec!
9d5b17f Add #[inline] to copy_from_slice
e699e39 Add inherent versions of MaybeUninit methods for slices
72c336a Make UniqueRc invariant for soundness
00d93dd update and clarify StructuralPartialEq docs
ef24dff Use `NonNull::without_provenance` within the standard library
f31ded7 Initial fs module for uefi
173d300 Improve the safety documentation on new_unchecked
ca7ae0f Update a bunch of library types for MCP807
d5b90ae alloc: remove unsound `IsZero` for raw pointers
ec72288 Fix `proc_macro::quote!` for raw ident
dbf5787 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
67946b1 Rename the internal simpler `quote` macro to `minimal_quote`
9968cea Used pthread name functions returning result for FreeBSD and DragonFly
c6a5806 Fix ptr::from_ref documentation example comment
9efc14b Improve prose around `as_slice` example of IterMut
e1481dd fmt
b445eff update cfg(bootstrap)
2409ba3 update version placeholders
e8445a2 Remove some unnecessary `.into()` calls
8483774 add missing provenance APIs on NonNull
bf748fd More compelling env_clear() examples
593d344 Implement Condvar::wait_timeout for targets without threads
6eb1845 Impl String::into_chars
162f39d Avoid naming variables `str`
65b884e [generic_assert] Constify methods used by the formatting system
921190a Add support for wasm exception handling to Emscripten target
5609743 chore: remove redundant words in comment
df47fe2 Add doc aliases for `libm` and IEEE names
aff0cfe Mark `slice::reverse` unstably const
1705049 Clarified the documentation on core::iter::from_fn and core::iter::successors
5e24932 library: fix adler{-> 2}.debug
0bce152 add regression test for unsound Flatten/FlatMap specialization
85566d9 do not in-place-iterate over flatmap/flatten
780fc85 Fix UWP build
e46d5a4 Bump backtrace to 0.3.75
ec45e92 sync to actual dep verions of backtrace
5cc5468 turn rustc_box into an intrinsic
5627944 core: use public method instead of instrinsic
f8244f1 core: improve comments
6c50809 core: implement `bool::select_unpredictable`
8588199 Switch rtems target to panic unwind
2411b92 path in detail
785d258 Move some things to `std::sync::poison` and reexport them in `std::sync`
1e9b5fe Bump backtrace to rust-lang/backtrace-rs@4d7906b
aa7cfe1 Try to write the panic message with a single `write_all` call
cc56d87 fix doc for missing Box allocator consistency
550784c Remove qualification of `std::cmp::Ordering` in `Ord` doc
52cfdcf std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
1ecc2e5 Avoid use of LFS64 symbols on Emscripten
641065e char to_digit: avoid unnecessary casts to u64
afc064c Remove allowing static_mut_refs lint
86d1ec2 Tidy up bigint mul methods
6fff996 fix doc for read write unaligned in zst operation
1bfee1a Avoid short writes in LineWriter
0bf68d2 ptr docs: make it clear that we are talking only about memory accesses
dafc1e2 Make slice::as_flattened_mut unstably const
c712785 rename typed_swap → typed_swap_nonoverlapping
f55e520 stabilize const_swap
8ffc670 fix: typos
97e4379 Fix sentence fragment in `pin` module docs
3d6308e docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
3289ded Fix compilation issues on other unixes
9d8c803 Eliminate redundant statx syscalls
d676dd0 Unify fs::copy and io::copy
acdcf3a Update `compiler-builtins` to 0.1.140
a796fc4 Update library/alloc/tests/sort/tests.rs
585e1bb Fix typos
b853975 Override `carrying_mul_add` in cg_llvm
49fff1b Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
b5dc2f8 Fix mistake in windows file open
b5167eb Windows: Use WriteFile to write to a UTF-8 console
9f31faf ptr::copy: fix docs for the overlapping case
cb9bf57 Fix renaming symlinks on Windows
fc64963 docs: inline `core::ffi::c_str` types to `core::ffi`
e3dfd8b docs: inline `std::ffi::c_str` types to `std::ffi`
8736a22 unwinding: bump version to fix asm
76d7b08 docs: update code example for Iterator#rposition
f117d84 Use scoped threads in `std::sync::Barrier` examples
4b6efe2 Fix forgetting to save statx availability on success
a081dca Specify only that duplicates are discarded, not the order.
b092081 Document collection `From` and `FromIterator` impls that drop duplicate keys.
c73c3d3 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
37816c5 Impl FromIterator for tuples with arity 1-12
1e32d07 Fix formatting
a6437ed stabilize const_alloc_layout
c344533 chore: fix typos
6e99d71 Windows: Use FILE_ALLOCATION_INFO for truncation
6a41638 Bump `stdarch`
b9f2cf7 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
f48cc3d Fixes safety docs for `dyn Any + Send {+ Sync}`
d5deab2 Use `#[derive(Default)]` instead of manually implementing it
daebe18 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d619c11 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
70ec1be docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
86bb401 docs: Permissions.readonly() also ignores root user special permissions
508a6b6 cargo update
42e801c Delete `Rvalue::Len`
e75abe1 Asserts the maximum value that can be returned from `Vec::len`
4728193 Document `PointerLike` implementation restrictions.
20ec90d Use `&raw` for `ptr` primitive docs
5b3c4b9 Add `is_ascii` function optimized for x86-64 for [u8]
b9fdbcd Add new implementation benchmark
62f19c5 Document CTFE behavior of methods that call is_null
d1ee786 Correctly document is_null CTFE behavior.
2a4ea4f Win: rename: Use offset_of! in struct size calculation
da4c8c0 Win: Remove special casing of the win7 target for `std::fs::rename`
89d2548 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
579cf82 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
41f32e9 Less unwrap() in documentation
acc3560 Improve prose around into_slice example of IterMut
a4e0c77 Improve prose around `as_slice` example of Iter
523623e Improve prose around basic examples of Iter and IterMut
5a69c5d Abstract `ProcThreadAttributeList` into its own struct
f925249 fix `PointerLike` docs
997f5bf unimplement `PointerLike` for trait objects
37b33e2 split up `#[rustc_deny_explicit_impl]` attribute
1b22783 remove reference to dangling from slice::Iter
d6f58a6 mri: add track_caller to thread spawning methods for better backtraces
0bac398 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
f451b5f Improve documentation of `element_offset` and related methods
9d3bbe7 Rename `elem_offset` to `element_offset`
51b6957 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
7533a23 build: Update libc version
ec0ee63 fix typo in ptr/mod.rs
afe027b Stabilize `#[diagnostic::do_not_recommend]`
4f89e9b Use field init shorthand where possible
7aa4315 fix(LazyCell): documentation of get[_mut] was wrong
9489d18 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
05656eb Fix typo in uint_macros.rs
9cf367c remove obsolete comment and pub(super) visibility
4e3ac33 remove bounds from vec and linkedlist ExtractIf
eaed453 Add a range argument to vec.extract_if
2655ee8 Stabilize #[coverage] attribute
46107d2 Remove `rustc::existing_doc_keyword` lint.
c688c05 Move `doc(keyword = "while")`.
bb5054d rustdoc-search: let From and Into be unboxed
530f2cb Replace i32 by char in `split_at` & `_unchecked`
4bddbab Add clarity to the "greater" of `VecDeque::insert`
3ee8419 Replace i32 by char to add clarity
15c540d Add value accessor methods to `Mutex` and `RwLock`
5074a9d std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
4bb067a UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
182d673 UniqueRc: PinCoerceUnsized and DerefPure
780bc6c UniqueRc: comparisons and Hash
c9754d1 UniqueRc: Add more trait impls.
6c90a9c Remove support for specializing ToString outside the standard library
60acb56 Correct spelling of CURRENT_RUSTC_VERSION
aa156a3 Add documentation for anonymous pipe module
2a36f18 feat: clarify how to use `black_box()`
a8519bd Update includes in '/library/core/src/error.rs';
d0af5ce Fix building `std` for Hermit after `c_char` change
f731d69 Fix `Path::is_absolute` on Hermit
eabf279 Fix typos in docs on provenance
c570d3d Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1993a4d Switch inline(always) in core/src/fmt/rt.rs to plain inline
3864b82 Reword prelude for AsyncFn stabilization
897366e Stabilize async closures
9522ad4 Remove consteval note from <*mut T>::align_offset docs.
f7e4155 Stabilize the Rust 2024 prelude
f51787d Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
d960280 Move some alloc tests to the alloctests crate
8166b50 control libunwind linkage mode via `crt-static` on gnullvm targets
ecb36c5 Change `GetManyMutError` to match T-libs-api decision
fe9c4b2 Add references to the specific ABI documents
c08c425 Remove l4re from the unsigned char operating system list
5fc95ec De-duplicate and improve definition of core::ffi::c_char
73fb11d Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
d07489b stabilize const_nonnull_new
530c524 Remove rustc_const_stable attribute on const NOOP
7dffc78 Add libc funcitons only for wasm32-wasip1-threads.
dda160d Fix compilation for wasm32-wasip1 (without threads).
1573375 Use UNIX thread_local implementation for WASI.
37f92e8 Run TLS destructors for wasm32-wasip1-threads
223637d Downgrade cc
3c32a2b Run `cargo update` and update licenses
008f3d3 chore: Improve doc comments
fbdba35 Refactor ReadDir into a state machine
b99d497 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
d08695a docs: better examples for `std::ops::ControlFlow`
003793c Expand home_dir docs
0fd47a5 Add doc alias 'then_with' for `then` method on `bool`
69c0d25 Adds new intrinsic declaration
c7c0bbc Define acronym for thread local storage
878a459 Add a `collect_into` tuple test case
e36b6b9 Don't impl Extend for 13-tuples
76cdc53 Simplify documentation for Extend impl for tuples
3a3252e Add Extend impls for tuples of arity 1 through 12
c83cb5a Unbreak tidy
3ee629d Stabilize `std::io::ErrorKind::QuotaExceeded`
0a791c1 Stabilize `std::io::ErrorKind::CrossesDevices`
a7106c2 Access members of `FormattingOptions` directly instead of via getters/setters
5315721 Removed constness for methods receiving a `&mut` parameter
ebc4916 Added better reason for exposing `flags` and `get_flags` as unstable
a7e9b3f Formatted
9673e8c Refactored FormattingOptions to use a bitmask for storing flags
2966da4 Revert "Turned public+unstable+hidden functions into private functions"
1b99d48 Turned public+unstable+hidden functions into private functions
169386f Made all fns const
4599a61 impl Default for fmt::FormattingOptions
0f39463 Fixed copy+paste error in comment
84352d0 fmt::FormattingOptions: Renamed `alignment` to `align`
64c8e66 Formatter::with_options: Use different lifetimes
99cb469 Fixed another broken test
e06a29c Added struct `fmt::FormattingOptions`
d7d2438 Formatter: Access members via getter methods wherever possible
d4f4923 Stabilize noop_waker
2ff21e9 Improve documentation
de297a1 Reformat Python code with `ruff`
9687825 Improve comments for the default backtrace printer
d39be9c clarify simd_relaxed_fma non-determinism
9a9e399 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
3025c38 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
de408dc Allow fn pointers comparisons lint in library
82ef219 Update `NonZero` and `NonNull` to not field-project (per MCP807)
5af62ab Add `core::arch::breakpoint` and test
11a5c19 a release operation synchronizes with an acquire operation
8662f6f Update the definition of `borrowing_sub`
d33342d stabilize const_{size,align}_of_val
812ba58 ./x miri: fix sysroot build
9d32ea8 stabilize const_collections_with_hasher and build_hasher_default_const_new
7cced33 Match simd_relaxed_fma documentation to fmuladd intrinsic
1ebdefa Add simd_relaxed_fma intrinsic
ead54c4 Fix `f16::midpoint` const feature gate
5c0ca1e Use c"lit" for CStrings without unwrap
329942c Stabilize `const_maybe_uninit_write`
4088396 Fix docs for '<[T]>::as_array';
f7def21 Stabilize `ptr::fn_addr_eq`
0dd80ee rustc_allow_const_fn_unstable is not used in proc_macro
64c5214 get rid of a bunch of unnecessary rustc_const_unstable
8d7c692 remove a whole bunch of unnecessary const feature gates
8050614 add isatty alias for is_terminal
922ffda Stabilize unsigned `num_midpoint` feature
075775b Mark `slice::copy_from_slice` unstably const
1335302 Fix chaining `carrying_add`s
9c52a52 add test for bytewise ptr::swap of a pointer
e80a5ed move swap_nonoverlapping constness to separate feature gate
5fce1d4 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
fefde77 Add diagnostic item for `std::ops::ControlFlow`
388c9e8 update link to "C++ Exceptions under the hood" blog
3a4cf4d fix: fix codeblocks in `PathBuf` example
cc29869 fix: hurd build, stat64.st_fsid was renamed to st_dev
4487be9 std: clarify comments about initialization
c818c21 std: refactor `pthread`-based synchronization
cf3605a bump hashbrown version
e1ba0c1 Fill in a `BTreeSet::entry` example
ba4455f Add a tracking issue for `btree_set_entry`
b985f98 Add `BTreeSet` entry APIs to match `HashSet`
179744d Implement code review
7a84818 thread::available_parallelism for wasm32-wasip1-threads
cc132b3 changes old intrinsic declaration to new declaration
11d2df6 Fix and undeprecate home_dir()
8f88b59 refine mir debuginfo docs
2bf8452 Doc comment custom MIR debuginfo.
9a44c04 Stabilize `extended_varargs_abi_support`
79e7406 update cfgs
67e0b29 replace placeholder version
c5894c4 Also use zero when referencing to capacity or length
c15c50b Use consistent wording in docs, use zero instead of 0
83b8c20 Fix typos in pin.rs
7d5f25d Share inline(never) generics across crates
b57f10d fmt
2eeb940 aix: create shim for lgammaf_r
8be922d Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
811a522 Remove one stray space.
b04f42d Update chown help with a link and adding cap warning
5f4f11f Expand std::os::unix::fs::chown() doc with a warning
e640ab2 Add missing code examples on `LocalKey`
2f2ea43 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
3a2f1d9 Remove unnecessary `#![allow(unused_features)]`
63b6bc4 Sort and separate lint/feature attributes in `profiler_builtins`
3b69764 std: update internal uses of `io::const_error!`
d95461b std: expose `const_io_error!` as `const_error!`
5c1724b Constify Drop and Destruct
5b09129 miri: disable test_downgrade_observe test on macOS
fb241da Shorten the `MaybeUninit` `Debug` implementation
8d58ef0 Support ranges in `<[T]>::get_many_mut()`
891dabe btree: add `{Entry,VacantEntry}::insert_entry`
742ddff std::thread: avoid leading whitespace in some panic messages
9442b07 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 18f755d
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 4, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 4, 2025
505c3c8 Rustfmt
c3b10a4 occured -> occurred
ad3cba5 Allow Rust to use a number of libc filesystem calls
93437cf Windows: Test that deleting a running binary fails
9f5b3e5 Update platform information for remove_file
11be887 Windows: remove readonly files
5f99f47 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
a197bfd Document `Sum::sum` returns additive identities for `[]`
1ea5b61 Clean up 'HashMap' and 'HashSet' docs;
4c436f9 Optimize `Rc::<str>::default()` implementation
3a487d3 std: get rid of `sys_common::io`
ddfee75 std: move `io` module out of `pal`
cc39f5f Move two windows process tests to tests/ui
6bc5566 tests(std/net): remove outdated `base_port` calculation
cff11b5 sys: net: Add UEFI stubs
683c5bd Remove some unnecessary parens in `assert!` conditions
566501e remove use of `feature(trait_upcasting)` from core tests
75a291d Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
7c46d15 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
521b3a1 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
80df787 Fix unreachable_pub lint for hermit target
8f9eead Fix link in from_fn.rs
84b1c6b Use `widening_mul`
8c91286 Add OneSidedRangeBound to eliminate panic in `split_point_of`
615ac67 Rename slice::take methods to split_off
e581f3d Update `compiler-builtins` to 0.1.145
bfb2b74 specify a prim@slice in docs
8c0e793 implement inherent str constructors
dd109d3 std: move network code into `sys`
42aed2c uefi: process: Add support for command environment variables
19f6ff4 Mark `std::fmt::from_fn` as `#[must_use]`
a405ef7 Rename rustc_contract to contract
c1068b5 Improve contracts intrisics and remove wrapper function
44a468b Separate contract feature gates for the internal machinery
1c65514 Desugars contract into the internal AST extensions
6407c96 Express contracts as part of function header and lower it to the contract lang items
50d8cc3 contracts: added lang items that act as hooks for rustc-injected code to invoke.
45b8d2e Contracts core intrinsics.
a041614 More PR feedback
57aa72f PR feedback
76b9c4a Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
06eddc4 Add note about `FnPtr` being exposed as public bound
fa3b863 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
00041c1 For NonZero impl macros, give unsigned impls access to the corresponding signed type
03c1ccc std::fs: further simplify dirent64 handling
3356ec9 add UnsafeCell direct access APIs
421117f primitive type migration from mod.rs to primitives.rs
07e2207 implement unstable `new_range` feature
3814421 std::range
de1363e Remove stabilized feature gate
58b6f8a Move env modifying tests to a separate integration test
71d2a2a Fix for SGX
ca8b409 Fix benchmarking of libstd
7d0ebf6 Move std::sync unit tests to integration tests
c6a9e1d Move std::thread_local unit tests to integration tests
dacacf8 Move std::time unit tests to integration tests
3e333a9 Move std::path unit tests to integration tests
9efded4 Move std::panic unit tests to integration tests
c96035e Move std::num unit tests to integration tests
f636948 Move std float unit tests to integration tests
151fa67 Move std::error unit tests to integration tests
b428865 Move std::env unit tests to integration tests
aeb35a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
b3f7733 black_box integer-input on fmt benches
56b9550 OnceCell & OnceLock docs: Using (un)initialized consistently
afd1ecf Docs for f16 and f128: correct a typo and add details
346f6b7 rustc_allowed_through_unstable_modules: require deprecation message
5eaaff8 Update encode_utf16 to mention it is native endian
14fa6ab remove Rustc{En,De}codable from library and compiler
27ed051 make rustc_encodable_decodable feature properly unstable
ee0b5a2 Fix sentence in process::abort
71d62b7 document ptr comparison being by address
1566c46 stabilize `once_wait`
d938809 implement all min/max fns in terms of `<`/`is_lt`
798f65c improve doc tests for (min/max/minmax).* functions
4e90b7a docs: Documented Send and Sync requirements for Mutex + MutexGuard
868ac70 Add documentation for derive(CoercePointee)
e95d494 Fix off-by-one error causing driftsort to crash
d3bea56 Insert null checks for pointer dereferences when debug assertions are enabled
f1773c2 atomic: extend compare_and_swap migration docs
3f85d13 float::min/max: mention the non-determinism around signed 0
3e4aa44 Stabilize `const_black_box`
691da58 Improve documentation for file locking
0d78910 Remove minor future footgun in `impl Debug for MaybeUninit`
e82cc84 Add `AsyncFn*` to core prelude
8921682 uefi: Implement path
0bf17b9 Implement `int_from_ascii` (rust-lang#134821)
646476d Cleanup docs for Allocator
7c394f8 btree/node.rs: pop_internal_level: does not invalidate other handles
526aa0f btree/node.rs: remove incorrect comment from pop_internal_level docs
d05bdb4 add inline attribute and codegen test
0856ddd split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
f7c202f optimize slice::ptr_rotate for compile-time-constant small rotates
b60ffa9 Test pipes also when not running on Windows and Linux simultaneously
a3c5ef7 uefi: process: Fix args
e567cd3 [cfg_match] Document the use of expressions
48057ed Update comments and sort target_arch in c_char_definition
00a6d73 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c857fa2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
8c55c11 Document powf and powi calls that always return 1.0
261a207 Document purpose of closure in from_fn.rs more clearly
b2d6ca3 add missing allocator safety in alloc crate
5fa2aac alloc: add `#![warn(unreachable_pub)]`
b7e7846 Implement `AtomicT::update` & `AtomicT::try_update`
a3e955e fix doc for std::sync::mpmc
0fef9be Implement phantom variance markers
6f18a82 Clarify WindowsMut (Lending)Iterator
89af143 compiler_fence: fix example
3584874 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
fc9314c Move `std::io::pipe` code into its own file
16e356d Actually run the bstr test
868b9b4 Update comment
5f3b89e Put all coretests in a separate crate
580d2f8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
07ffa14 add nto80 x86-64 and aarch64 target
8bb6a3a Add support for QNX 7.1 with io-sock on x64
10558cf Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
22f2962 Update a bunch of comments from before wasi support was added
e814454 Remove a bunch of emscripten test ignores
50e05db Fix testing of the standard library with Emscripten
34655dd fix(libtest): Deprecate '--logfile'
c1ad8b8 docs: fix typo in std::pin overview
6c960e1 ports last few library files to new intrinsic style
0f6e17b Improve and expand documentation of pipes
7846136 Fix set_name in thread mod for NuttX
39818db Fix `FormattingOptions` instantiation with `Default`
891d6c7 Update library/core/src/num/nonzero.rs
67e0fbe Add memory layout documentation to generic NonZero<T>
018d0e3 Fix whitespace
50f56cf document order of items in iterator from drain
96b5a8d Add `File already exists` error doc to `hard_link` function
7c12606 Doc difference between extend and extend_from_slice
4b83b43 Make `Vec::pop_if` a bit more presentable
7ebdac8 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
b2487ef remove pointless allowed_through_unstable_modules on TryFromSliceError
bc7f965 test: add `#![warn(unreachable_pub)]`
ac9cdc1 proc_macro: add `#![warn(unreachable_pub)]`
8cdb99e Implement `CloneToUninit` for `ByteStr`
12e2688 Add doc aliases for BStr and BString
c1dd147 Omit some more `From` impls to avoid inference failures
d63aa46 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
9c52eb7 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7c8c49b Implement `ByteStr` and `ByteString` types
af75ed5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
e51de5e Library: Finalize dyn compatibility renaming
9a470c4 Remove test panic from File::open
0c79274 fix OsString::from_encoded_bytes_unchecked description
96fdc4d Add an example of using `carrying_mul_add` to write wider multiplication
ed4d2fe Outline panicking code for `LocalKey::with`
d8dee9c core: `#[allow(unreachable_pub)]` on unreachable `pub use`
b0da2be core: add `#![warn(unreachable_pub)]`
22aafaf rtstartup: add `#![warn(unreachable_pub)]`
dabb0ec panic_unwind: add `#![warn(unreachable_pub)]`
33d7a1e Recognise new IPv6 documentation range from RFC9637
ddd0264 1. Removed 'rustc_nounwind' 2. Rewording of comments
1d4c7df Export likely(), unlikely() and cold_path() in std::hint
781d584 Correct counting to four in cell module docs
8f4a724 doc: Point to methods on `Command` as alternatives to `set/remove_var`
5ad6719 wasi/io: remove dead files
b2080f1 remove unnecessary rustc_allowed_through_unstable_modules
abe24a4 further improve panic_immediate_abort by removing rtprintpanic messages
033959d cargo update
6c89086 Rewrap following accepting review suggestions from @ibraheemdev
8f9757b Update library/core/src/slice/mod.rs
9da7fa8 Update library/core/src/slice/mod.rs
c084093 Update library/core/src/slice/mod.rs
9dd4194 Update library/core/src/slice/mod.rs
8aaeaaf Update library/core/src/slice/mod.rs
87e9b12 Update library/core/src/slice/mod.rs
168aa42 Update library/core/src/slice/mod.rs
7ddc361 Update library/core/src/slice/mod.rs
0c1f472 Update library/core/src/slice/mod.rs
e5cbc2e Update library/core/src/slice/mod.rs
05531aa `then be` -> `be` based on feedback from @ibraheemdev
7edf7ac Improve `select_nth_unstable` documentation clarity
b362a8a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
91d8f69 Add references to the IEEE functions for `float_next_up_down`
c0e35fb Stabilize `float_next_up_down`
1be8f41 Fix import of pipe in kernel_copy.rs
5ed0b61 Move `std::pipe::*` into `std::io`
24e8166 Clarify note in `std::sync::LazyLock` example
8c92ba3 fix typo in library/alloc/src/sync.rs
2eb0f65 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
550e025 Adjust syntax
331ab24 Less unsafe in `dangling`/`without_provenance`
5bde913 fix typo in typenames of pin documentation
18604c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
cdc4bb5 add comments explaining main thread identification
c67a0eb std: lazily allocate the main thread handle
b100192 Revert "Remove the Arc rt::init allocation for thread info"
1b38bb6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
ef9c212 Update compiler-builtins to 0.1.143
7b7f046 Rename `pos` to `position`
4711dea Convert `struct FromBytesWithNulError` into enum
eddc674 Enforce syntactical stability of const traits in HIR
e00e3d2 Update compiler-builtins to 0.1.141
d20b074 Add another `Vec::splice` example
345cf52 avoid nesting the user-defined main so deeply on the stack
e121ff5 use a single large catch_unwind in lang_start
fe6d0ec uefi: helpers: Introduce OwnedDevicePath
fe174d2 path: Move is_absolute check to sys::path
f176ce7 Update the explanation for why we use box_new in vec!
2833697 Add #[inline] to copy_from_slice
571a3f3 Add inherent versions of MaybeUninit methods for slices
0f87820 Make UniqueRc invariant for soundness
5ee8912 update and clarify StructuralPartialEq docs
47cf67a Use `NonNull::without_provenance` within the standard library
9d2f4b1 Initial fs module for uefi
c14f39f Improve the safety documentation on new_unchecked
7853da9 Update a bunch of library types for MCP807
0011f31 alloc: remove unsound `IsZero` for raw pointers
b2b3ce3 Fix `proc_macro::quote!` for raw ident
0031f96 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
0547d43 Rename the internal simpler `quote` macro to `minimal_quote`
98915c2 Used pthread name functions returning result for FreeBSD and DragonFly
ab9939e Fix ptr::from_ref documentation example comment
2b1ee7b Improve prose around `as_slice` example of IterMut
074cf49 fmt
d29b933 update cfg(bootstrap)
151b2c0 update version placeholders
8db7053 Remove some unnecessary `.into()` calls
949c8c8 add missing provenance APIs on NonNull
631e092 More compelling env_clear() examples
14d7c49 Implement Condvar::wait_timeout for targets without threads
873445c Impl String::into_chars
3f1140b Avoid naming variables `str`
46af810 [generic_assert] Constify methods used by the formatting system
91be67d Add support for wasm exception handling to Emscripten target
3b8a17b chore: remove redundant words in comment
5d715f1 Add doc aliases for `libm` and IEEE names
d0ff2fa Mark `slice::reverse` unstably const
d1cc2ec Clarified the documentation on core::iter::from_fn and core::iter::successors
5308edd library: fix adler{-> 2}.debug
43409bd add regression test for unsound Flatten/FlatMap specialization
82894df do not in-place-iterate over flatmap/flatten
9550f1b Fix UWP build
8d3555b Bump backtrace to 0.3.75
01b68d2 sync to actual dep verions of backtrace
1ddf43a turn rustc_box into an intrinsic
a087959 core: use public method instead of instrinsic
4c1d2e2 core: improve comments
6e243b1 core: implement `bool::select_unpredictable`
323b69c Switch rtems target to panic unwind
ffa739f path in detail
d645c94 Move some things to `std::sync::poison` and reexport them in `std::sync`
7ae5bbb Bump backtrace to rust-lang/backtrace-rs@4d7906b
c00f1dc Try to write the panic message with a single `write_all` call
f2972ff fix doc for missing Box allocator consistency
c04aaed Remove qualification of `std::cmp::Ordering` in `Ord` doc
0996625 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
48dbac2 Avoid use of LFS64 symbols on Emscripten
f58a9a0 char to_digit: avoid unnecessary casts to u64
1595d6c Remove allowing static_mut_refs lint
9df0bd0 Tidy up bigint mul methods
4278a8e fix doc for read write unaligned in zst operation
c7739d6 Avoid short writes in LineWriter
f7e7e34 ptr docs: make it clear that we are talking only about memory accesses
aaa8143 Make slice::as_flattened_mut unstably const
27d3d4b rename typed_swap → typed_swap_nonoverlapping
37fe29d stabilize const_swap
f4c8bb0 fix: typos
feb96e4 Fix sentence fragment in `pin` module docs
24e3362 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
064250a Fix compilation issues on other unixes
62e20b7 Eliminate redundant statx syscalls
3c8051f Unify fs::copy and io::copy
33a200d Update `compiler-builtins` to 0.1.140
303f48c Update library/alloc/tests/sort/tests.rs
4f4ee30 Fix typos
f4b7e41 Override `carrying_mul_add` in cg_llvm
f93a87e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
7823668 Fix mistake in windows file open
1707eea Windows: Use WriteFile to write to a UTF-8 console
b4b57d2 ptr::copy: fix docs for the overlapping case
31841ea Fix renaming symlinks on Windows
118cb9a docs: inline `core::ffi::c_str` types to `core::ffi`
5ba28ab docs: inline `std::ffi::c_str` types to `std::ffi`
4a4b7a1 unwinding: bump version to fix asm
bdc9697 docs: update code example for Iterator#rposition
ecd471d Use scoped threads in `std::sync::Barrier` examples
57afb33 Fix forgetting to save statx availability on success
749cabe Specify only that duplicates are discarded, not the order.
3a05bba Document collection `From` and `FromIterator` impls that drop duplicate keys.
167057b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
4febe82 Impl FromIterator for tuples with arity 1-12
cad684f Fix formatting
822d03a stabilize const_alloc_layout
f0e34c2 chore: fix typos
c09140b Windows: Use FILE_ALLOCATION_INFO for truncation
482c806 Bump `stdarch`
5a5ca8a core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c0c11b9 Fixes safety docs for `dyn Any + Send {+ Sync}`
af0530d Use `#[derive(Default)]` instead of manually implementing it
6d501dd Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d4dc0ea Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
b4a2fe0 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
8aa9326 docs: Permissions.readonly() also ignores root user special permissions
fd602ac cargo update
4a074bb Delete `Rvalue::Len`
6291c2b Asserts the maximum value that can be returned from `Vec::len`
9e3406e Document `PointerLike` implementation restrictions.
c4856af Use `&raw` for `ptr` primitive docs
48b6b26 Add `is_ascii` function optimized for x86-64 for [u8]
3aeaabe Add new implementation benchmark
a4393cf Document CTFE behavior of methods that call is_null
1d61456 Correctly document is_null CTFE behavior.
4f32731 Win: rename: Use offset_of! in struct size calculation
de88ed3 Win: Remove special casing of the win7 target for `std::fs::rename`
4fe7b77 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
3409aec Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
4dfb7c0 Less unwrap() in documentation
bf91ffd Improve prose around into_slice example of IterMut
dc1e70b Improve prose around `as_slice` example of Iter
781b17e Improve prose around basic examples of Iter and IterMut
eef7ba8 Abstract `ProcThreadAttributeList` into its own struct
5385b8a fix `PointerLike` docs
53c0328 unimplement `PointerLike` for trait objects
e096a09 split up `#[rustc_deny_explicit_impl]` attribute
37bc633 remove reference to dangling from slice::Iter
deecc09 mri: add track_caller to thread spawning methods for better backtraces
4702ad7 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
be1899b Improve documentation of `element_offset` and related methods
02e606d Rename `elem_offset` to `element_offset`
d342491 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b76bec7 build: Update libc version
e1a3fe4 fix typo in ptr/mod.rs
b66d166 Stabilize `#[diagnostic::do_not_recommend]`
8c7ebb8 Use field init shorthand where possible
31fb096 fix(LazyCell): documentation of get[_mut] was wrong
d800c50 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
595ced2 Fix typo in uint_macros.rs
b5fb572 remove obsolete comment and pub(super) visibility
adbfd76 remove bounds from vec and linkedlist ExtractIf
f11edaa Add a range argument to vec.extract_if
a0684f0 Stabilize #[coverage] attribute
2c3005f Remove `rustc::existing_doc_keyword` lint.
0fc32ec Move `doc(keyword = "while")`.
f91d0f3 rustdoc-search: let From and Into be unboxed
22a0d8d Replace i32 by char in `split_at` & `_unchecked`
02a3623 Add clarity to the "greater" of `VecDeque::insert`
bc6620e Replace i32 by char to add clarity
2a7406c Add value accessor methods to `Mutex` and `RwLock`
a1e48b2 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
c55bc1d UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
15be580 UniqueRc: PinCoerceUnsized and DerefPure
fa09da8 UniqueRc: comparisons and Hash
e974e94 UniqueRc: Add more trait impls.
c009353 Remove support for specializing ToString outside the standard library
c50e2a4 Correct spelling of CURRENT_RUSTC_VERSION
71b54a0 Add documentation for anonymous pipe module
e41c6ae feat: clarify how to use `black_box()`
6fcc3fa Update includes in '/library/core/src/error.rs';
13ce58f Fix building `std` for Hermit after `c_char` change
25ae8a2 Fix `Path::is_absolute` on Hermit
9bb760c Fix typos in docs on provenance
7610d35 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
c469b46 Switch inline(always) in core/src/fmt/rt.rs to plain inline
f6c9280 Reword prelude for AsyncFn stabilization
97839b8 Stabilize async closures
f1cf0de Remove consteval note from <*mut T>::align_offset docs.
214fdba Stabilize the Rust 2024 prelude
ceb3086 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
39e415b Move some alloc tests to the alloctests crate
e711f8e control libunwind linkage mode via `crt-static` on gnullvm targets
e00617a Change `GetManyMutError` to match T-libs-api decision
3a475cf Add references to the specific ABI documents
c4a8b44 Remove l4re from the unsigned char operating system list
e012a7a De-duplicate and improve definition of core::ffi::c_char
770c929 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
237430b stabilize const_nonnull_new
3330922 Remove rustc_const_stable attribute on const NOOP
4c4ac2a Add libc funcitons only for wasm32-wasip1-threads.
2c7ab19 Fix compilation for wasm32-wasip1 (without threads).
308c5d0 Use UNIX thread_local implementation for WASI.
8290d44 Run TLS destructors for wasm32-wasip1-threads
bd32b12 Downgrade cc
f584641 Run `cargo update` and update licenses
8315724 chore: Improve doc comments
37e4c2e Refactor ReadDir into a state machine
0ea632f wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
3b796d5 docs: better examples for `std::ops::ControlFlow`
9123ca6 Expand home_dir docs
22de338 Add doc alias 'then_with' for `then` method on `bool`
c194cab Adds new intrinsic declaration
e18c12b Define acronym for thread local storage
df06001 Add a `collect_into` tuple test case
4a3e2eb Don't impl Extend for 13-tuples
20dce17 Simplify documentation for Extend impl for tuples
6d3f0ee Add Extend impls for tuples of arity 1 through 12
de96624 Unbreak tidy
078296c Stabilize `std::io::ErrorKind::QuotaExceeded`
56a9a9d Stabilize `std::io::ErrorKind::CrossesDevices`
aa365ea Access members of `FormattingOptions` directly instead of via getters/setters
c5ae145 Removed constness for methods receiving a `&mut` parameter
7477a16 Added better reason for exposing `flags` and `get_flags` as unstable
1a5fda6 Formatted
9622339 Refactored FormattingOptions to use a bitmask for storing flags
fe03174 Revert "Turned public+unstable+hidden functions into private functions"
b1c53d2 Turned public+unstable+hidden functions into private functions
6dee4c2 Made all fns const
6381718 impl Default for fmt::FormattingOptions
74e5620 Fixed copy+paste error in comment
6a015c8 fmt::FormattingOptions: Renamed `alignment` to `align`
a326563 Formatter::with_options: Use different lifetimes
6f25278 Fixed another broken test
b81fe72 Added struct `fmt::FormattingOptions`
bd9bf4e Formatter: Access members via getter methods wherever possible
72604df Stabilize noop_waker
038e6f4 Improve documentation
82ce537 Reformat Python code with `ruff`
d329e1f Improve comments for the default backtrace printer
018057f clarify simd_relaxed_fma non-determinism
6e005a6 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
f05df67 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
cce9041 Allow fn pointers comparisons lint in library
ec81a6d Update `NonZero` and `NonNull` to not field-project (per MCP807)
de82aaa Add `core::arch::breakpoint` and test
5927a6c a release operation synchronizes with an acquire operation
896540b Update the definition of `borrowing_sub`
a4dd9b5 stabilize const_{size,align}_of_val
8bcd49f ./x miri: fix sysroot build
b73a4da stabilize const_collections_with_hasher and build_hasher_default_const_new
c54868b Match simd_relaxed_fma documentation to fmuladd intrinsic
3862529 Add simd_relaxed_fma intrinsic
043727b Fix `f16::midpoint` const feature gate
b80b2c1 Use c"lit" for CStrings without unwrap
e0e6154 Stabilize `const_maybe_uninit_write`
2a12f89 Fix docs for '<[T]>::as_array';
4bc1966 Stabilize `ptr::fn_addr_eq`
e5b7c39 rustc_allow_const_fn_unstable is not used in proc_macro
4eb076b get rid of a bunch of unnecessary rustc_const_unstable
dc8a2a6 remove a whole bunch of unnecessary const feature gates
ce85e97 add isatty alias for is_terminal
07f70ca Stabilize unsigned `num_midpoint` feature
b4c408f Mark `slice::copy_from_slice` unstably const
d541f6c Fix chaining `carrying_add`s
c791211 add test for bytewise ptr::swap of a pointer
3ccc5ac move swap_nonoverlapping constness to separate feature gate
b5cd287 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
704ee0e Add diagnostic item for `std::ops::ControlFlow`
54d1047 update link to "C++ Exceptions under the hood" blog
ff435ea fix: fix codeblocks in `PathBuf` example
0279ab8 fix: hurd build, stat64.st_fsid was renamed to st_dev
36172d3 std: clarify comments about initialization
a5faa96 std: refactor `pthread`-based synchronization
9ff6777 bump hashbrown version
a242f89 Fill in a `BTreeSet::entry` example
637f40b Add a tracking issue for `btree_set_entry`
9e19d5c Add `BTreeSet` entry APIs to match `HashSet`
ae0b08e Implement code review
82610d9 thread::available_parallelism for wasm32-wasip1-threads
bdd4daf changes old intrinsic declaration to new declaration
6e40c5c Fix and undeprecate home_dir()
c190733 refine mir debuginfo docs
e8e12cf Doc comment custom MIR debuginfo.
2e7c6c2 Stabilize `extended_varargs_abi_support`
b734fb3 update cfgs
48cbb8c replace placeholder version
b3b1d69 Also use zero when referencing to capacity or length
dede273 Use consistent wording in docs, use zero instead of 0
7d96147 Fix typos in pin.rs
5b88ffe Share inline(never) generics across crates
3ddbd72 fmt
2fde9ca aix: create shim for lgammaf_r
e2fce21 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
170e96c Remove one stray space.
0bf0b8f Update chown help with a link and adding cap warning
049eb6f Expand std::os::unix::fs::chown() doc with a warning
2cacd71 Add missing code examples on `LocalKey`
c79853e Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
4ebf33d Remove unnecessary `#![allow(unused_features)]`
8fa98cb Sort and separate lint/feature attributes in `profiler_builtins`
98bb87e std: update internal uses of `io::const_error!`
cdced7a std: expose `const_io_error!` as `const_error!`
d448c82 Constify Drop and Destruct
8e7d9fe miri: disable test_downgrade_observe test on macOS
ef76d9a Shorten the `MaybeUninit` `Debug` implementation
6b937cf Support ranges in `<[T]>::get_many_mut()`
80e8a46 btree: add `{Entry,VacantEntry}::insert_entry`
fc4f858 std::thread: avoid leading whitespace in some panic messages
e95ec09 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 505c3c8
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 4, 2025
505c3c8 Rustfmt
c3b10a4 occured -> occurred
ad3cba5 Allow Rust to use a number of libc filesystem calls
93437cf Windows: Test that deleting a running binary fails
9f5b3e5 Update platform information for remove_file
11be887 Windows: remove readonly files
5f99f47 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
a197bfd Document `Sum::sum` returns additive identities for `[]`
1ea5b61 Clean up 'HashMap' and 'HashSet' docs;
4c436f9 Optimize `Rc::<str>::default()` implementation
3a487d3 std: get rid of `sys_common::io`
ddfee75 std: move `io` module out of `pal`
cc39f5f Move two windows process tests to tests/ui
6bc5566 tests(std/net): remove outdated `base_port` calculation
cff11b5 sys: net: Add UEFI stubs
683c5bd Remove some unnecessary parens in `assert!` conditions
566501e remove use of `feature(trait_upcasting)` from core tests
75a291d Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
7c46d15 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
521b3a1 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
80df787 Fix unreachable_pub lint for hermit target
8f9eead Fix link in from_fn.rs
84b1c6b Use `widening_mul`
8c91286 Add OneSidedRangeBound to eliminate panic in `split_point_of`
615ac67 Rename slice::take methods to split_off
e581f3d Update `compiler-builtins` to 0.1.145
bfb2b74 specify a prim@slice in docs
8c0e793 implement inherent str constructors
dd109d3 std: move network code into `sys`
42aed2c uefi: process: Add support for command environment variables
19f6ff4 Mark `std::fmt::from_fn` as `#[must_use]`
a405ef7 Rename rustc_contract to contract
c1068b5 Improve contracts intrisics and remove wrapper function
44a468b Separate contract feature gates for the internal machinery
1c65514 Desugars contract into the internal AST extensions
6407c96 Express contracts as part of function header and lower it to the contract lang items
50d8cc3 contracts: added lang items that act as hooks for rustc-injected code to invoke.
45b8d2e Contracts core intrinsics.
a041614 More PR feedback
57aa72f PR feedback
76b9c4a Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
06eddc4 Add note about `FnPtr` being exposed as public bound
fa3b863 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
00041c1 For NonZero impl macros, give unsigned impls access to the corresponding signed type
03c1ccc std::fs: further simplify dirent64 handling
3356ec9 add UnsafeCell direct access APIs
421117f primitive type migration from mod.rs to primitives.rs
07e2207 implement unstable `new_range` feature
3814421 std::range
de1363e Remove stabilized feature gate
58b6f8a Move env modifying tests to a separate integration test
71d2a2a Fix for SGX
ca8b409 Fix benchmarking of libstd
7d0ebf6 Move std::sync unit tests to integration tests
c6a9e1d Move std::thread_local unit tests to integration tests
dacacf8 Move std::time unit tests to integration tests
3e333a9 Move std::path unit tests to integration tests
9efded4 Move std::panic unit tests to integration tests
c96035e Move std::num unit tests to integration tests
f636948 Move std float unit tests to integration tests
151fa67 Move std::error unit tests to integration tests
b428865 Move std::env unit tests to integration tests
aeb35a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
b3f7733 black_box integer-input on fmt benches
56b9550 OnceCell & OnceLock docs: Using (un)initialized consistently
afd1ecf Docs for f16 and f128: correct a typo and add details
346f6b7 rustc_allowed_through_unstable_modules: require deprecation message
5eaaff8 Update encode_utf16 to mention it is native endian
14fa6ab remove Rustc{En,De}codable from library and compiler
27ed051 make rustc_encodable_decodable feature properly unstable
ee0b5a2 Fix sentence in process::abort
71d62b7 document ptr comparison being by address
1566c46 stabilize `once_wait`
d938809 implement all min/max fns in terms of `<`/`is_lt`
798f65c improve doc tests for (min/max/minmax).* functions
4e90b7a docs: Documented Send and Sync requirements for Mutex + MutexGuard
868ac70 Add documentation for derive(CoercePointee)
e95d494 Fix off-by-one error causing driftsort to crash
d3bea56 Insert null checks for pointer dereferences when debug assertions are enabled
f1773c2 atomic: extend compare_and_swap migration docs
3f85d13 float::min/max: mention the non-determinism around signed 0
3e4aa44 Stabilize `const_black_box`
691da58 Improve documentation for file locking
0d78910 Remove minor future footgun in `impl Debug for MaybeUninit`
e82cc84 Add `AsyncFn*` to core prelude
8921682 uefi: Implement path
0bf17b9 Implement `int_from_ascii` (rust-lang#134821)
646476d Cleanup docs for Allocator
7c394f8 btree/node.rs: pop_internal_level: does not invalidate other handles
526aa0f btree/node.rs: remove incorrect comment from pop_internal_level docs
d05bdb4 add inline attribute and codegen test
0856ddd split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
f7c202f optimize slice::ptr_rotate for compile-time-constant small rotates
b60ffa9 Test pipes also when not running on Windows and Linux simultaneously
a3c5ef7 uefi: process: Fix args
e567cd3 [cfg_match] Document the use of expressions
48057ed Update comments and sort target_arch in c_char_definition
00a6d73 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c857fa2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
8c55c11 Document powf and powi calls that always return 1.0
261a207 Document purpose of closure in from_fn.rs more clearly
b2d6ca3 add missing allocator safety in alloc crate
5fa2aac alloc: add `#![warn(unreachable_pub)]`
b7e7846 Implement `AtomicT::update` & `AtomicT::try_update`
a3e955e fix doc for std::sync::mpmc
0fef9be Implement phantom variance markers
6f18a82 Clarify WindowsMut (Lending)Iterator
89af143 compiler_fence: fix example
3584874 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
fc9314c Move `std::io::pipe` code into its own file
16e356d Actually run the bstr test
868b9b4 Update comment
5f3b89e Put all coretests in a separate crate
580d2f8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
07ffa14 add nto80 x86-64 and aarch64 target
8bb6a3a Add support for QNX 7.1 with io-sock on x64
10558cf Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
22f2962 Update a bunch of comments from before wasi support was added
e814454 Remove a bunch of emscripten test ignores
50e05db Fix testing of the standard library with Emscripten
34655dd fix(libtest): Deprecate '--logfile'
c1ad8b8 docs: fix typo in std::pin overview
6c960e1 ports last few library files to new intrinsic style
0f6e17b Improve and expand documentation of pipes
7846136 Fix set_name in thread mod for NuttX
39818db Fix `FormattingOptions` instantiation with `Default`
891d6c7 Update library/core/src/num/nonzero.rs
67e0fbe Add memory layout documentation to generic NonZero<T>
018d0e3 Fix whitespace
50f56cf document order of items in iterator from drain
96b5a8d Add `File already exists` error doc to `hard_link` function
7c12606 Doc difference between extend and extend_from_slice
4b83b43 Make `Vec::pop_if` a bit more presentable
7ebdac8 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
b2487ef remove pointless allowed_through_unstable_modules on TryFromSliceError
bc7f965 test: add `#![warn(unreachable_pub)]`
ac9cdc1 proc_macro: add `#![warn(unreachable_pub)]`
8cdb99e Implement `CloneToUninit` for `ByteStr`
12e2688 Add doc aliases for BStr and BString
c1dd147 Omit some more `From` impls to avoid inference failures
d63aa46 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
9c52eb7 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7c8c49b Implement `ByteStr` and `ByteString` types
af75ed5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
e51de5e Library: Finalize dyn compatibility renaming
9a470c4 Remove test panic from File::open
0c79274 fix OsString::from_encoded_bytes_unchecked description
96fdc4d Add an example of using `carrying_mul_add` to write wider multiplication
ed4d2fe Outline panicking code for `LocalKey::with`
d8dee9c core: `#[allow(unreachable_pub)]` on unreachable `pub use`
b0da2be core: add `#![warn(unreachable_pub)]`
22aafaf rtstartup: add `#![warn(unreachable_pub)]`
dabb0ec panic_unwind: add `#![warn(unreachable_pub)]`
33d7a1e Recognise new IPv6 documentation range from RFC9637
ddd0264 1. Removed 'rustc_nounwind' 2. Rewording of comments
1d4c7df Export likely(), unlikely() and cold_path() in std::hint
781d584 Correct counting to four in cell module docs
8f4a724 doc: Point to methods on `Command` as alternatives to `set/remove_var`
5ad6719 wasi/io: remove dead files
b2080f1 remove unnecessary rustc_allowed_through_unstable_modules
abe24a4 further improve panic_immediate_abort by removing rtprintpanic messages
033959d cargo update
6c89086 Rewrap following accepting review suggestions from @ibraheemdev
8f9757b Update library/core/src/slice/mod.rs
9da7fa8 Update library/core/src/slice/mod.rs
c084093 Update library/core/src/slice/mod.rs
9dd4194 Update library/core/src/slice/mod.rs
8aaeaaf Update library/core/src/slice/mod.rs
87e9b12 Update library/core/src/slice/mod.rs
168aa42 Update library/core/src/slice/mod.rs
7ddc361 Update library/core/src/slice/mod.rs
0c1f472 Update library/core/src/slice/mod.rs
e5cbc2e Update library/core/src/slice/mod.rs
05531aa `then be` -> `be` based on feedback from @ibraheemdev
7edf7ac Improve `select_nth_unstable` documentation clarity
b362a8a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
91d8f69 Add references to the IEEE functions for `float_next_up_down`
c0e35fb Stabilize `float_next_up_down`
1be8f41 Fix import of pipe in kernel_copy.rs
5ed0b61 Move `std::pipe::*` into `std::io`
24e8166 Clarify note in `std::sync::LazyLock` example
8c92ba3 fix typo in library/alloc/src/sync.rs
2eb0f65 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
550e025 Adjust syntax
331ab24 Less unsafe in `dangling`/`without_provenance`
5bde913 fix typo in typenames of pin documentation
18604c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
cdc4bb5 add comments explaining main thread identification
c67a0eb std: lazily allocate the main thread handle
b100192 Revert "Remove the Arc rt::init allocation for thread info"
1b38bb6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
ef9c212 Update compiler-builtins to 0.1.143
7b7f046 Rename `pos` to `position`
4711dea Convert `struct FromBytesWithNulError` into enum
eddc674 Enforce syntactical stability of const traits in HIR
e00e3d2 Update compiler-builtins to 0.1.141
d20b074 Add another `Vec::splice` example
345cf52 avoid nesting the user-defined main so deeply on the stack
e121ff5 use a single large catch_unwind in lang_start
fe6d0ec uefi: helpers: Introduce OwnedDevicePath
fe174d2 path: Move is_absolute check to sys::path
f176ce7 Update the explanation for why we use box_new in vec!
2833697 Add #[inline] to copy_from_slice
571a3f3 Add inherent versions of MaybeUninit methods for slices
0f87820 Make UniqueRc invariant for soundness
5ee8912 update and clarify StructuralPartialEq docs
47cf67a Use `NonNull::without_provenance` within the standard library
9d2f4b1 Initial fs module for uefi
c14f39f Improve the safety documentation on new_unchecked
7853da9 Update a bunch of library types for MCP807
0011f31 alloc: remove unsound `IsZero` for raw pointers
b2b3ce3 Fix `proc_macro::quote!` for raw ident
0031f96 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
0547d43 Rename the internal simpler `quote` macro to `minimal_quote`
98915c2 Used pthread name functions returning result for FreeBSD and DragonFly
ab9939e Fix ptr::from_ref documentation example comment
2b1ee7b Improve prose around `as_slice` example of IterMut
074cf49 fmt
d29b933 update cfg(bootstrap)
151b2c0 update version placeholders
8db7053 Remove some unnecessary `.into()` calls
949c8c8 add missing provenance APIs on NonNull
631e092 More compelling env_clear() examples
14d7c49 Implement Condvar::wait_timeout for targets without threads
873445c Impl String::into_chars
3f1140b Avoid naming variables `str`
46af810 [generic_assert] Constify methods used by the formatting system
91be67d Add support for wasm exception handling to Emscripten target
3b8a17b chore: remove redundant words in comment
5d715f1 Add doc aliases for `libm` and IEEE names
d0ff2fa Mark `slice::reverse` unstably const
d1cc2ec Clarified the documentation on core::iter::from_fn and core::iter::successors
5308edd library: fix adler{-> 2}.debug
43409bd add regression test for unsound Flatten/FlatMap specialization
82894df do not in-place-iterate over flatmap/flatten
9550f1b Fix UWP build
8d3555b Bump backtrace to 0.3.75
01b68d2 sync to actual dep verions of backtrace
1ddf43a turn rustc_box into an intrinsic
a087959 core: use public method instead of instrinsic
4c1d2e2 core: improve comments
6e243b1 core: implement `bool::select_unpredictable`
323b69c Switch rtems target to panic unwind
ffa739f path in detail
d645c94 Move some things to `std::sync::poison` and reexport them in `std::sync`
7ae5bbb Bump backtrace to rust-lang/backtrace-rs@4d7906b
c00f1dc Try to write the panic message with a single `write_all` call
f2972ff fix doc for missing Box allocator consistency
c04aaed Remove qualification of `std::cmp::Ordering` in `Ord` doc
0996625 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
48dbac2 Avoid use of LFS64 symbols on Emscripten
f58a9a0 char to_digit: avoid unnecessary casts to u64
1595d6c Remove allowing static_mut_refs lint
9df0bd0 Tidy up bigint mul methods
4278a8e fix doc for read write unaligned in zst operation
c7739d6 Avoid short writes in LineWriter
f7e7e34 ptr docs: make it clear that we are talking only about memory accesses
aaa8143 Make slice::as_flattened_mut unstably const
27d3d4b rename typed_swap → typed_swap_nonoverlapping
37fe29d stabilize const_swap
f4c8bb0 fix: typos
feb96e4 Fix sentence fragment in `pin` module docs
24e3362 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
064250a Fix compilation issues on other unixes
62e20b7 Eliminate redundant statx syscalls
3c8051f Unify fs::copy and io::copy
33a200d Update `compiler-builtins` to 0.1.140
303f48c Update library/alloc/tests/sort/tests.rs
4f4ee30 Fix typos
f4b7e41 Override `carrying_mul_add` in cg_llvm
f93a87e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
7823668 Fix mistake in windows file open
1707eea Windows: Use WriteFile to write to a UTF-8 console
b4b57d2 ptr::copy: fix docs for the overlapping case
31841ea Fix renaming symlinks on Windows
118cb9a docs: inline `core::ffi::c_str` types to `core::ffi`
5ba28ab docs: inline `std::ffi::c_str` types to `std::ffi`
4a4b7a1 unwinding: bump version to fix asm
bdc9697 docs: update code example for Iterator#rposition
ecd471d Use scoped threads in `std::sync::Barrier` examples
57afb33 Fix forgetting to save statx availability on success
749cabe Specify only that duplicates are discarded, not the order.
3a05bba Document collection `From` and `FromIterator` impls that drop duplicate keys.
167057b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
4febe82 Impl FromIterator for tuples with arity 1-12
cad684f Fix formatting
822d03a stabilize const_alloc_layout
f0e34c2 chore: fix typos
c09140b Windows: Use FILE_ALLOCATION_INFO for truncation
482c806 Bump `stdarch`
5a5ca8a core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c0c11b9 Fixes safety docs for `dyn Any + Send {+ Sync}`
af0530d Use `#[derive(Default)]` instead of manually implementing it
6d501dd Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d4dc0ea Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
b4a2fe0 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
8aa9326 docs: Permissions.readonly() also ignores root user special permissions
fd602ac cargo update
4a074bb Delete `Rvalue::Len`
6291c2b Asserts the maximum value that can be returned from `Vec::len`
9e3406e Document `PointerLike` implementation restrictions.
c4856af Use `&raw` for `ptr` primitive docs
48b6b26 Add `is_ascii` function optimized for x86-64 for [u8]
3aeaabe Add new implementation benchmark
a4393cf Document CTFE behavior of methods that call is_null
1d61456 Correctly document is_null CTFE behavior.
4f32731 Win: rename: Use offset_of! in struct size calculation
de88ed3 Win: Remove special casing of the win7 target for `std::fs::rename`
4fe7b77 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
3409aec Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
4dfb7c0 Less unwrap() in documentation
bf91ffd Improve prose around into_slice example of IterMut
dc1e70b Improve prose around `as_slice` example of Iter
781b17e Improve prose around basic examples of Iter and IterMut
eef7ba8 Abstract `ProcThreadAttributeList` into its own struct
5385b8a fix `PointerLike` docs
53c0328 unimplement `PointerLike` for trait objects
e096a09 split up `#[rustc_deny_explicit_impl]` attribute
37bc633 remove reference to dangling from slice::Iter
deecc09 mri: add track_caller to thread spawning methods for better backtraces
4702ad7 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
be1899b Improve documentation of `element_offset` and related methods
02e606d Rename `elem_offset` to `element_offset`
d342491 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b76bec7 build: Update libc version
e1a3fe4 fix typo in ptr/mod.rs
b66d166 Stabilize `#[diagnostic::do_not_recommend]`
8c7ebb8 Use field init shorthand where possible
31fb096 fix(LazyCell): documentation of get[_mut] was wrong
d800c50 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
595ced2 Fix typo in uint_macros.rs
b5fb572 remove obsolete comment and pub(super) visibility
adbfd76 remove bounds from vec and linkedlist ExtractIf
f11edaa Add a range argument to vec.extract_if
a0684f0 Stabilize #[coverage] attribute
2c3005f Remove `rustc::existing_doc_keyword` lint.
0fc32ec Move `doc(keyword = "while")`.
f91d0f3 rustdoc-search: let From and Into be unboxed
22a0d8d Replace i32 by char in `split_at` & `_unchecked`
02a3623 Add clarity to the "greater" of `VecDeque::insert`
bc6620e Replace i32 by char to add clarity
2a7406c Add value accessor methods to `Mutex` and `RwLock`
a1e48b2 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
c55bc1d UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
15be580 UniqueRc: PinCoerceUnsized and DerefPure
fa09da8 UniqueRc: comparisons and Hash
e974e94 UniqueRc: Add more trait impls.
c009353 Remove support for specializing ToString outside the standard library
c50e2a4 Correct spelling of CURRENT_RUSTC_VERSION
71b54a0 Add documentation for anonymous pipe module
e41c6ae feat: clarify how to use `black_box()`
6fcc3fa Update includes in '/library/core/src/error.rs';
13ce58f Fix building `std` for Hermit after `c_char` change
25ae8a2 Fix `Path::is_absolute` on Hermit
9bb760c Fix typos in docs on provenance
7610d35 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
c469b46 Switch inline(always) in core/src/fmt/rt.rs to plain inline
f6c9280 Reword prelude for AsyncFn stabilization
97839b8 Stabilize async closures
f1cf0de Remove consteval note from <*mut T>::align_offset docs.
214fdba Stabilize the Rust 2024 prelude
ceb3086 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
39e415b Move some alloc tests to the alloctests crate
e711f8e control libunwind linkage mode via `crt-static` on gnullvm targets
e00617a Change `GetManyMutError` to match T-libs-api decision
3a475cf Add references to the specific ABI documents
c4a8b44 Remove l4re from the unsigned char operating system list
e012a7a De-duplicate and improve definition of core::ffi::c_char
770c929 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
237430b stabilize const_nonnull_new
3330922 Remove rustc_const_stable attribute on const NOOP
4c4ac2a Add libc funcitons only for wasm32-wasip1-threads.
2c7ab19 Fix compilation for wasm32-wasip1 (without threads).
308c5d0 Use UNIX thread_local implementation for WASI.
8290d44 Run TLS destructors for wasm32-wasip1-threads
bd32b12 Downgrade cc
f584641 Run `cargo update` and update licenses
8315724 chore: Improve doc comments
37e4c2e Refactor ReadDir into a state machine
0ea632f wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
3b796d5 docs: better examples for `std::ops::ControlFlow`
9123ca6 Expand home_dir docs
22de338 Add doc alias 'then_with' for `then` method on `bool`
c194cab Adds new intrinsic declaration
e18c12b Define acronym for thread local storage
df06001 Add a `collect_into` tuple test case
4a3e2eb Don't impl Extend for 13-tuples
20dce17 Simplify documentation for Extend impl for tuples
6d3f0ee Add Extend impls for tuples of arity 1 through 12
de96624 Unbreak tidy
078296c Stabilize `std::io::ErrorKind::QuotaExceeded`
56a9a9d Stabilize `std::io::ErrorKind::CrossesDevices`
aa365ea Access members of `FormattingOptions` directly instead of via getters/setters
c5ae145 Removed constness for methods receiving a `&mut` parameter
7477a16 Added better reason for exposing `flags` and `get_flags` as unstable
1a5fda6 Formatted
9622339 Refactored FormattingOptions to use a bitmask for storing flags
fe03174 Revert "Turned public+unstable+hidden functions into private functions"
b1c53d2 Turned public+unstable+hidden functions into private functions
6dee4c2 Made all fns const
6381718 impl Default for fmt::FormattingOptions
74e5620 Fixed copy+paste error in comment
6a015c8 fmt::FormattingOptions: Renamed `alignment` to `align`
a326563 Formatter::with_options: Use different lifetimes
6f25278 Fixed another broken test
b81fe72 Added struct `fmt::FormattingOptions`
bd9bf4e Formatter: Access members via getter methods wherever possible
72604df Stabilize noop_waker
038e6f4 Improve documentation
82ce537 Reformat Python code with `ruff`
d329e1f Improve comments for the default backtrace printer
018057f clarify simd_relaxed_fma non-determinism
6e005a6 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
f05df67 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
cce9041 Allow fn pointers comparisons lint in library
ec81a6d Update `NonZero` and `NonNull` to not field-project (per MCP807)
de82aaa Add `core::arch::breakpoint` and test
5927a6c a release operation synchronizes with an acquire operation
896540b Update the definition of `borrowing_sub`
a4dd9b5 stabilize const_{size,align}_of_val
8bcd49f ./x miri: fix sysroot build
b73a4da stabilize const_collections_with_hasher and build_hasher_default_const_new
c54868b Match simd_relaxed_fma documentation to fmuladd intrinsic
3862529 Add simd_relaxed_fma intrinsic
043727b Fix `f16::midpoint` const feature gate
b80b2c1 Use c"lit" for CStrings without unwrap
e0e6154 Stabilize `const_maybe_uninit_write`
2a12f89 Fix docs for '<[T]>::as_array';
4bc1966 Stabilize `ptr::fn_addr_eq`
e5b7c39 rustc_allow_const_fn_unstable is not used in proc_macro
4eb076b get rid of a bunch of unnecessary rustc_const_unstable
dc8a2a6 remove a whole bunch of unnecessary const feature gates
ce85e97 add isatty alias for is_terminal
07f70ca Stabilize unsigned `num_midpoint` feature
b4c408f Mark `slice::copy_from_slice` unstably const
d541f6c Fix chaining `carrying_add`s
c791211 add test for bytewise ptr::swap of a pointer
3ccc5ac move swap_nonoverlapping constness to separate feature gate
b5cd287 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
704ee0e Add diagnostic item for `std::ops::ControlFlow`
54d1047 update link to "C++ Exceptions under the hood" blog
ff435ea fix: fix codeblocks in `PathBuf` example
0279ab8 fix: hurd build, stat64.st_fsid was renamed to st_dev
36172d3 std: clarify comments about initialization
a5faa96 std: refactor `pthread`-based synchronization
9ff6777 bump hashbrown version
a242f89 Fill in a `BTreeSet::entry` example
637f40b Add a tracking issue for `btree_set_entry`
9e19d5c Add `BTreeSet` entry APIs to match `HashSet`
ae0b08e Implement code review
82610d9 thread::available_parallelism for wasm32-wasip1-threads
bdd4daf changes old intrinsic declaration to new declaration
6e40c5c Fix and undeprecate home_dir()
c190733 refine mir debuginfo docs
e8e12cf Doc comment custom MIR debuginfo.
2e7c6c2 Stabilize `extended_varargs_abi_support`
b734fb3 update cfgs
48cbb8c replace placeholder version
b3b1d69 Also use zero when referencing to capacity or length
dede273 Use consistent wording in docs, use zero instead of 0
7d96147 Fix typos in pin.rs
5b88ffe Share inline(never) generics across crates
3ddbd72 fmt
2fde9ca aix: create shim for lgammaf_r
e2fce21 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
170e96c Remove one stray space.
0bf0b8f Update chown help with a link and adding cap warning
049eb6f Expand std::os::unix::fs::chown() doc with a warning
2cacd71 Add missing code examples on `LocalKey`
c79853e Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
4ebf33d Remove unnecessary `#![allow(unused_features)]`
8fa98cb Sort and separate lint/feature attributes in `profiler_builtins`
98bb87e std: update internal uses of `io::const_error!`
cdced7a std: expose `const_io_error!` as `const_error!`
d448c82 Constify Drop and Destruct
8e7d9fe miri: disable test_downgrade_observe test on macOS
ef76d9a Shorten the `MaybeUninit` `Debug` implementation
6b937cf Support ranges in `<[T]>::get_many_mut()`
80e8a46 btree: add `{Entry,VacantEntry}::insert_entry`
fc4f858 std::thread: avoid leading whitespace in some panic messages
e95ec09 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 505c3c8
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 4, 2025
0334198 [create-pull-request] automated change
c4a46b7 Add real safety comments
a905002 Go back to `Some` instead of transmuting to it.
a51ccf8 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
d8f13b3 Simplify `slice::Iter::next` enough that it inlines
74bf98c stabilize `inherent_str_constructors`
85a2e19 Synchronize platform adaptors for OsString/OsStr
6b234f7 Simplify control flow with while-let
c62d2c0 Improve WTF-8 comments
d1a2b1c Remove ignored `#[must_use]` attributes from portable-simd
ba39cf0 Use more explicit and reliable ptr select in sort impls
3c8c8e2 Impl TryFrom<Vec<u8>> for String
d59a876 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
44d3e34 Stabilize file_lock
515fc2e Update library/std/src/fs.rs
1f4899b Update fs.rs
ae41b93 Improve instant docs
2680b68 Stabilize const_slice_flatten
d2521bc Fix typo in hidden internal docs of `TrustedRandomAccess`
505a1db Stabilize (and const-stabilize) `integer_sign_cast`
85e402c fix docs for inherent str constructors
fc4fd3b Reorder "This lock may be advisory or mandatory." earlier in the lock docs
1bb295a Clarify that locking on Windows also works for files opened with `.read(true)`
ac1b8ea Document that locking a file fails on Windows if the file is opened only for append
6782190 Reword file lock documentation to clarify advisory vs mandatory
893839a add last std diagnostic items for clippy
9fe471c Remove std::os::wasi::fs::FileExt::tell
ebdad11 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
09fc057 Make ub_check message clear that it's not an assert
973aa1e Use tell for <File as Seek>::stream_position
3312816 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
180a41f invalid_from_utf8[_unchecked]: also lint inherent methods
5fd54a6 Fix &&str and trailing commas in io::const_error!
3a69d9c Use io::const_error! when possible over io::Error::new
ef2c13a Add an example for std::error::Error
e0d3c4e proc_macro: Apply unsafe_op_in_unsafe_fn
02a2662 std: Apply unsafe_op_in_unsafe_fn
0ae5831 Fix safety of windows uwp functions
4739c23 unwind: Apply unsafe_op_in_unsafe_fn
c0d436e panic_unwind: Apply unsafe_op_in_unsafe_fn
b46e363 panic_abort: Apply unsafe_op_in_unsafe_fn
10933a3 core: Apply unsafe_op_in_unsafe_fn
2939cb3 docs: fix broken intra-doc links that never worked
2a61446 Forward all default methods for I/O impls
54955f9 Windows: Update generated bindings to 0.59
9039d78 Add safe new to NotAllOnes
b29c98f Implement Extend<AsciiChar> for String
68de3ba re-export `core::iter::FromCoroutine`
12e28b3 Implement `f{16,32,64,128}::{erf,erfc}`
154d4e6 std: Apply deprecated_safe_2024
44a1662 test: Apply deprecated_safe_2024
1572f28 std: Apply fixes for tail drop expressions
8169ff1 std: Apply rust_2024_incompatible_pat
64bb216 std: Apply dependency_on_unit_never_type_fallback
33c0a74 std: Apply missing_unsafe_on_extern
87380e9 std: Apply unsafe_attr_outside_unsafe
e4d84b8 alloc: Apply missing_unsafe_on_extern
2ce50f9 alloc: Apply unsafe_attr_outside_unsafe
805dd83 alloc: Workaround hidden doctest line
b0d8caa Migrate coretests to Rust 2024
2431e2b library: Update rand to 0.9.0
6a90680 core: Apply unsafe_attr_outside_unsafe
7186606 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
4911082 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
610f633 Use `slice::fill` in `io::Repeat` implementation
3f78ea3 Remove the common prelude module
d42780a Correct comment for FreeBSD and DragonFly BSD in unix/thread
d7d767f `transmute` should also assume non-null pointers
e5ba4a0 Update backtrace
f0dc10d expect EINVAL for pthread_mutex_destroy for aix
6cf7293 add `IntoBounds` trait
01ca582 Stabilize `get_many_mut` as `get_disjoint_mut`
36eb710 Fix import in bench for wasm
af9e9df Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
8d2b081 Add diagnostic item for `std::io::BufRead`
d9107ce Implement `read*_exact` for `std:io::repeat`
48258c1 std: replace the `FromInner` implementation for addresses with private conversion functions
621b3b4 Stabilize target_feature_11
16b66e1 Change swap_nonoverlapping from lang to library UB
9081fba `f128` is quadruple-precision
6aeb0c8 `f16` is half-precision
ae732e0 library: amend revert of extended_varargs_abi_support for beta diff
6efd6e6 Revert "Stabilize `extended_varargs_abi_support`"
52294cb Change the issue number for `likely_unlikely` and `cold_path`
9097bfd Update docs for impl keyword
fb2d05f include note on variance and example
8102b0d Improve examples for file locking
6273b89 library: doc: core::alloc::Allocator: trivial typo fix
0dc4755 stabilize `NonZero::count_ones`
b8e59c1 Fix long lines which rustfmt fails to format
271fc3e Reword doc comment on `CoercePointeeValidated`
8d66926 block coerce_pointee_validated for stabilization
fe3e5e2 rename the trait to validity and place a feature gate afront
9d60701 introduce CoercePointeeWellformed for coherence checks at typeck stage
eeb5631 Update `compiler-builtins` to 0.1.146
63cbbdd Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c50586e ignore win_delete_self test in Miri
baf20ec Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
a916129 Mark extern blocks as unsafe
b025a62 Rename field in OnceWith from gen to make
999db80 Mark link_section attr with unsafe
0ab999e Use Option for FindNextFileHandle
dcbec53 fix(libtest): Enable Instant on Emscripten targets
10999e7 Simplify Rc::as_ptr docs + typo fix
e3dfa56 Stabilize `vec_pop_if`
3bf09fd Rustfmt
1bd8b97 occured -> occurred
10c452c Allow Rust to use a number of libc filesystem calls
02ee164 Windows: Test that deleting a running binary fails
49d1b4d Update platform information for remove_file
22588a8 Windows: remove readonly files
7c034e8 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
eda1ad0 Document `Sum::sum` returns additive identities for `[]`
9ff885a Clean up 'HashMap' and 'HashSet' docs;
9b73ae6 Optimize `Rc::<str>::default()` implementation
306b196 std: get rid of `sys_common::io`
fb701b3 std: move `io` module out of `pal`
7857718 Move two windows process tests to tests/ui
e9999ba tests(std/net): remove outdated `base_port` calculation
645d856 sys: net: Add UEFI stubs
e19fd76 Remove some unnecessary parens in `assert!` conditions
f712b4e remove use of `feature(trait_upcasting)` from core tests
5b4acbc Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
2a04d4d Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
1400a93 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
35daf4e Fix unreachable_pub lint for hermit target
229331e Fix link in from_fn.rs
66bb0cc Use `widening_mul`
a9a4ca5 Add OneSidedRangeBound to eliminate panic in `split_point_of`
af48aaa Rename slice::take methods to split_off
8bdc6b9 Update `compiler-builtins` to 0.1.145
ad772c3 specify a prim@slice in docs
e73fe3b implement inherent str constructors
acd3689 std: move network code into `sys`
8c257f0 uefi: process: Add support for command environment variables
6845b6f Mark `std::fmt::from_fn` as `#[must_use]`
90ce3c7 Rename rustc_contract to contract
d828e34 Improve contracts intrisics and remove wrapper function
def00c0 Separate contract feature gates for the internal machinery
11c72a0 Desugars contract into the internal AST extensions
7ff89a0 Express contracts as part of function header and lower it to the contract lang items
cbb29d7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
da2e7fc Contracts core intrinsics.
aba5a65 More PR feedback
3f63c83 PR feedback
f528277 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
df32034 Add note about `FnPtr` being exposed as public bound
d6a6379 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
4c07059 For NonZero impl macros, give unsigned impls access to the corresponding signed type
cce76ab std::fs: further simplify dirent64 handling
b395565 add UnsafeCell direct access APIs
dc50a50 primitive type migration from mod.rs to primitives.rs
c2a7b8a implement unstable `new_range` feature
988ce24 std::range
6f4d7d1 Remove stabilized feature gate
41b4f2e Move env modifying tests to a separate integration test
ce71b18 Fix for SGX
ca9311a Fix benchmarking of libstd
8b0de2b Move std::sync unit tests to integration tests
e81009b Move std::thread_local unit tests to integration tests
02bb199 Move std::time unit tests to integration tests
af9739c Move std::path unit tests to integration tests
0e4b8a4 Move std::panic unit tests to integration tests
ff7c358 Move std::num unit tests to integration tests
b4483f2 Move std float unit tests to integration tests
5a93f72 Move std::error unit tests to integration tests
9c178fb Move std::env unit tests to integration tests
476872d no unsafe pointer and no overflowing_literals in fmt::Display of integers
2f49d8e black_box integer-input on fmt benches
d4ea809 OnceCell & OnceLock docs: Using (un)initialized consistently
2ddcc67 Docs for f16 and f128: correct a typo and add details
1893027 rustc_allowed_through_unstable_modules: require deprecation message
619be3a Update encode_utf16 to mention it is native endian
125834d remove Rustc{En,De}codable from library and compiler
ade6039 make rustc_encodable_decodable feature properly unstable
1b6520a Fix sentence in process::abort
83d1e84 document ptr comparison being by address
908de7a stabilize `once_wait`
0b7197e implement all min/max fns in terms of `<`/`is_lt`
e0cd93d improve doc tests for (min/max/minmax).* functions
02ed173 docs: Documented Send and Sync requirements for Mutex + MutexGuard
7170b0d Add documentation for derive(CoercePointee)
1e3f675 Fix off-by-one error causing driftsort to crash
6458b1b Insert null checks for pointer dereferences when debug assertions are enabled
e3238d1 atomic: extend compare_and_swap migration docs
a271348 float::min/max: mention the non-determinism around signed 0
dad81fe Stabilize `const_black_box`
474a7ff Improve documentation for file locking
6e313fd Remove minor future footgun in `impl Debug for MaybeUninit`
ab22580 Add `AsyncFn*` to core prelude
f03a0c7 uefi: Implement path
d11eed8 Implement `int_from_ascii` (rust-lang#134821)
577c9a4 Cleanup docs for Allocator
27bd1ec btree/node.rs: pop_internal_level: does not invalidate other handles
aa145bb btree/node.rs: remove incorrect comment from pop_internal_level docs
51faf7f add inline attribute and codegen test
80b571d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
fda3bb7 optimize slice::ptr_rotate for compile-time-constant small rotates
3d0802f Test pipes also when not running on Windows and Linux simultaneously
be05ab8 uefi: process: Fix args
ae94901 [cfg_match] Document the use of expressions
84b4bf1 Update comments and sort target_arch in c_char_definition
7abc1e6 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
5c30cc6 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
708d2b0 Document powf and powi calls that always return 1.0
6096310 Document purpose of closure in from_fn.rs more clearly
a41e6f0 add missing allocator safety in alloc crate
f48f334 alloc: add `#![warn(unreachable_pub)]`
626eb75 Implement `AtomicT::update` & `AtomicT::try_update`
63f231b fix doc for std::sync::mpmc
0c11132 Implement phantom variance markers
e213867 Clarify WindowsMut (Lending)Iterator
11bb121 compiler_fence: fix example
9bd8888 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
281b1fa Move `std::io::pipe` code into its own file
48b1b91 Actually run the bstr test
1e15a31 Update comment
b8408b0 Put all coretests in a separate crate
e784a55 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
1f50db3 add nto80 x86-64 and aarch64 target
1e72726 Add support for QNX 7.1 with io-sock on x64
8855f2c Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
6118e51 Update a bunch of comments from before wasi support was added
8e1512e Remove a bunch of emscripten test ignores
894d0cd Fix testing of the standard library with Emscripten
9307f86 fix(libtest): Deprecate '--logfile'
4a20832 docs: fix typo in std::pin overview
045ee02 ports last few library files to new intrinsic style
4956e16 Improve and expand documentation of pipes
07508b0 Fix set_name in thread mod for NuttX
943b6fa Fix `FormattingOptions` instantiation with `Default`
46ead06 Update library/core/src/num/nonzero.rs
4e4c210 Add memory layout documentation to generic NonZero<T>
2b2a836 Fix whitespace
041303a document order of items in iterator from drain
17f4371 Add `File already exists` error doc to `hard_link` function
9825a63 Doc difference between extend and extend_from_slice
e4a4fa2 Make `Vec::pop_if` a bit more presentable
8096346 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
6368b40 remove pointless allowed_through_unstable_modules on TryFromSliceError
22fd023 test: add `#![warn(unreachable_pub)]`
1a92893 proc_macro: add `#![warn(unreachable_pub)]`
965927e Implement `CloneToUninit` for `ByteStr`
e4a5f24 Add doc aliases for BStr and BString
5e9533b Omit some more `From` impls to avoid inference failures
b8702ce Support `no_rc`, `no_sync`, and `no_global_oom_handling`
880038b Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
3083d6e Implement `ByteStr` and `ByteString` types
2a4d70d Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
610c8ad Library: Finalize dyn compatibility renaming
8b64658 Remove test panic from File::open
de8b8f3 fix OsString::from_encoded_bytes_unchecked description
93a1369 Add an example of using `carrying_mul_add` to write wider multiplication
b8e2b49 Outline panicking code for `LocalKey::with`
3db6fa9 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
bef9296 core: add `#![warn(unreachable_pub)]`
f3a3721 rtstartup: add `#![warn(unreachable_pub)]`
174446a panic_unwind: add `#![warn(unreachable_pub)]`
b6e2d54 Recognise new IPv6 documentation range from RFC9637
6fe5a42 1. Removed 'rustc_nounwind' 2. Rewording of comments
a58bedb Export likely(), unlikely() and cold_path() in std::hint
64d46ca Correct counting to four in cell module docs
9aba303 doc: Point to methods on `Command` as alternatives to `set/remove_var`
3e9bb2d wasi/io: remove dead files
f150009 remove unnecessary rustc_allowed_through_unstable_modules
7796573 further improve panic_immediate_abort by removing rtprintpanic messages
4091e80 cargo update
4d65ba2 Rewrap following accepting review suggestions from @ibraheemdev
38c2bdb Update library/core/src/slice/mod.rs
89fea1f Update library/core/src/slice/mod.rs
ede0509 Update library/core/src/slice/mod.rs
1a8b376 Update library/core/src/slice/mod.rs
29930e3 Update library/core/src/slice/mod.rs
9558aa5 Update library/core/src/slice/mod.rs
589c751 Update library/core/src/slice/mod.rs
6dafb43 Update library/core/src/slice/mod.rs
e34f178 Update library/core/src/slice/mod.rs
a06ea4f Update library/core/src/slice/mod.rs
1589d1a `then be` -> `be` based on feedback from @ibraheemdev
d8a7052 Improve `select_nth_unstable` documentation clarity
699b41a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
d6ad993 Add references to the IEEE functions for `float_next_up_down`
0730855 Stabilize `float_next_up_down`
e2f2ffd Fix import of pipe in kernel_copy.rs
662f914 Move `std::pipe::*` into `std::io`
aa14622 Clarify note in `std::sync::LazyLock` example
b356caf fix typo in library/alloc/src/sync.rs
6659d6c Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a403194 Adjust syntax
72ba1e1 Less unsafe in `dangling`/`without_provenance`
3f5ffef fix typo in typenames of pin documentation
8cd6d3c intrinsics: deprecate calling them via the unstable std::intrinsics path
712ac63 add comments explaining main thread identification
cf32d27 std: lazily allocate the main thread handle
d2034e0 Revert "Remove the Arc rt::init allocation for thread info"
4fc45c0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
e4e000b Update compiler-builtins to 0.1.143
2a42bf2 Rename `pos` to `position`
2b5663b Convert `struct FromBytesWithNulError` into enum
5e82a37 Enforce syntactical stability of const traits in HIR
4df5fef Update compiler-builtins to 0.1.141
d43dffa Add another `Vec::splice` example
ccbebe5 avoid nesting the user-defined main so deeply on the stack
ed4260b use a single large catch_unwind in lang_start
2aa9e78 uefi: helpers: Introduce OwnedDevicePath
737cdee path: Move is_absolute check to sys::path
9a28ea3 Update the explanation for why we use box_new in vec!
6a1de78 Add #[inline] to copy_from_slice
7e1899b Add inherent versions of MaybeUninit methods for slices
04429be Make UniqueRc invariant for soundness
eb159d4 update and clarify StructuralPartialEq docs
6975806 Use `NonNull::without_provenance` within the standard library
d2b3ec8 Initial fs module for uefi
44c499a Improve the safety documentation on new_unchecked
427cffe Update a bunch of library types for MCP807
a42dfa6 alloc: remove unsound `IsZero` for raw pointers
0083db4 Fix `proc_macro::quote!` for raw ident
64fe7f5 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
ddd9872 Rename the internal simpler `quote` macro to `minimal_quote`
4ee26f6 Used pthread name functions returning result for FreeBSD and DragonFly
d45f7ab Fix ptr::from_ref documentation example comment
03b31aa Improve prose around `as_slice` example of IterMut
5275a29 fmt
e9f22b4 update cfg(bootstrap)
6a6073d update version placeholders
110b7ff Remove some unnecessary `.into()` calls
be9a7b5 add missing provenance APIs on NonNull
8b19c55 More compelling env_clear() examples
5bee13d Implement Condvar::wait_timeout for targets without threads
d992c60 Impl String::into_chars
c4df4d5 Avoid naming variables `str`
8581711 [generic_assert] Constify methods used by the formatting system
360fddc Add support for wasm exception handling to Emscripten target
8a08cf8 chore: remove redundant words in comment
0b74d9c Add doc aliases for `libm` and IEEE names
3f62e9f Mark `slice::reverse` unstably const
66329ed Clarified the documentation on core::iter::from_fn and core::iter::successors
6e77244 library: fix adler{-> 2}.debug
e814cd4 add regression test for unsound Flatten/FlatMap specialization
54659a6 do not in-place-iterate over flatmap/flatten
5276cd8 Fix UWP build
92a45d6 Bump backtrace to 0.3.75
da838af sync to actual dep verions of backtrace
22ea2b8 turn rustc_box into an intrinsic
31898f1 core: use public method instead of instrinsic
f71c350 core: improve comments
4645459 core: implement `bool::select_unpredictable`
427242c Switch rtems target to panic unwind
deaeb04 path in detail
1817472 Move some things to `std::sync::poison` and reexport them in `std::sync`
4e9b4ff Bump backtrace to rust-lang/backtrace-rs@4d7906b
bb3dbf8 Try to write the panic message with a single `write_all` call
d8fe6cf fix doc for missing Box allocator consistency
cf57ff2 Remove qualification of `std::cmp::Ordering` in `Ord` doc
dd04978 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
72611f0 Avoid use of LFS64 symbols on Emscripten
822e589 char to_digit: avoid unnecessary casts to u64
faa730b Remove allowing static_mut_refs lint
16e89ec Tidy up bigint mul methods
0347158 fix doc for read write unaligned in zst operation
934f36a Avoid short writes in LineWriter
600b9b5 ptr docs: make it clear that we are talking only about memory accesses
bb8efbe Make slice::as_flattened_mut unstably const
c81a940 rename typed_swap → typed_swap_nonoverlapping
e4960f7 stabilize const_swap
6c09e8d fix: typos
ef43531 Fix sentence fragment in `pin` module docs
122ca20 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
220dc01 Fix compilation issues on other unixes
67d674b Eliminate redundant statx syscalls
bfc18a0 Unify fs::copy and io::copy
8452c6c Update `compiler-builtins` to 0.1.140
2651185 Update library/alloc/tests/sort/tests.rs
d77e074 Fix typos
70ce918 Override `carrying_mul_add` in cg_llvm
583edd7 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
b0a22d5 Fix mistake in windows file open
32ba12d Windows: Use WriteFile to write to a UTF-8 console
c09458a ptr::copy: fix docs for the overlapping case
1ea0561 Fix renaming symlinks on Windows
561b712 docs: inline `core::ffi::c_str` types to `core::ffi`
3da2079 docs: inline `std::ffi::c_str` types to `std::ffi`
9578530 unwinding: bump version to fix asm
0055b76 docs: update code example for Iterator#rposition
ac41351 Use scoped threads in `std::sync::Barrier` examples
a89d115 Fix forgetting to save statx availability on success
0d617e9 Specify only that duplicates are discarded, not the order.
a15a42b Document collection `From` and `FromIterator` impls that drop duplicate keys.
01c3172 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
31d7e6c Impl FromIterator for tuples with arity 1-12
ce8b43b Fix formatting
381e30d stabilize const_alloc_layout
ee2d176 chore: fix typos
2eb94b8 Windows: Use FILE_ALLOCATION_INFO for truncation
e53b69b Bump `stdarch`
d184d60 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c248458 Fixes safety docs for `dyn Any + Send {+ Sync}`
a479ffb Use `#[derive(Default)]` instead of manually implementing it
884964f Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
ad5ef5c Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
654f7f9 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
3a184c5 docs: Permissions.readonly() also ignores root user special permissions
174b696 cargo update
ce02100 Delete `Rvalue::Len`
3104875 Asserts the maximum value that can be returned from `Vec::len`
0457d01 Document `PointerLike` implementation restrictions.
2c39220 Use `&raw` for `ptr` primitive docs
3869fb0 Add `is_ascii` function optimized for x86-64 for [u8]
fde724b Add new implementation benchmark
d7678ce Document CTFE behavior of methods that call is_null
c0a996e Correctly document is_null CTFE behavior.
80dc926 Win: rename: Use offset_of! in struct size calculation
62ef2ce Win: Remove special casing of the win7 target for `std::fs::rename`
d9622db Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
16eeebc Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
7b147a5 Less unwrap() in documentation
7625083 Improve prose around into_slice example of IterMut
5a16503 Improve prose around `as_slice` example of Iter
6366971 Improve prose around basic examples of Iter and IterMut
869f833 Abstract `ProcThreadAttributeList` into its own struct
dda76a4 fix `PointerLike` docs
3d0d97a unimplement `PointerLike` for trait objects
408b5c1 split up `#[rustc_deny_explicit_impl]` attribute
b3759dd remove reference to dangling from slice::Iter
fc43853 mri: add track_caller to thread spawning methods for better backtraces
4cb8546 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
7aef526 Improve documentation of `element_offset` and related methods
9449efc Rename `elem_offset` to `element_offset`
b439efe docs: Mention `spare_capacity_mut()` in `Vec::set_len`
2ec5f96 build: Update libc version
faf10e6 fix typo in ptr/mod.rs
23302ae Stabilize `#[diagnostic::do_not_recommend]`
18f6150 Use field init shorthand where possible
b5b5259 fix(LazyCell): documentation of get[_mut] was wrong
b043a5e 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
33de924 Fix typo in uint_macros.rs
fe64e63 remove obsolete comment and pub(super) visibility
33d598a remove bounds from vec and linkedlist ExtractIf
1dc8b27 Add a range argument to vec.extract_if
ee3fcd3 Stabilize #[coverage] attribute
ca66f82 Remove `rustc::existing_doc_keyword` lint.
aa5222f Move `doc(keyword = "while")`.
35b97ab rustdoc-search: let From and Into be unboxed
a56c9fd Replace i32 by char in `split_at` & `_unchecked`
1d65fe2 Add clarity to the "greater" of `VecDeque::insert`
a9641d5 Replace i32 by char to add clarity
d154b65 Add value accessor methods to `Mutex` and `RwLock`
8036e7e std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
1ea5d0b UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
76f0c6b UniqueRc: PinCoerceUnsized and DerefPure
347e854 UniqueRc: comparisons and Hash
6f52639 UniqueRc: Add more trait impls.
0602841 Remove support for specializing ToString outside the standard library
17a541f Correct spelling of CURRENT_RUSTC_VERSION
cb86a19 Add documentation for anonymous pipe module
f61f867 feat: clarify how to use `black_box()`
e609172 Update includes in '/library/core/src/error.rs';
c3281ac Fix building `std` for Hermit after `c_char` change
6c812c4 Fix `Path::is_absolute` on Hermit
00fce71 Fix typos in docs on provenance
8898e55 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
df9a2d0 Switch inline(always) in core/src/fmt/rt.rs to plain inline
3e313b3 Reword prelude for AsyncFn stabilization
c48d588 Stabilize async closures
9c63489 Remove consteval note from <*mut T>::align_offset docs.
c95bf4b Stabilize the Rust 2024 prelude
e586136 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
254fbd9 Move some alloc tests to the alloctests crate
b246283 control libunwind linkage mode via `crt-static` on gnullvm targets
6e23dd0 Change `GetManyMutError` to match T-libs-api decision
6967737 Add references to the specific ABI documents
da396b6 Remove l4re from the unsigned char operating system list
3516142 De-duplicate and improve definition of core::ffi::c_char
77f027b Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
04ca2c5 stabilize const_nonnull_new
20f2ae7 Remove rustc_const_stable attribute on const NOOP
66a34a4 Add libc funcitons only for wasm32-wasip1-threads.
cc9a676 Fix compilation for wasm32-wasip1 (without threads).
42ecd7f Use UNIX thread_local implementation for WASI.
89ac9c1 Run TLS destructors for wasm32-wasip1-threads
7735491 Downgrade cc
f71f3e2 Run `cargo update` and update licenses
92611cb chore: Improve doc comments
a7f9863 Refactor ReadDir into a state machine
f625247 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
f2615af docs: better examples for `std::ops::ControlFlow`
bf8542e Expand home_dir docs
5f4f3d4 Add doc alias 'then_with' for `then` method on `bool`
24c92b5 Adds new intrinsic declaration
baaf1ab Define acronym for thread local storage
fa4e16f Add a `collect_into` tuple test case
78cd764 Don't impl Extend for 13-tuples
e2d61b4 Simplify documentation for Extend impl for tuples
3bcfa60 Add Extend impls for tuples of arity 1 through 12
b3f1b7c Unbreak tidy
a0720d7 Stabilize `std::io::ErrorKind::QuotaExceeded`
c00ebf9 Stabilize `std::io::ErrorKind::CrossesDevices`
542dc61 Access members of `FormattingOptions` directly instead of via getters/setters
bdc7ce3 Removed constness for methods receiving a `&mut` parameter
bb5fe86 Added better reason for exposing `flags` and `get_flags` as unstable
c40ecf6 Formatted
58dfe87 Refactored FormattingOptions to use a bitmask for storing flags
d1374fc Revert "Turned public+unstable+hidden functions into private functions"
7ed5235 Turned public+unstable+hidden functions into private functions
d4cc0b0 Made all fns const
4aeb901 impl Default for fmt::FormattingOptions
5662b9b Fixed copy+paste error in comment
c1ece7b fmt::FormattingOptions: Renamed `alignment` to `align`
496682a Formatter::with_options: Use different lifetimes
2bbdfd5 Fixed another broken test
dbf82c2 Added struct `fmt::FormattingOptions`
5906c67 Formatter: Access members via getter methods wherever possible
19c123a Stabilize noop_waker
0c736ca Improve documentation
a46ab4b Reformat Python code with `ruff`
4f77dc7 Improve comments for the default backtrace printer
7713538 clarify simd_relaxed_fma non-determinism
68e9c96 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
5e1ce66 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
8541cbc Allow fn pointers comparisons lint in library
964bcf5 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ea04ee Add `core::arch::breakpoint` and test
06d9c44 a release operation synchronizes with an acquire operation
cf23bf8 Update the definition of `borrowing_sub`
1414e5d stabilize const_{size,align}_of_val
cd39426 ./x miri: fix sysroot build
33c7095 stabilize const_collections_with_hasher and build_hasher_default_const_new
c418d70 Match simd_relaxed_fma documentation to fmuladd intrinsic
500962a Add simd_relaxed_fma intrinsic
5524a9e Fix `f16::midpoint` const feature gate
589e9a1 Use c"lit" for CStrings without unwrap
2390af1 Stabilize `const_maybe_uninit_write`
73203b1 Fix docs for '<[T]>::as_array';
982c99a Stabilize `ptr::fn_addr_eq`
a2ce979 rustc_allow_const_fn_unstable is not used in proc_macro
e6fbe09 get rid of a bunch of unnecessary rustc_const_unstable
14f6f52 remove a whole bunch of unnecessary const feature gates
fef761b add isatty alias for is_terminal
9f490cf Stabilize unsigned `num_midpoint` feature
54e1b24 Mark `slice::copy_from_slice` unstably const
23f231a Fix chaining `carrying_add`s
64181fa add test for bytewise ptr::swap of a pointer
17d2db8 move swap_nonoverlapping constness to separate feature gate
3d22fb7 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
1de9191 Add diagnostic item for `std::ops::ControlFlow`
22e3b30 update link to "C++ Exceptions under the hood" blog
ccb4b0d fix: fix codeblocks in `PathBuf` example
075408b fix: hurd build, stat64.st_fsid was renamed to st_dev
7999b8c std: clarify comments about initialization
95e1897 std: refactor `pthread`-based synchronization
05b23ce bump hashbrown version
c021db5 Fill in a `BTreeSet::entry` example
5ba075b Add a tracking issue for `btree_set_entry`
a148417 Add `BTreeSet` entry APIs to match `HashSet`
8fcfc14 Implement code review
b838b48 thread::available_parallelism for wasm32-wasip1-threads
6df12c7 changes old intrinsic declaration to new declaration
436d1e2 Fix and undeprecate home_dir()
5f6fffc refine mir debuginfo docs
ee01a0a Doc comment custom MIR debuginfo.
dd8a786 Stabilize `extended_varargs_abi_support`
72e52a3 update cfgs
2757573 replace placeholder version
2213705 Also use zero when referencing to capacity or length
6aee78e Use consistent wording in docs, use zero instead of 0
1f10a17 Fix typos in pin.rs
83752dd Share inline(never) generics across crates
8aa0548 fmt
cc27be7 aix: create shim for lgammaf_r
dd26dcd Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
5b5b6f7 Remove one stray space.
bd42097 Update chown help with a link and adding cap warning
cc41146 Expand std::os::unix::fs::chown() doc with a warning
844be12 Add missing code examples on `LocalKey`
74ede09 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
dc5ad1f Remove unnecessary `#![allow(unused_features)]`
0e05370 Sort and separate lint/feature attributes in `profiler_builtins`
c58bd15 std: update internal uses of `io::const_error!`
549c9a0 std: expose `const_io_error!` as `const_error!`
a97dd5e Constify Drop and Destruct
09b2f0c miri: disable test_downgrade_observe test on macOS
e92cd49 Shorten the `MaybeUninit` `Debug` implementation
7c1931d Support ranges in `<[T]>::get_many_mut()`
dbec138 btree: add `{Entry,VacantEntry}::insert_entry`
5043513 std::thread: avoid leading whitespace in some panic messages
52c4398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 0334198
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 4, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 4, 2025
09e7494 [create-pull-request] automated change
e6fc75e Add real safety comments
4151361 Go back to `Some` instead of transmuting to it.
79bfa70 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
f30eab4 Simplify `slice::Iter::next` enough that it inlines
19ddf47 stabilize `inherent_str_constructors`
85b9723 Synchronize platform adaptors for OsString/OsStr
a6830fa Simplify control flow with while-let
1cdd834 Improve WTF-8 comments
5f5dd1f Remove ignored `#[must_use]` attributes from portable-simd
8bb4f5a Use more explicit and reliable ptr select in sort impls
4f9a538 Impl TryFrom<Vec<u8>> for String
2ad9ff4 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
c266d4e Stabilize file_lock
b439999 Update library/std/src/fs.rs
3788ab2 Update fs.rs
13184b8 Improve instant docs
cea0bb4 Stabilize const_slice_flatten
70a6fab Fix typo in hidden internal docs of `TrustedRandomAccess`
a604104 Stabilize (and const-stabilize) `integer_sign_cast`
6a98f43 fix docs for inherent str constructors
fe11956 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
7ccb406 Clarify that locking on Windows also works for files opened with `.read(true)`
5ed6f53 Document that locking a file fails on Windows if the file is opened only for append
24e3d48 Reword file lock documentation to clarify advisory vs mandatory
629bb55 add last std diagnostic items for clippy
fbe3ccc Remove std::os::wasi::fs::FileExt::tell
03832e8 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
55d3538 Make ub_check message clear that it's not an assert
cb0517f Use tell for <File as Seek>::stream_position
0942b17 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
5919cad invalid_from_utf8[_unchecked]: also lint inherent methods
121c31b Fix &&str and trailing commas in io::const_error!
0da6300 Use io::const_error! when possible over io::Error::new
78583a5 Add an example for std::error::Error
a390bc9 proc_macro: Apply unsafe_op_in_unsafe_fn
a02f3ae std: Apply unsafe_op_in_unsafe_fn
4277cbc Fix safety of windows uwp functions
c49e782 unwind: Apply unsafe_op_in_unsafe_fn
43f085c panic_unwind: Apply unsafe_op_in_unsafe_fn
3467cd2 panic_abort: Apply unsafe_op_in_unsafe_fn
aae1857 core: Apply unsafe_op_in_unsafe_fn
c5d40b5 docs: fix broken intra-doc links that never worked
f97ee24 Forward all default methods for I/O impls
a0a838c Windows: Update generated bindings to 0.59
d573790 Add safe new to NotAllOnes
10191c8 Implement Extend<AsciiChar> for String
dc0d656 re-export `core::iter::FromCoroutine`
9819556 Implement `f{16,32,64,128}::{erf,erfc}`
f49df2f std: Apply deprecated_safe_2024
7b7a196 test: Apply deprecated_safe_2024
52c010f std: Apply fixes for tail drop expressions
5761edb std: Apply rust_2024_incompatible_pat
5131d72 std: Apply dependency_on_unit_never_type_fallback
0053638 std: Apply missing_unsafe_on_extern
27cd019 std: Apply unsafe_attr_outside_unsafe
7ef4cd9 alloc: Apply missing_unsafe_on_extern
5cb0cba alloc: Apply unsafe_attr_outside_unsafe
3516feb alloc: Workaround hidden doctest line
7dbaa97 Migrate coretests to Rust 2024
c5e9d70 library: Update rand to 0.9.0
766eb1b core: Apply unsafe_attr_outside_unsafe
44e9912 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
225836f alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
f9713ab Use `slice::fill` in `io::Repeat` implementation
f03c9d6 Remove the common prelude module
f2e1bda Correct comment for FreeBSD and DragonFly BSD in unix/thread
3c4453f `transmute` should also assume non-null pointers
2d918c0 Update backtrace
e7b5267 expect EINVAL for pthread_mutex_destroy for aix
659ce43 add `IntoBounds` trait
4bdc6d9 Stabilize `get_many_mut` as `get_disjoint_mut`
032528c Fix import in bench for wasm
8675039 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
312117d Add diagnostic item for `std::io::BufRead`
a5dd272 Implement `read*_exact` for `std:io::repeat`
fe97e81 std: replace the `FromInner` implementation for addresses with private conversion functions
7999442 Stabilize target_feature_11
d41bc3f Change swap_nonoverlapping from lang to library UB
b2a4167 `f128` is quadruple-precision
668d5fd `f16` is half-precision
7580644 library: amend revert of extended_varargs_abi_support for beta diff
7841a25 Revert "Stabilize `extended_varargs_abi_support`"
f7ca135 Change the issue number for `likely_unlikely` and `cold_path`
6bfaf31 Update docs for impl keyword
c27cbc7 include note on variance and example
1301f7f Improve examples for file locking
9c24562 library: doc: core::alloc::Allocator: trivial typo fix
0e4f7b9 stabilize `NonZero::count_ones`
7baaf4a Fix long lines which rustfmt fails to format
6752649 Reword doc comment on `CoercePointeeValidated`
8fab862 block coerce_pointee_validated for stabilization
f7f636d rename the trait to validity and place a feature gate afront
7fbc487 introduce CoercePointeeWellformed for coherence checks at typeck stage
c390311 Update `compiler-builtins` to 0.1.146
f2cd3ee Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
0b67f74 ignore win_delete_self test in Miri
b3e16ee Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
405f927 Mark extern blocks as unsafe
fc8f7e1 Rename field in OnceWith from gen to make
9c7b689 Mark link_section attr with unsafe
ba6a250 Use Option for FindNextFileHandle
10bea05 fix(libtest): Enable Instant on Emscripten targets
1c30eb8 Simplify Rc::as_ptr docs + typo fix
a72f409 Stabilize `vec_pop_if`
8a040f1 Rustfmt
ea6a2c6 occured -> occurred
f0b51c6 Allow Rust to use a number of libc filesystem calls
3e79c5b Windows: Test that deleting a running binary fails
7ba83f1 Update platform information for remove_file
f5ff4ea Windows: remove readonly files
08f6798 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
4e83e68 Document `Sum::sum` returns additive identities for `[]`
c5bf9b8 Clean up 'HashMap' and 'HashSet' docs;
9bd43f0 Optimize `Rc::<str>::default()` implementation
69f33e9 std: get rid of `sys_common::io`
f584151 std: move `io` module out of `pal`
531a3fe Move two windows process tests to tests/ui
fda9fc2 tests(std/net): remove outdated `base_port` calculation
03d4ca2 sys: net: Add UEFI stubs
c4c617e Remove some unnecessary parens in `assert!` conditions
3e80a49 remove use of `feature(trait_upcasting)` from core tests
f6e4dc4 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
5145097 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
c1b611f tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
10058d3 Fix unreachable_pub lint for hermit target
ee692d4 Fix link in from_fn.rs
ef7d366 Use `widening_mul`
0fc7f22 Add OneSidedRangeBound to eliminate panic in `split_point_of`
d1bfa04 Rename slice::take methods to split_off
5db6bd0 Update `compiler-builtins` to 0.1.145
02baa4a specify a prim@slice in docs
5374b97 implement inherent str constructors
9f6d1a2 std: move network code into `sys`
dedf60a uefi: process: Add support for command environment variables
eb230c2 Mark `std::fmt::from_fn` as `#[must_use]`
c35a690 Rename rustc_contract to contract
5876395 Improve contracts intrisics and remove wrapper function
296509e Separate contract feature gates for the internal machinery
1f0aaa8 Desugars contract into the internal AST extensions
bd8ec3b Express contracts as part of function header and lower it to the contract lang items
ca133d5 contracts: added lang items that act as hooks for rustc-injected code to invoke.
e26f838 Contracts core intrinsics.
65491e3 More PR feedback
110ae3d PR feedback
2bbe98f Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
5c4205e Add note about `FnPtr` being exposed as public bound
f41055b Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
042b310 For NonZero impl macros, give unsigned impls access to the corresponding signed type
4e61d75 std::fs: further simplify dirent64 handling
9accd1a add UnsafeCell direct access APIs
e919b57 primitive type migration from mod.rs to primitives.rs
99cbe1e implement unstable `new_range` feature
f55b2bc std::range
52bf1e8 Remove stabilized feature gate
4f3c188 Move env modifying tests to a separate integration test
ef6d8a8 Fix for SGX
430e7c8 Fix benchmarking of libstd
14da79a Move std::sync unit tests to integration tests
43188ec Move std::thread_local unit tests to integration tests
63daa93 Move std::time unit tests to integration tests
b2dac92 Move std::path unit tests to integration tests
8279918 Move std::panic unit tests to integration tests
0a8ed17 Move std::num unit tests to integration tests
a67c9e3 Move std float unit tests to integration tests
c2248d5 Move std::error unit tests to integration tests
e471409 Move std::env unit tests to integration tests
16b11af no unsafe pointer and no overflowing_literals in fmt::Display of integers
3e090c8 black_box integer-input on fmt benches
dfb8b0f OnceCell & OnceLock docs: Using (un)initialized consistently
3f7d9b8 Docs for f16 and f128: correct a typo and add details
172cd8f rustc_allowed_through_unstable_modules: require deprecation message
f09223c Update encode_utf16 to mention it is native endian
b18f2aa remove Rustc{En,De}codable from library and compiler
8420d73 make rustc_encodable_decodable feature properly unstable
6dd6e3c Fix sentence in process::abort
ef8ef8d document ptr comparison being by address
5538ddf stabilize `once_wait`
95937d9 implement all min/max fns in terms of `<`/`is_lt`
a254e85 improve doc tests for (min/max/minmax).* functions
257b3d5 docs: Documented Send and Sync requirements for Mutex + MutexGuard
7c5a685 Add documentation for derive(CoercePointee)
0dc296a Fix off-by-one error causing driftsort to crash
09ce1fd Insert null checks for pointer dereferences when debug assertions are enabled
7b75bd8 atomic: extend compare_and_swap migration docs
fc90885 float::min/max: mention the non-determinism around signed 0
954c902 Stabilize `const_black_box`
b310b90 Improve documentation for file locking
678769b Remove minor future footgun in `impl Debug for MaybeUninit`
1fc9700 Add `AsyncFn*` to core prelude
9552c99 uefi: Implement path
d7aebbc Implement `int_from_ascii` (rust-lang#134821)
e5d8344 Cleanup docs for Allocator
f165f0e btree/node.rs: pop_internal_level: does not invalidate other handles
19eb9da btree/node.rs: remove incorrect comment from pop_internal_level docs
1b4b94a add inline attribute and codegen test
d604d6a split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
ec48250 optimize slice::ptr_rotate for compile-time-constant small rotates
7bb27c5 Test pipes also when not running on Windows and Linux simultaneously
5d4032c uefi: process: Fix args
78eddde [cfg_match] Document the use of expressions
a9725e6 Update comments and sort target_arch in c_char_definition
23b81cb [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
87af0cf Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
adf1641 Document powf and powi calls that always return 1.0
86bb627 Document purpose of closure in from_fn.rs more clearly
aec83b8 add missing allocator safety in alloc crate
b33b4d3 alloc: add `#![warn(unreachable_pub)]`
c962c50 Implement `AtomicT::update` & `AtomicT::try_update`
a3b54af fix doc for std::sync::mpmc
cb968bf Implement phantom variance markers
dfeb1ed Clarify WindowsMut (Lending)Iterator
f3944e4 compiler_fence: fix example
83cffa0 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
e81578c Move `std::io::pipe` code into its own file
8495189 Actually run the bstr test
72cea60 Update comment
cd793b5 Put all coretests in a separate crate
faf2065 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
a7f9d85 add nto80 x86-64 and aarch64 target
53054d9 Add support for QNX 7.1 with io-sock on x64
f2d04dd Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
73cc516 Update a bunch of comments from before wasi support was added
5e22240 Remove a bunch of emscripten test ignores
cc193b8 Fix testing of the standard library with Emscripten
de0169f fix(libtest): Deprecate '--logfile'
4fdbfca docs: fix typo in std::pin overview
8da1709 ports last few library files to new intrinsic style
0951e5d Improve and expand documentation of pipes
86bcc60 Fix set_name in thread mod for NuttX
88711dc Fix `FormattingOptions` instantiation with `Default`
aa4ce7f Update library/core/src/num/nonzero.rs
6e06edf Add memory layout documentation to generic NonZero<T>
f9ba479 Fix whitespace
0455b4d document order of items in iterator from drain
2f1106b Add `File already exists` error doc to `hard_link` function
fde457b Doc difference between extend and extend_from_slice
84b5253 Make `Vec::pop_if` a bit more presentable
5801ffc Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
577a769 remove pointless allowed_through_unstable_modules on TryFromSliceError
45fbf8b test: add `#![warn(unreachable_pub)]`
c736890 proc_macro: add `#![warn(unreachable_pub)]`
6cb3427 Implement `CloneToUninit` for `ByteStr`
96c6a48 Add doc aliases for BStr and BString
70d2eb7 Omit some more `From` impls to avoid inference failures
ebf031d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
81b625f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
fe8d147 Implement `ByteStr` and `ByteString` types
c7c76bf Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
18e60f8 Library: Finalize dyn compatibility renaming
7263a38 Remove test panic from File::open
7c48231 fix OsString::from_encoded_bytes_unchecked description
da56198 Add an example of using `carrying_mul_add` to write wider multiplication
59a4e16 Outline panicking code for `LocalKey::with`
fc20220 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
2be6c83 core: add `#![warn(unreachable_pub)]`
88409e7 rtstartup: add `#![warn(unreachable_pub)]`
b1e69fd panic_unwind: add `#![warn(unreachable_pub)]`
7465aff Recognise new IPv6 documentation range from RFC9637
4bec3e7 1. Removed 'rustc_nounwind' 2. Rewording of comments
444b046 Export likely(), unlikely() and cold_path() in std::hint
ed38986 Correct counting to four in cell module docs
4fa8871 doc: Point to methods on `Command` as alternatives to `set/remove_var`
4f408a9 wasi/io: remove dead files
10512f5 remove unnecessary rustc_allowed_through_unstable_modules
2b9429d further improve panic_immediate_abort by removing rtprintpanic messages
dde94b2 cargo update
4efc06a Rewrap following accepting review suggestions from @ibraheemdev
221fabf Update library/core/src/slice/mod.rs
0f81ecf Update library/core/src/slice/mod.rs
e4bd75f Update library/core/src/slice/mod.rs
43231ef Update library/core/src/slice/mod.rs
f8df145 Update library/core/src/slice/mod.rs
2c816ed Update library/core/src/slice/mod.rs
2cab10c Update library/core/src/slice/mod.rs
2a064d3 Update library/core/src/slice/mod.rs
dada556 Update library/core/src/slice/mod.rs
025c05e Update library/core/src/slice/mod.rs
6d3cdfb `then be` -> `be` based on feedback from @ibraheemdev
f4287e5 Improve `select_nth_unstable` documentation clarity
b591a53 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
0a538a7 Add references to the IEEE functions for `float_next_up_down`
99f1cf7 Stabilize `float_next_up_down`
1c387bb Fix import of pipe in kernel_copy.rs
4d00eb4 Move `std::pipe::*` into `std::io`
b6dfa90 Clarify note in `std::sync::LazyLock` example
b49d22b fix typo in library/alloc/src/sync.rs
218c2f1 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
462fc00 Adjust syntax
c730383 Less unsafe in `dangling`/`without_provenance`
d807bf3 fix typo in typenames of pin documentation
925a7fb intrinsics: deprecate calling them via the unstable std::intrinsics path
4ddc1c3 add comments explaining main thread identification
e15fb16 std: lazily allocate the main thread handle
0db1599 Revert "Remove the Arc rt::init allocation for thread info"
504a5a6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
1eb1913 Update compiler-builtins to 0.1.143
14e27ab Rename `pos` to `position`
47afbd9 Convert `struct FromBytesWithNulError` into enum
b36aa8d Enforce syntactical stability of const traits in HIR
182c6f4 Update compiler-builtins to 0.1.141
8c47f90 Add another `Vec::splice` example
b73e41d avoid nesting the user-defined main so deeply on the stack
ae1fb54 use a single large catch_unwind in lang_start
8063647 uefi: helpers: Introduce OwnedDevicePath
f206388 path: Move is_absolute check to sys::path
aa734a2 Update the explanation for why we use box_new in vec!
31ca0fd Add #[inline] to copy_from_slice
16a5728 Add inherent versions of MaybeUninit methods for slices
1787a7a Make UniqueRc invariant for soundness
05214cf update and clarify StructuralPartialEq docs
69b2408 Use `NonNull::without_provenance` within the standard library
7c27762 Initial fs module for uefi
54481c4 Improve the safety documentation on new_unchecked
0c6fa10 Update a bunch of library types for MCP807
2cb441f alloc: remove unsound `IsZero` for raw pointers
28f350d Fix `proc_macro::quote!` for raw ident
34b4892 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
e79fc1a Rename the internal simpler `quote` macro to `minimal_quote`
da1f12f Used pthread name functions returning result for FreeBSD and DragonFly
9c04e3f Fix ptr::from_ref documentation example comment
2be6e42 Improve prose around `as_slice` example of IterMut
52649ae fmt
d0502c2 update cfg(bootstrap)
3644f8c update version placeholders
522100b Remove some unnecessary `.into()` calls
c8b09a7 add missing provenance APIs on NonNull
32b3a8e More compelling env_clear() examples
fb6c7a4 Implement Condvar::wait_timeout for targets without threads
05cdc50 Impl String::into_chars
20d67e8 Avoid naming variables `str`
cd55729 [generic_assert] Constify methods used by the formatting system
cfa8367 Add support for wasm exception handling to Emscripten target
c38c894 chore: remove redundant words in comment
a051168 Add doc aliases for `libm` and IEEE names
f7e101d Mark `slice::reverse` unstably const
e68cfa5 Clarified the documentation on core::iter::from_fn and core::iter::successors
731ba48 library: fix adler{-> 2}.debug
009a284 add regression test for unsound Flatten/FlatMap specialization
c01f08b do not in-place-iterate over flatmap/flatten
1dbcec0 Fix UWP build
e5ed1bc Bump backtrace to 0.3.75
facb82d sync to actual dep verions of backtrace
c2aaaed turn rustc_box into an intrinsic
45c213c core: use public method instead of instrinsic
ba7a26c core: improve comments
0e603b2 core: implement `bool::select_unpredictable`
6ddc9e7 Switch rtems target to panic unwind
849d50c path in detail
9d04cfb Move some things to `std::sync::poison` and reexport them in `std::sync`
97e9bc7 Bump backtrace to rust-lang/backtrace-rs@4d7906b
5003753 Try to write the panic message with a single `write_all` call
2cb7f7c fix doc for missing Box allocator consistency
c7ca565 Remove qualification of `std::cmp::Ordering` in `Ord` doc
c4b5e4d std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
4e06654 Avoid use of LFS64 symbols on Emscripten
a435935 char to_digit: avoid unnecessary casts to u64
d8f8ea5 Remove allowing static_mut_refs lint
f2bd989 Tidy up bigint mul methods
732dc9d fix doc for read write unaligned in zst operation
1d8021e Avoid short writes in LineWriter
0f1d079 ptr docs: make it clear that we are talking only about memory accesses
5a6594a Make slice::as_flattened_mut unstably const
dababe0 rename typed_swap → typed_swap_nonoverlapping
1d7be40 stabilize const_swap
e9cfb13 fix: typos
86a5d5f Fix sentence fragment in `pin` module docs
0054b28 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
d6613c7 Fix compilation issues on other unixes
d940144 Eliminate redundant statx syscalls
e359198 Unify fs::copy and io::copy
98a8137 Update `compiler-builtins` to 0.1.140
69df4e8 Update library/alloc/tests/sort/tests.rs
e91fdc5 Fix typos
616d0d9 Override `carrying_mul_add` in cg_llvm
4f0875e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
4c803fe Fix mistake in windows file open
43f20cf Windows: Use WriteFile to write to a UTF-8 console
9ee57d9 ptr::copy: fix docs for the overlapping case
8079cf6 Fix renaming symlinks on Windows
179e22b docs: inline `core::ffi::c_str` types to `core::ffi`
a27e0cd docs: inline `std::ffi::c_str` types to `std::ffi`
08fde92 unwinding: bump version to fix asm
7123c7e docs: update code example for Iterator#rposition
bee8a5f Use scoped threads in `std::sync::Barrier` examples
86db67b Fix forgetting to save statx availability on success
bc38172 Specify only that duplicates are discarded, not the order.
d8be127 Document collection `From` and `FromIterator` impls that drop duplicate keys.
5ed6e61 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
b0ab35d Impl FromIterator for tuples with arity 1-12
eea5eac Fix formatting
cf5f34b stabilize const_alloc_layout
af43691 chore: fix typos
a22e44e Windows: Use FILE_ALLOCATION_INFO for truncation
a18c720 Bump `stdarch`
98b7001 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
53bb1ca Fixes safety docs for `dyn Any + Send {+ Sync}`
3c39140 Use `#[derive(Default)]` instead of manually implementing it
26b5dd6 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
9ec67b4 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
3fcf1ec docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
ea7b573 docs: Permissions.readonly() also ignores root user special permissions
8447163 cargo update
8b65ee0 Delete `Rvalue::Len`
e972421 Asserts the maximum value that can be returned from `Vec::len`
da19cea Document `PointerLike` implementation restrictions.
cb00746 Use `&raw` for `ptr` primitive docs
6ff517a Add `is_ascii` function optimized for x86-64 for [u8]
f1092ac Add new implementation benchmark
a76727d Document CTFE behavior of methods that call is_null
475fdca Correctly document is_null CTFE behavior.
145cf27 Win: rename: Use offset_of! in struct size calculation
64e2105 Win: Remove special casing of the win7 target for `std::fs::rename`
7dba46a Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
e3efa66 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
0808d36 Less unwrap() in documentation
3193773 Improve prose around into_slice example of IterMut
1d1bf3d Improve prose around `as_slice` example of Iter
52bf0d4 Improve prose around basic examples of Iter and IterMut
9825a3c Abstract `ProcThreadAttributeList` into its own struct
cdbaf4d fix `PointerLike` docs
42e4509 unimplement `PointerLike` for trait objects
a80cdb4 split up `#[rustc_deny_explicit_impl]` attribute
33f849f remove reference to dangling from slice::Iter
ff51149 mri: add track_caller to thread spawning methods for better backtraces
5daf020 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
b379b6f Improve documentation of `element_offset` and related methods
01c11d0 Rename `elem_offset` to `element_offset`
535e420 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
cdd99ca build: Update libc version
8ecdb3e fix typo in ptr/mod.rs
03af162 Stabilize `#[diagnostic::do_not_recommend]`
20a5ff7 Use field init shorthand where possible
caaf6eb fix(LazyCell): documentation of get[_mut] was wrong
cb4bc55 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
ab1c951 Fix typo in uint_macros.rs
047b4d7 remove obsolete comment and pub(super) visibility
befd2db remove bounds from vec and linkedlist ExtractIf
cc85dd4 Add a range argument to vec.extract_if
a19349f Stabilize #[coverage] attribute
4d11fbd Remove `rustc::existing_doc_keyword` lint.
a6ae402 Move `doc(keyword = "while")`.
73eda87 rustdoc-search: let From and Into be unboxed
99f123c Replace i32 by char in `split_at` & `_unchecked`
cbd2cdc Add clarity to the "greater" of `VecDeque::insert`
ea212e6 Replace i32 by char to add clarity
b79261f Add value accessor methods to `Mutex` and `RwLock`
142a4f5 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
58d21d0 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
426e9e2 UniqueRc: PinCoerceUnsized and DerefPure
157d290 UniqueRc: comparisons and Hash
35161cd UniqueRc: Add more trait impls.
f3a415a Remove support for specializing ToString outside the standard library
5c0640b Correct spelling of CURRENT_RUSTC_VERSION
824fc9e Add documentation for anonymous pipe module
8f4002a feat: clarify how to use `black_box()`
7da0297 Update includes in '/library/core/src/error.rs';
155314d Fix building `std` for Hermit after `c_char` change
3071dcd Fix `Path::is_absolute` on Hermit
766ebee Fix typos in docs on provenance
e47288b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
dbbdaca Switch inline(always) in core/src/fmt/rt.rs to plain inline
cfb9b36 Reword prelude for AsyncFn stabilization
607a5bf Stabilize async closures
6901756 Remove consteval note from <*mut T>::align_offset docs.
f4f1b6d Stabilize the Rust 2024 prelude
073aceb Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
5888978 Move some alloc tests to the alloctests crate
c4c3fe4 control libunwind linkage mode via `crt-static` on gnullvm targets
80765d8 Change `GetManyMutError` to match T-libs-api decision
87adc36 Add references to the specific ABI documents
7758f56 Remove l4re from the unsigned char operating system list
919b5d9 De-duplicate and improve definition of core::ffi::c_char
3fe609e Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
e25615f stabilize const_nonnull_new
3472292 Remove rustc_const_stable attribute on const NOOP
80e715c Add libc funcitons only for wasm32-wasip1-threads.
5c9452d Fix compilation for wasm32-wasip1 (without threads).
3ce9564 Use UNIX thread_local implementation for WASI.
8618d43 Run TLS destructors for wasm32-wasip1-threads
dfb6fb4 Downgrade cc
ca92b83 Run `cargo update` and update licenses
8a7543c chore: Improve doc comments
f442874 Refactor ReadDir into a state machine
27739f3 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
5e735d7 docs: better examples for `std::ops::ControlFlow`
05ff8c1 Expand home_dir docs
b6e448d Add doc alias 'then_with' for `then` method on `bool`
584596c Adds new intrinsic declaration
bb95ba9 Define acronym for thread local storage
dae6f9e Add a `collect_into` tuple test case
f9ace2a Don't impl Extend for 13-tuples
0b00fdd Simplify documentation for Extend impl for tuples
ebd7d2b Add Extend impls for tuples of arity 1 through 12
7e1238c Unbreak tidy
20e3560 Stabilize `std::io::ErrorKind::QuotaExceeded`
0bac943 Stabilize `std::io::ErrorKind::CrossesDevices`
683ad91 Access members of `FormattingOptions` directly instead of via getters/setters
6d8df84 Removed constness for methods receiving a `&mut` parameter
819e450 Added better reason for exposing `flags` and `get_flags` as unstable
e1a502d Formatted
873ad66 Refactored FormattingOptions to use a bitmask for storing flags
13db298 Revert "Turned public+unstable+hidden functions into private functions"
27d34aa Turned public+unstable+hidden functions into private functions
80ea195 Made all fns const
a6a4f83 impl Default for fmt::FormattingOptions
44cea60 Fixed copy+paste error in comment
30e5eee fmt::FormattingOptions: Renamed `alignment` to `align`
d0cca68 Formatter::with_options: Use different lifetimes
289b231 Fixed another broken test
2b5c298 Added struct `fmt::FormattingOptions`
33dd431 Formatter: Access members via getter methods wherever possible
7b464d8 Stabilize noop_waker
eb9fc6e Improve documentation
b3ffb66 Reformat Python code with `ruff`
58d7cd8 Improve comments for the default backtrace printer
67f16eb clarify simd_relaxed_fma non-determinism
0d472d4 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
3630b43 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
98e61c6 Allow fn pointers comparisons lint in library
7ee025c Update `NonZero` and `NonNull` to not field-project (per MCP807)
461f40d Add `core::arch::breakpoint` and test
efa605a a release operation synchronizes with an acquire operation
bb56178 Update the definition of `borrowing_sub`
a8caa68 stabilize const_{size,align}_of_val
221244e ./x miri: fix sysroot build
55ded68 stabilize const_collections_with_hasher and build_hasher_default_const_new
36c307d Match simd_relaxed_fma documentation to fmuladd intrinsic
d1cbcd0 Add simd_relaxed_fma intrinsic
5d917a8 Fix `f16::midpoint` const feature gate
dbe3b57 Use c"lit" for CStrings without unwrap
928a775 Stabilize `const_maybe_uninit_write`
acd2e26 Fix docs for '<[T]>::as_array';
a8898ad Stabilize `ptr::fn_addr_eq`
dfe0c2e rustc_allow_const_fn_unstable is not used in proc_macro
e801e03 get rid of a bunch of unnecessary rustc_const_unstable
dd8722a remove a whole bunch of unnecessary const feature gates
0f58f70 add isatty alias for is_terminal
abc21a7 Stabilize unsigned `num_midpoint` feature
c64db2b Mark `slice::copy_from_slice` unstably const
e2ed6ee Fix chaining `carrying_add`s
656cb6e add test for bytewise ptr::swap of a pointer
120b335 move swap_nonoverlapping constness to separate feature gate
c32d82a move slice::swap_unchecked constness to slice_swap_unchecked feature gate
be4c08d Add diagnostic item for `std::ops::ControlFlow`
09f8dc5 update link to "C++ Exceptions under the hood" blog
0b53fc8 fix: fix codeblocks in `PathBuf` example
a99d78c fix: hurd build, stat64.st_fsid was renamed to st_dev
17a224d std: clarify comments about initialization
39ce2ba std: refactor `pthread`-based synchronization
c32cc5b bump hashbrown version
0d758e0 Fill in a `BTreeSet::entry` example
4ca19c4 Add a tracking issue for `btree_set_entry`
36efc45 Add `BTreeSet` entry APIs to match `HashSet`
475a0cb Implement code review
ede2d03 thread::available_parallelism for wasm32-wasip1-threads
e78aa92 changes old intrinsic declaration to new declaration
6a77c2d Fix and undeprecate home_dir()
751705a refine mir debuginfo docs
479e180 Doc comment custom MIR debuginfo.
ed615f7 Stabilize `extended_varargs_abi_support`
d2adfb6 update cfgs
2c071b1 replace placeholder version
68a9dca Also use zero when referencing to capacity or length
b390e86 Use consistent wording in docs, use zero instead of 0
d202eb3 Fix typos in pin.rs
03cbc54 Share inline(never) generics across crates
ccc3087 fmt
ecf9ae0 aix: create shim for lgammaf_r
8fcc8f8 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
2b73f59 Remove one stray space.
c45c46c Update chown help with a link and adding cap warning
1fc9872 Expand std::os::unix::fs::chown() doc with a warning
4d03b83 Add missing code examples on `LocalKey`
f1a65f4 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
fe6c185 Remove unnecessary `#![allow(unused_features)]`
64a00d4 Sort and separate lint/feature attributes in `profiler_builtins`
42e85b5 std: update internal uses of `io::const_error!`
9075268 std: expose `const_io_error!` as `const_error!`
826cfc7 Constify Drop and Destruct
3627e0f miri: disable test_downgrade_observe test on macOS
a256e7b Shorten the `MaybeUninit` `Debug` implementation
5a98f1f Support ranges in `<[T]>::get_many_mut()`
064ab17 btree: add `{Entry,VacantEntry}::insert_entry`
fa26d98 std::thread: avoid leading whitespace in some panic messages
125fbfb Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 09e7494
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 5, 2025
0334198 [create-pull-request] automated change
c4a46b7 Add real safety comments
a905002 Go back to `Some` instead of transmuting to it.
a51ccf8 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
d8f13b3 Simplify `slice::Iter::next` enough that it inlines
74bf98c stabilize `inherent_str_constructors`
85a2e19 Synchronize platform adaptors for OsString/OsStr
6b234f7 Simplify control flow with while-let
c62d2c0 Improve WTF-8 comments
d1a2b1c Remove ignored `#[must_use]` attributes from portable-simd
ba39cf0 Use more explicit and reliable ptr select in sort impls
3c8c8e2 Impl TryFrom<Vec<u8>> for String
d59a876 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
44d3e34 Stabilize file_lock
515fc2e Update library/std/src/fs.rs
1f4899b Update fs.rs
ae41b93 Improve instant docs
2680b68 Stabilize const_slice_flatten
d2521bc Fix typo in hidden internal docs of `TrustedRandomAccess`
505a1db Stabilize (and const-stabilize) `integer_sign_cast`
85e402c fix docs for inherent str constructors
fc4fd3b Reorder "This lock may be advisory or mandatory." earlier in the lock docs
1bb295a Clarify that locking on Windows also works for files opened with `.read(true)`
ac1b8ea Document that locking a file fails on Windows if the file is opened only for append
6782190 Reword file lock documentation to clarify advisory vs mandatory
893839a add last std diagnostic items for clippy
9fe471c Remove std::os::wasi::fs::FileExt::tell
ebdad11 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
09fc057 Make ub_check message clear that it's not an assert
973aa1e Use tell for <File as Seek>::stream_position
3312816 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
180a41f invalid_from_utf8[_unchecked]: also lint inherent methods
5fd54a6 Fix &&str and trailing commas in io::const_error!
3a69d9c Use io::const_error! when possible over io::Error::new
ef2c13a Add an example for std::error::Error
e0d3c4e proc_macro: Apply unsafe_op_in_unsafe_fn
02a2662 std: Apply unsafe_op_in_unsafe_fn
0ae5831 Fix safety of windows uwp functions
4739c23 unwind: Apply unsafe_op_in_unsafe_fn
c0d436e panic_unwind: Apply unsafe_op_in_unsafe_fn
b46e363 panic_abort: Apply unsafe_op_in_unsafe_fn
10933a3 core: Apply unsafe_op_in_unsafe_fn
2939cb3 docs: fix broken intra-doc links that never worked
2a61446 Forward all default methods for I/O impls
54955f9 Windows: Update generated bindings to 0.59
9039d78 Add safe new to NotAllOnes
b29c98f Implement Extend<AsciiChar> for String
68de3ba re-export `core::iter::FromCoroutine`
12e28b3 Implement `f{16,32,64,128}::{erf,erfc}`
154d4e6 std: Apply deprecated_safe_2024
44a1662 test: Apply deprecated_safe_2024
1572f28 std: Apply fixes for tail drop expressions
8169ff1 std: Apply rust_2024_incompatible_pat
64bb216 std: Apply dependency_on_unit_never_type_fallback
33c0a74 std: Apply missing_unsafe_on_extern
87380e9 std: Apply unsafe_attr_outside_unsafe
e4d84b8 alloc: Apply missing_unsafe_on_extern
2ce50f9 alloc: Apply unsafe_attr_outside_unsafe
805dd83 alloc: Workaround hidden doctest line
b0d8caa Migrate coretests to Rust 2024
2431e2b library: Update rand to 0.9.0
6a90680 core: Apply unsafe_attr_outside_unsafe
7186606 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
4911082 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
610f633 Use `slice::fill` in `io::Repeat` implementation
3f78ea3 Remove the common prelude module
d42780a Correct comment for FreeBSD and DragonFly BSD in unix/thread
d7d767f `transmute` should also assume non-null pointers
e5ba4a0 Update backtrace
f0dc10d expect EINVAL for pthread_mutex_destroy for aix
6cf7293 add `IntoBounds` trait
01ca582 Stabilize `get_many_mut` as `get_disjoint_mut`
36eb710 Fix import in bench for wasm
af9e9df Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
8d2b081 Add diagnostic item for `std::io::BufRead`
d9107ce Implement `read*_exact` for `std:io::repeat`
48258c1 std: replace the `FromInner` implementation for addresses with private conversion functions
621b3b4 Stabilize target_feature_11
16b66e1 Change swap_nonoverlapping from lang to library UB
9081fba `f128` is quadruple-precision
6aeb0c8 `f16` is half-precision
ae732e0 library: amend revert of extended_varargs_abi_support for beta diff
6efd6e6 Revert "Stabilize `extended_varargs_abi_support`"
52294cb Change the issue number for `likely_unlikely` and `cold_path`
9097bfd Update docs for impl keyword
fb2d05f include note on variance and example
8102b0d Improve examples for file locking
6273b89 library: doc: core::alloc::Allocator: trivial typo fix
0dc4755 stabilize `NonZero::count_ones`
b8e59c1 Fix long lines which rustfmt fails to format
271fc3e Reword doc comment on `CoercePointeeValidated`
8d66926 block coerce_pointee_validated for stabilization
fe3e5e2 rename the trait to validity and place a feature gate afront
9d60701 introduce CoercePointeeWellformed for coherence checks at typeck stage
eeb5631 Update `compiler-builtins` to 0.1.146
63cbbdd Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c50586e ignore win_delete_self test in Miri
baf20ec Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
a916129 Mark extern blocks as unsafe
b025a62 Rename field in OnceWith from gen to make
999db80 Mark link_section attr with unsafe
0ab999e Use Option for FindNextFileHandle
dcbec53 fix(libtest): Enable Instant on Emscripten targets
10999e7 Simplify Rc::as_ptr docs + typo fix
e3dfa56 Stabilize `vec_pop_if`
3bf09fd Rustfmt
1bd8b97 occured -> occurred
10c452c Allow Rust to use a number of libc filesystem calls
02ee164 Windows: Test that deleting a running binary fails
49d1b4d Update platform information for remove_file
22588a8 Windows: remove readonly files
7c034e8 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
eda1ad0 Document `Sum::sum` returns additive identities for `[]`
9ff885a Clean up 'HashMap' and 'HashSet' docs;
9b73ae6 Optimize `Rc::<str>::default()` implementation
306b196 std: get rid of `sys_common::io`
fb701b3 std: move `io` module out of `pal`
7857718 Move two windows process tests to tests/ui
e9999ba tests(std/net): remove outdated `base_port` calculation
645d856 sys: net: Add UEFI stubs
e19fd76 Remove some unnecessary parens in `assert!` conditions
f712b4e remove use of `feature(trait_upcasting)` from core tests
5b4acbc Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
2a04d4d Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
1400a93 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
35daf4e Fix unreachable_pub lint for hermit target
229331e Fix link in from_fn.rs
66bb0cc Use `widening_mul`
a9a4ca5 Add OneSidedRangeBound to eliminate panic in `split_point_of`
af48aaa Rename slice::take methods to split_off
8bdc6b9 Update `compiler-builtins` to 0.1.145
ad772c3 specify a prim@slice in docs
e73fe3b implement inherent str constructors
acd3689 std: move network code into `sys`
8c257f0 uefi: process: Add support for command environment variables
6845b6f Mark `std::fmt::from_fn` as `#[must_use]`
90ce3c7 Rename rustc_contract to contract
d828e34 Improve contracts intrisics and remove wrapper function
def00c0 Separate contract feature gates for the internal machinery
11c72a0 Desugars contract into the internal AST extensions
7ff89a0 Express contracts as part of function header and lower it to the contract lang items
cbb29d7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
da2e7fc Contracts core intrinsics.
aba5a65 More PR feedback
3f63c83 PR feedback
f528277 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
df32034 Add note about `FnPtr` being exposed as public bound
d6a6379 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
4c07059 For NonZero impl macros, give unsigned impls access to the corresponding signed type
cce76ab std::fs: further simplify dirent64 handling
b395565 add UnsafeCell direct access APIs
dc50a50 primitive type migration from mod.rs to primitives.rs
c2a7b8a implement unstable `new_range` feature
988ce24 std::range
6f4d7d1 Remove stabilized feature gate
41b4f2e Move env modifying tests to a separate integration test
ce71b18 Fix for SGX
ca9311a Fix benchmarking of libstd
8b0de2b Move std::sync unit tests to integration tests
e81009b Move std::thread_local unit tests to integration tests
02bb199 Move std::time unit tests to integration tests
af9739c Move std::path unit tests to integration tests
0e4b8a4 Move std::panic unit tests to integration tests
ff7c358 Move std::num unit tests to integration tests
b4483f2 Move std float unit tests to integration tests
5a93f72 Move std::error unit tests to integration tests
9c178fb Move std::env unit tests to integration tests
476872d no unsafe pointer and no overflowing_literals in fmt::Display of integers
2f49d8e black_box integer-input on fmt benches
d4ea809 OnceCell & OnceLock docs: Using (un)initialized consistently
2ddcc67 Docs for f16 and f128: correct a typo and add details
1893027 rustc_allowed_through_unstable_modules: require deprecation message
619be3a Update encode_utf16 to mention it is native endian
125834d remove Rustc{En,De}codable from library and compiler
ade6039 make rustc_encodable_decodable feature properly unstable
1b6520a Fix sentence in process::abort
83d1e84 document ptr comparison being by address
908de7a stabilize `once_wait`
0b7197e implement all min/max fns in terms of `<`/`is_lt`
e0cd93d improve doc tests for (min/max/minmax).* functions
02ed173 docs: Documented Send and Sync requirements for Mutex + MutexGuard
7170b0d Add documentation for derive(CoercePointee)
1e3f675 Fix off-by-one error causing driftsort to crash
6458b1b Insert null checks for pointer dereferences when debug assertions are enabled
e3238d1 atomic: extend compare_and_swap migration docs
a271348 float::min/max: mention the non-determinism around signed 0
dad81fe Stabilize `const_black_box`
474a7ff Improve documentation for file locking
6e313fd Remove minor future footgun in `impl Debug for MaybeUninit`
ab22580 Add `AsyncFn*` to core prelude
f03a0c7 uefi: Implement path
d11eed8 Implement `int_from_ascii` (rust-lang#134821)
577c9a4 Cleanup docs for Allocator
27bd1ec btree/node.rs: pop_internal_level: does not invalidate other handles
aa145bb btree/node.rs: remove incorrect comment from pop_internal_level docs
51faf7f add inline attribute and codegen test
80b571d split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
fda3bb7 optimize slice::ptr_rotate for compile-time-constant small rotates
3d0802f Test pipes also when not running on Windows and Linux simultaneously
be05ab8 uefi: process: Fix args
ae94901 [cfg_match] Document the use of expressions
84b4bf1 Update comments and sort target_arch in c_char_definition
7abc1e6 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
5c30cc6 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
708d2b0 Document powf and powi calls that always return 1.0
6096310 Document purpose of closure in from_fn.rs more clearly
a41e6f0 add missing allocator safety in alloc crate
f48f334 alloc: add `#![warn(unreachable_pub)]`
626eb75 Implement `AtomicT::update` & `AtomicT::try_update`
63f231b fix doc for std::sync::mpmc
0c11132 Implement phantom variance markers
e213867 Clarify WindowsMut (Lending)Iterator
11bb121 compiler_fence: fix example
9bd8888 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
281b1fa Move `std::io::pipe` code into its own file
48b1b91 Actually run the bstr test
1e15a31 Update comment
b8408b0 Put all coretests in a separate crate
e784a55 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
1f50db3 add nto80 x86-64 and aarch64 target
1e72726 Add support for QNX 7.1 with io-sock on x64
8855f2c Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
6118e51 Update a bunch of comments from before wasi support was added
8e1512e Remove a bunch of emscripten test ignores
894d0cd Fix testing of the standard library with Emscripten
9307f86 fix(libtest): Deprecate '--logfile'
4a20832 docs: fix typo in std::pin overview
045ee02 ports last few library files to new intrinsic style
4956e16 Improve and expand documentation of pipes
07508b0 Fix set_name in thread mod for NuttX
943b6fa Fix `FormattingOptions` instantiation with `Default`
46ead06 Update library/core/src/num/nonzero.rs
4e4c210 Add memory layout documentation to generic NonZero<T>
2b2a836 Fix whitespace
041303a document order of items in iterator from drain
17f4371 Add `File already exists` error doc to `hard_link` function
9825a63 Doc difference between extend and extend_from_slice
e4a4fa2 Make `Vec::pop_if` a bit more presentable
8096346 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
6368b40 remove pointless allowed_through_unstable_modules on TryFromSliceError
22fd023 test: add `#![warn(unreachable_pub)]`
1a92893 proc_macro: add `#![warn(unreachable_pub)]`
965927e Implement `CloneToUninit` for `ByteStr`
e4a5f24 Add doc aliases for BStr and BString
5e9533b Omit some more `From` impls to avoid inference failures
b8702ce Support `no_rc`, `no_sync`, and `no_global_oom_handling`
880038b Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
3083d6e Implement `ByteStr` and `ByteString` types
2a4d70d Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
610c8ad Library: Finalize dyn compatibility renaming
8b64658 Remove test panic from File::open
de8b8f3 fix OsString::from_encoded_bytes_unchecked description
93a1369 Add an example of using `carrying_mul_add` to write wider multiplication
b8e2b49 Outline panicking code for `LocalKey::with`
3db6fa9 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
bef9296 core: add `#![warn(unreachable_pub)]`
f3a3721 rtstartup: add `#![warn(unreachable_pub)]`
174446a panic_unwind: add `#![warn(unreachable_pub)]`
b6e2d54 Recognise new IPv6 documentation range from RFC9637
6fe5a42 1. Removed 'rustc_nounwind' 2. Rewording of comments
a58bedb Export likely(), unlikely() and cold_path() in std::hint
64d46ca Correct counting to four in cell module docs
9aba303 doc: Point to methods on `Command` as alternatives to `set/remove_var`
3e9bb2d wasi/io: remove dead files
f150009 remove unnecessary rustc_allowed_through_unstable_modules
7796573 further improve panic_immediate_abort by removing rtprintpanic messages
4091e80 cargo update
4d65ba2 Rewrap following accepting review suggestions from @ibraheemdev
38c2bdb Update library/core/src/slice/mod.rs
89fea1f Update library/core/src/slice/mod.rs
ede0509 Update library/core/src/slice/mod.rs
1a8b376 Update library/core/src/slice/mod.rs
29930e3 Update library/core/src/slice/mod.rs
9558aa5 Update library/core/src/slice/mod.rs
589c751 Update library/core/src/slice/mod.rs
6dafb43 Update library/core/src/slice/mod.rs
e34f178 Update library/core/src/slice/mod.rs
a06ea4f Update library/core/src/slice/mod.rs
1589d1a `then be` -> `be` based on feedback from @ibraheemdev
d8a7052 Improve `select_nth_unstable` documentation clarity
699b41a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
d6ad993 Add references to the IEEE functions for `float_next_up_down`
0730855 Stabilize `float_next_up_down`
e2f2ffd Fix import of pipe in kernel_copy.rs
662f914 Move `std::pipe::*` into `std::io`
aa14622 Clarify note in `std::sync::LazyLock` example
b356caf fix typo in library/alloc/src/sync.rs
6659d6c Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a403194 Adjust syntax
72ba1e1 Less unsafe in `dangling`/`without_provenance`
3f5ffef fix typo in typenames of pin documentation
8cd6d3c intrinsics: deprecate calling them via the unstable std::intrinsics path
712ac63 add comments explaining main thread identification
cf32d27 std: lazily allocate the main thread handle
d2034e0 Revert "Remove the Arc rt::init allocation for thread info"
4fc45c0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
e4e000b Update compiler-builtins to 0.1.143
2a42bf2 Rename `pos` to `position`
2b5663b Convert `struct FromBytesWithNulError` into enum
5e82a37 Enforce syntactical stability of const traits in HIR
4df5fef Update compiler-builtins to 0.1.141
d43dffa Add another `Vec::splice` example
ccbebe5 avoid nesting the user-defined main so deeply on the stack
ed4260b use a single large catch_unwind in lang_start
2aa9e78 uefi: helpers: Introduce OwnedDevicePath
737cdee path: Move is_absolute check to sys::path
9a28ea3 Update the explanation for why we use box_new in vec!
6a1de78 Add #[inline] to copy_from_slice
7e1899b Add inherent versions of MaybeUninit methods for slices
04429be Make UniqueRc invariant for soundness
eb159d4 update and clarify StructuralPartialEq docs
6975806 Use `NonNull::without_provenance` within the standard library
d2b3ec8 Initial fs module for uefi
44c499a Improve the safety documentation on new_unchecked
427cffe Update a bunch of library types for MCP807
a42dfa6 alloc: remove unsound `IsZero` for raw pointers
0083db4 Fix `proc_macro::quote!` for raw ident
64fe7f5 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
ddd9872 Rename the internal simpler `quote` macro to `minimal_quote`
4ee26f6 Used pthread name functions returning result for FreeBSD and DragonFly
d45f7ab Fix ptr::from_ref documentation example comment
03b31aa Improve prose around `as_slice` example of IterMut
5275a29 fmt
e9f22b4 update cfg(bootstrap)
6a6073d update version placeholders
110b7ff Remove some unnecessary `.into()` calls
be9a7b5 add missing provenance APIs on NonNull
8b19c55 More compelling env_clear() examples
5bee13d Implement Condvar::wait_timeout for targets without threads
d992c60 Impl String::into_chars
c4df4d5 Avoid naming variables `str`
8581711 [generic_assert] Constify methods used by the formatting system
360fddc Add support for wasm exception handling to Emscripten target
8a08cf8 chore: remove redundant words in comment
0b74d9c Add doc aliases for `libm` and IEEE names
3f62e9f Mark `slice::reverse` unstably const
66329ed Clarified the documentation on core::iter::from_fn and core::iter::successors
6e77244 library: fix adler{-> 2}.debug
e814cd4 add regression test for unsound Flatten/FlatMap specialization
54659a6 do not in-place-iterate over flatmap/flatten
5276cd8 Fix UWP build
92a45d6 Bump backtrace to 0.3.75
da838af sync to actual dep verions of backtrace
22ea2b8 turn rustc_box into an intrinsic
31898f1 core: use public method instead of instrinsic
f71c350 core: improve comments
4645459 core: implement `bool::select_unpredictable`
427242c Switch rtems target to panic unwind
deaeb04 path in detail
1817472 Move some things to `std::sync::poison` and reexport them in `std::sync`
4e9b4ff Bump backtrace to rust-lang/backtrace-rs@4d7906b
bb3dbf8 Try to write the panic message with a single `write_all` call
d8fe6cf fix doc for missing Box allocator consistency
cf57ff2 Remove qualification of `std::cmp::Ordering` in `Ord` doc
dd04978 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
72611f0 Avoid use of LFS64 symbols on Emscripten
822e589 char to_digit: avoid unnecessary casts to u64
faa730b Remove allowing static_mut_refs lint
16e89ec Tidy up bigint mul methods
0347158 fix doc for read write unaligned in zst operation
934f36a Avoid short writes in LineWriter
600b9b5 ptr docs: make it clear that we are talking only about memory accesses
bb8efbe Make slice::as_flattened_mut unstably const
c81a940 rename typed_swap → typed_swap_nonoverlapping
e4960f7 stabilize const_swap
6c09e8d fix: typos
ef43531 Fix sentence fragment in `pin` module docs
122ca20 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
220dc01 Fix compilation issues on other unixes
67d674b Eliminate redundant statx syscalls
bfc18a0 Unify fs::copy and io::copy
8452c6c Update `compiler-builtins` to 0.1.140
2651185 Update library/alloc/tests/sort/tests.rs
d77e074 Fix typos
70ce918 Override `carrying_mul_add` in cg_llvm
583edd7 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
b0a22d5 Fix mistake in windows file open
32ba12d Windows: Use WriteFile to write to a UTF-8 console
c09458a ptr::copy: fix docs for the overlapping case
1ea0561 Fix renaming symlinks on Windows
561b712 docs: inline `core::ffi::c_str` types to `core::ffi`
3da2079 docs: inline `std::ffi::c_str` types to `std::ffi`
9578530 unwinding: bump version to fix asm
0055b76 docs: update code example for Iterator#rposition
ac41351 Use scoped threads in `std::sync::Barrier` examples
a89d115 Fix forgetting to save statx availability on success
0d617e9 Specify only that duplicates are discarded, not the order.
a15a42b Document collection `From` and `FromIterator` impls that drop duplicate keys.
01c3172 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
31d7e6c Impl FromIterator for tuples with arity 1-12
ce8b43b Fix formatting
381e30d stabilize const_alloc_layout
ee2d176 chore: fix typos
2eb94b8 Windows: Use FILE_ALLOCATION_INFO for truncation
e53b69b Bump `stdarch`
d184d60 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c248458 Fixes safety docs for `dyn Any + Send {+ Sync}`
a479ffb Use `#[derive(Default)]` instead of manually implementing it
884964f Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
ad5ef5c Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
654f7f9 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
3a184c5 docs: Permissions.readonly() also ignores root user special permissions
174b696 cargo update
ce02100 Delete `Rvalue::Len`
3104875 Asserts the maximum value that can be returned from `Vec::len`
0457d01 Document `PointerLike` implementation restrictions.
2c39220 Use `&raw` for `ptr` primitive docs
3869fb0 Add `is_ascii` function optimized for x86-64 for [u8]
fde724b Add new implementation benchmark
d7678ce Document CTFE behavior of methods that call is_null
c0a996e Correctly document is_null CTFE behavior.
80dc926 Win: rename: Use offset_of! in struct size calculation
62ef2ce Win: Remove special casing of the win7 target for `std::fs::rename`
d9622db Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
16eeebc Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
7b147a5 Less unwrap() in documentation
7625083 Improve prose around into_slice example of IterMut
5a16503 Improve prose around `as_slice` example of Iter
6366971 Improve prose around basic examples of Iter and IterMut
869f833 Abstract `ProcThreadAttributeList` into its own struct
dda76a4 fix `PointerLike` docs
3d0d97a unimplement `PointerLike` for trait objects
408b5c1 split up `#[rustc_deny_explicit_impl]` attribute
b3759dd remove reference to dangling from slice::Iter
fc43853 mri: add track_caller to thread spawning methods for better backtraces
4cb8546 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
7aef526 Improve documentation of `element_offset` and related methods
9449efc Rename `elem_offset` to `element_offset`
b439efe docs: Mention `spare_capacity_mut()` in `Vec::set_len`
2ec5f96 build: Update libc version
faf10e6 fix typo in ptr/mod.rs
23302ae Stabilize `#[diagnostic::do_not_recommend]`
18f6150 Use field init shorthand where possible
b5b5259 fix(LazyCell): documentation of get[_mut] was wrong
b043a5e 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
33de924 Fix typo in uint_macros.rs
fe64e63 remove obsolete comment and pub(super) visibility
33d598a remove bounds from vec and linkedlist ExtractIf
1dc8b27 Add a range argument to vec.extract_if
ee3fcd3 Stabilize #[coverage] attribute
ca66f82 Remove `rustc::existing_doc_keyword` lint.
aa5222f Move `doc(keyword = "while")`.
35b97ab rustdoc-search: let From and Into be unboxed
a56c9fd Replace i32 by char in `split_at` & `_unchecked`
1d65fe2 Add clarity to the "greater" of `VecDeque::insert`
a9641d5 Replace i32 by char to add clarity
d154b65 Add value accessor methods to `Mutex` and `RwLock`
8036e7e std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
1ea5d0b UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
76f0c6b UniqueRc: PinCoerceUnsized and DerefPure
347e854 UniqueRc: comparisons and Hash
6f52639 UniqueRc: Add more trait impls.
0602841 Remove support for specializing ToString outside the standard library
17a541f Correct spelling of CURRENT_RUSTC_VERSION
cb86a19 Add documentation for anonymous pipe module
f61f867 feat: clarify how to use `black_box()`
e609172 Update includes in '/library/core/src/error.rs';
c3281ac Fix building `std` for Hermit after `c_char` change
6c812c4 Fix `Path::is_absolute` on Hermit
00fce71 Fix typos in docs on provenance
8898e55 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
df9a2d0 Switch inline(always) in core/src/fmt/rt.rs to plain inline
3e313b3 Reword prelude for AsyncFn stabilization
c48d588 Stabilize async closures
9c63489 Remove consteval note from <*mut T>::align_offset docs.
c95bf4b Stabilize the Rust 2024 prelude
e586136 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
254fbd9 Move some alloc tests to the alloctests crate
b246283 control libunwind linkage mode via `crt-static` on gnullvm targets
6e23dd0 Change `GetManyMutError` to match T-libs-api decision
6967737 Add references to the specific ABI documents
da396b6 Remove l4re from the unsigned char operating system list
3516142 De-duplicate and improve definition of core::ffi::c_char
77f027b Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
04ca2c5 stabilize const_nonnull_new
20f2ae7 Remove rustc_const_stable attribute on const NOOP
66a34a4 Add libc funcitons only for wasm32-wasip1-threads.
cc9a676 Fix compilation for wasm32-wasip1 (without threads).
42ecd7f Use UNIX thread_local implementation for WASI.
89ac9c1 Run TLS destructors for wasm32-wasip1-threads
7735491 Downgrade cc
f71f3e2 Run `cargo update` and update licenses
92611cb chore: Improve doc comments
a7f9863 Refactor ReadDir into a state machine
f625247 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
f2615af docs: better examples for `std::ops::ControlFlow`
bf8542e Expand home_dir docs
5f4f3d4 Add doc alias 'then_with' for `then` method on `bool`
24c92b5 Adds new intrinsic declaration
baaf1ab Define acronym for thread local storage
fa4e16f Add a `collect_into` tuple test case
78cd764 Don't impl Extend for 13-tuples
e2d61b4 Simplify documentation for Extend impl for tuples
3bcfa60 Add Extend impls for tuples of arity 1 through 12
b3f1b7c Unbreak tidy
a0720d7 Stabilize `std::io::ErrorKind::QuotaExceeded`
c00ebf9 Stabilize `std::io::ErrorKind::CrossesDevices`
542dc61 Access members of `FormattingOptions` directly instead of via getters/setters
bdc7ce3 Removed constness for methods receiving a `&mut` parameter
bb5fe86 Added better reason for exposing `flags` and `get_flags` as unstable
c40ecf6 Formatted
58dfe87 Refactored FormattingOptions to use a bitmask for storing flags
d1374fc Revert "Turned public+unstable+hidden functions into private functions"
7ed5235 Turned public+unstable+hidden functions into private functions
d4cc0b0 Made all fns const
4aeb901 impl Default for fmt::FormattingOptions
5662b9b Fixed copy+paste error in comment
c1ece7b fmt::FormattingOptions: Renamed `alignment` to `align`
496682a Formatter::with_options: Use different lifetimes
2bbdfd5 Fixed another broken test
dbf82c2 Added struct `fmt::FormattingOptions`
5906c67 Formatter: Access members via getter methods wherever possible
19c123a Stabilize noop_waker
0c736ca Improve documentation
a46ab4b Reformat Python code with `ruff`
4f77dc7 Improve comments for the default backtrace printer
7713538 clarify simd_relaxed_fma non-determinism
68e9c96 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
5e1ce66 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
8541cbc Allow fn pointers comparisons lint in library
964bcf5 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ea04ee Add `core::arch::breakpoint` and test
06d9c44 a release operation synchronizes with an acquire operation
cf23bf8 Update the definition of `borrowing_sub`
1414e5d stabilize const_{size,align}_of_val
cd39426 ./x miri: fix sysroot build
33c7095 stabilize const_collections_with_hasher and build_hasher_default_const_new
c418d70 Match simd_relaxed_fma documentation to fmuladd intrinsic
500962a Add simd_relaxed_fma intrinsic
5524a9e Fix `f16::midpoint` const feature gate
589e9a1 Use c"lit" for CStrings without unwrap
2390af1 Stabilize `const_maybe_uninit_write`
73203b1 Fix docs for '<[T]>::as_array';
982c99a Stabilize `ptr::fn_addr_eq`
a2ce979 rustc_allow_const_fn_unstable is not used in proc_macro
e6fbe09 get rid of a bunch of unnecessary rustc_const_unstable
14f6f52 remove a whole bunch of unnecessary const feature gates
fef761b add isatty alias for is_terminal
9f490cf Stabilize unsigned `num_midpoint` feature
54e1b24 Mark `slice::copy_from_slice` unstably const
23f231a Fix chaining `carrying_add`s
64181fa add test for bytewise ptr::swap of a pointer
17d2db8 move swap_nonoverlapping constness to separate feature gate
3d22fb7 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
1de9191 Add diagnostic item for `std::ops::ControlFlow`
22e3b30 update link to "C++ Exceptions under the hood" blog
ccb4b0d fix: fix codeblocks in `PathBuf` example
075408b fix: hurd build, stat64.st_fsid was renamed to st_dev
7999b8c std: clarify comments about initialization
95e1897 std: refactor `pthread`-based synchronization
05b23ce bump hashbrown version
c021db5 Fill in a `BTreeSet::entry` example
5ba075b Add a tracking issue for `btree_set_entry`
a148417 Add `BTreeSet` entry APIs to match `HashSet`
8fcfc14 Implement code review
b838b48 thread::available_parallelism for wasm32-wasip1-threads
6df12c7 changes old intrinsic declaration to new declaration
436d1e2 Fix and undeprecate home_dir()
5f6fffc refine mir debuginfo docs
ee01a0a Doc comment custom MIR debuginfo.
dd8a786 Stabilize `extended_varargs_abi_support`
72e52a3 update cfgs
2757573 replace placeholder version
2213705 Also use zero when referencing to capacity or length
6aee78e Use consistent wording in docs, use zero instead of 0
1f10a17 Fix typos in pin.rs
83752dd Share inline(never) generics across crates
8aa0548 fmt
cc27be7 aix: create shim for lgammaf_r
dd26dcd Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
5b5b6f7 Remove one stray space.
bd42097 Update chown help with a link and adding cap warning
cc41146 Expand std::os::unix::fs::chown() doc with a warning
844be12 Add missing code examples on `LocalKey`
74ede09 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
dc5ad1f Remove unnecessary `#![allow(unused_features)]`
0e05370 Sort and separate lint/feature attributes in `profiler_builtins`
c58bd15 std: update internal uses of `io::const_error!`
549c9a0 std: expose `const_io_error!` as `const_error!`
a97dd5e Constify Drop and Destruct
09b2f0c miri: disable test_downgrade_observe test on macOS
e92cd49 Shorten the `MaybeUninit` `Debug` implementation
7c1931d Support ranges in `<[T]>::get_many_mut()`
dbec138 btree: add `{Entry,VacantEntry}::insert_entry`
5043513 std::thread: avoid leading whitespace in some panic messages
52c4398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 0334198
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 5, 2025
09e7494 [create-pull-request] automated change
e6fc75e Add real safety comments
4151361 Go back to `Some` instead of transmuting to it.
79bfa70 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
f30eab4 Simplify `slice::Iter::next` enough that it inlines
19ddf47 stabilize `inherent_str_constructors`
85b9723 Synchronize platform adaptors for OsString/OsStr
a6830fa Simplify control flow with while-let
1cdd834 Improve WTF-8 comments
5f5dd1f Remove ignored `#[must_use]` attributes from portable-simd
8bb4f5a Use more explicit and reliable ptr select in sort impls
4f9a538 Impl TryFrom<Vec<u8>> for String
2ad9ff4 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
c266d4e Stabilize file_lock
b439999 Update library/std/src/fs.rs
3788ab2 Update fs.rs
13184b8 Improve instant docs
cea0bb4 Stabilize const_slice_flatten
70a6fab Fix typo in hidden internal docs of `TrustedRandomAccess`
a604104 Stabilize (and const-stabilize) `integer_sign_cast`
6a98f43 fix docs for inherent str constructors
fe11956 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
7ccb406 Clarify that locking on Windows also works for files opened with `.read(true)`
5ed6f53 Document that locking a file fails on Windows if the file is opened only for append
24e3d48 Reword file lock documentation to clarify advisory vs mandatory
629bb55 add last std diagnostic items for clippy
fbe3ccc Remove std::os::wasi::fs::FileExt::tell
03832e8 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
55d3538 Make ub_check message clear that it's not an assert
cb0517f Use tell for <File as Seek>::stream_position
0942b17 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
5919cad invalid_from_utf8[_unchecked]: also lint inherent methods
121c31b Fix &&str and trailing commas in io::const_error!
0da6300 Use io::const_error! when possible over io::Error::new
78583a5 Add an example for std::error::Error
a390bc9 proc_macro: Apply unsafe_op_in_unsafe_fn
a02f3ae std: Apply unsafe_op_in_unsafe_fn
4277cbc Fix safety of windows uwp functions
c49e782 unwind: Apply unsafe_op_in_unsafe_fn
43f085c panic_unwind: Apply unsafe_op_in_unsafe_fn
3467cd2 panic_abort: Apply unsafe_op_in_unsafe_fn
aae1857 core: Apply unsafe_op_in_unsafe_fn
c5d40b5 docs: fix broken intra-doc links that never worked
f97ee24 Forward all default methods for I/O impls
a0a838c Windows: Update generated bindings to 0.59
d573790 Add safe new to NotAllOnes
10191c8 Implement Extend<AsciiChar> for String
dc0d656 re-export `core::iter::FromCoroutine`
9819556 Implement `f{16,32,64,128}::{erf,erfc}`
f49df2f std: Apply deprecated_safe_2024
7b7a196 test: Apply deprecated_safe_2024
52c010f std: Apply fixes for tail drop expressions
5761edb std: Apply rust_2024_incompatible_pat
5131d72 std: Apply dependency_on_unit_never_type_fallback
0053638 std: Apply missing_unsafe_on_extern
27cd019 std: Apply unsafe_attr_outside_unsafe
7ef4cd9 alloc: Apply missing_unsafe_on_extern
5cb0cba alloc: Apply unsafe_attr_outside_unsafe
3516feb alloc: Workaround hidden doctest line
7dbaa97 Migrate coretests to Rust 2024
c5e9d70 library: Update rand to 0.9.0
766eb1b core: Apply unsafe_attr_outside_unsafe
44e9912 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
225836f alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
f9713ab Use `slice::fill` in `io::Repeat` implementation
f03c9d6 Remove the common prelude module
f2e1bda Correct comment for FreeBSD and DragonFly BSD in unix/thread
3c4453f `transmute` should also assume non-null pointers
2d918c0 Update backtrace
e7b5267 expect EINVAL for pthread_mutex_destroy for aix
659ce43 add `IntoBounds` trait
4bdc6d9 Stabilize `get_many_mut` as `get_disjoint_mut`
032528c Fix import in bench for wasm
8675039 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
312117d Add diagnostic item for `std::io::BufRead`
a5dd272 Implement `read*_exact` for `std:io::repeat`
fe97e81 std: replace the `FromInner` implementation for addresses with private conversion functions
7999442 Stabilize target_feature_11
d41bc3f Change swap_nonoverlapping from lang to library UB
b2a4167 `f128` is quadruple-precision
668d5fd `f16` is half-precision
7580644 library: amend revert of extended_varargs_abi_support for beta diff
7841a25 Revert "Stabilize `extended_varargs_abi_support`"
f7ca135 Change the issue number for `likely_unlikely` and `cold_path`
6bfaf31 Update docs for impl keyword
c27cbc7 include note on variance and example
1301f7f Improve examples for file locking
9c24562 library: doc: core::alloc::Allocator: trivial typo fix
0e4f7b9 stabilize `NonZero::count_ones`
7baaf4a Fix long lines which rustfmt fails to format
6752649 Reword doc comment on `CoercePointeeValidated`
8fab862 block coerce_pointee_validated for stabilization
f7f636d rename the trait to validity and place a feature gate afront
7fbc487 introduce CoercePointeeWellformed for coherence checks at typeck stage
c390311 Update `compiler-builtins` to 0.1.146
f2cd3ee Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
0b67f74 ignore win_delete_self test in Miri
b3e16ee Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
405f927 Mark extern blocks as unsafe
fc8f7e1 Rename field in OnceWith from gen to make
9c7b689 Mark link_section attr with unsafe
ba6a250 Use Option for FindNextFileHandle
10bea05 fix(libtest): Enable Instant on Emscripten targets
1c30eb8 Simplify Rc::as_ptr docs + typo fix
a72f409 Stabilize `vec_pop_if`
8a040f1 Rustfmt
ea6a2c6 occured -> occurred
f0b51c6 Allow Rust to use a number of libc filesystem calls
3e79c5b Windows: Test that deleting a running binary fails
7ba83f1 Update platform information for remove_file
f5ff4ea Windows: remove readonly files
08f6798 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
4e83e68 Document `Sum::sum` returns additive identities for `[]`
c5bf9b8 Clean up 'HashMap' and 'HashSet' docs;
9bd43f0 Optimize `Rc::<str>::default()` implementation
69f33e9 std: get rid of `sys_common::io`
f584151 std: move `io` module out of `pal`
531a3fe Move two windows process tests to tests/ui
fda9fc2 tests(std/net): remove outdated `base_port` calculation
03d4ca2 sys: net: Add UEFI stubs
c4c617e Remove some unnecessary parens in `assert!` conditions
3e80a49 remove use of `feature(trait_upcasting)` from core tests
f6e4dc4 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
5145097 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
c1b611f tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
10058d3 Fix unreachable_pub lint for hermit target
ee692d4 Fix link in from_fn.rs
ef7d366 Use `widening_mul`
0fc7f22 Add OneSidedRangeBound to eliminate panic in `split_point_of`
d1bfa04 Rename slice::take methods to split_off
5db6bd0 Update `compiler-builtins` to 0.1.145
02baa4a specify a prim@slice in docs
5374b97 implement inherent str constructors
9f6d1a2 std: move network code into `sys`
dedf60a uefi: process: Add support for command environment variables
eb230c2 Mark `std::fmt::from_fn` as `#[must_use]`
c35a690 Rename rustc_contract to contract
5876395 Improve contracts intrisics and remove wrapper function
296509e Separate contract feature gates for the internal machinery
1f0aaa8 Desugars contract into the internal AST extensions
bd8ec3b Express contracts as part of function header and lower it to the contract lang items
ca133d5 contracts: added lang items that act as hooks for rustc-injected code to invoke.
e26f838 Contracts core intrinsics.
65491e3 More PR feedback
110ae3d PR feedback
2bbe98f Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
5c4205e Add note about `FnPtr` being exposed as public bound
f41055b Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
042b310 For NonZero impl macros, give unsigned impls access to the corresponding signed type
4e61d75 std::fs: further simplify dirent64 handling
9accd1a add UnsafeCell direct access APIs
e919b57 primitive type migration from mod.rs to primitives.rs
99cbe1e implement unstable `new_range` feature
f55b2bc std::range
52bf1e8 Remove stabilized feature gate
4f3c188 Move env modifying tests to a separate integration test
ef6d8a8 Fix for SGX
430e7c8 Fix benchmarking of libstd
14da79a Move std::sync unit tests to integration tests
43188ec Move std::thread_local unit tests to integration tests
63daa93 Move std::time unit tests to integration tests
b2dac92 Move std::path unit tests to integration tests
8279918 Move std::panic unit tests to integration tests
0a8ed17 Move std::num unit tests to integration tests
a67c9e3 Move std float unit tests to integration tests
c2248d5 Move std::error unit tests to integration tests
e471409 Move std::env unit tests to integration tests
16b11af no unsafe pointer and no overflowing_literals in fmt::Display of integers
3e090c8 black_box integer-input on fmt benches
dfb8b0f OnceCell & OnceLock docs: Using (un)initialized consistently
3f7d9b8 Docs for f16 and f128: correct a typo and add details
172cd8f rustc_allowed_through_unstable_modules: require deprecation message
f09223c Update encode_utf16 to mention it is native endian
b18f2aa remove Rustc{En,De}codable from library and compiler
8420d73 make rustc_encodable_decodable feature properly unstable
6dd6e3c Fix sentence in process::abort
ef8ef8d document ptr comparison being by address
5538ddf stabilize `once_wait`
95937d9 implement all min/max fns in terms of `<`/`is_lt`
a254e85 improve doc tests for (min/max/minmax).* functions
257b3d5 docs: Documented Send and Sync requirements for Mutex + MutexGuard
7c5a685 Add documentation for derive(CoercePointee)
0dc296a Fix off-by-one error causing driftsort to crash
09ce1fd Insert null checks for pointer dereferences when debug assertions are enabled
7b75bd8 atomic: extend compare_and_swap migration docs
fc90885 float::min/max: mention the non-determinism around signed 0
954c902 Stabilize `const_black_box`
b310b90 Improve documentation for file locking
678769b Remove minor future footgun in `impl Debug for MaybeUninit`
1fc9700 Add `AsyncFn*` to core prelude
9552c99 uefi: Implement path
d7aebbc Implement `int_from_ascii` (rust-lang#134821)
e5d8344 Cleanup docs for Allocator
f165f0e btree/node.rs: pop_internal_level: does not invalidate other handles
19eb9da btree/node.rs: remove incorrect comment from pop_internal_level docs
1b4b94a add inline attribute and codegen test
d604d6a split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
ec48250 optimize slice::ptr_rotate for compile-time-constant small rotates
7bb27c5 Test pipes also when not running on Windows and Linux simultaneously
5d4032c uefi: process: Fix args
78eddde [cfg_match] Document the use of expressions
a9725e6 Update comments and sort target_arch in c_char_definition
23b81cb [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
87af0cf Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
adf1641 Document powf and powi calls that always return 1.0
86bb627 Document purpose of closure in from_fn.rs more clearly
aec83b8 add missing allocator safety in alloc crate
b33b4d3 alloc: add `#![warn(unreachable_pub)]`
c962c50 Implement `AtomicT::update` & `AtomicT::try_update`
a3b54af fix doc for std::sync::mpmc
cb968bf Implement phantom variance markers
dfeb1ed Clarify WindowsMut (Lending)Iterator
f3944e4 compiler_fence: fix example
83cffa0 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
e81578c Move `std::io::pipe` code into its own file
8495189 Actually run the bstr test
72cea60 Update comment
cd793b5 Put all coretests in a separate crate
faf2065 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
a7f9d85 add nto80 x86-64 and aarch64 target
53054d9 Add support for QNX 7.1 with io-sock on x64
f2d04dd Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
73cc516 Update a bunch of comments from before wasi support was added
5e22240 Remove a bunch of emscripten test ignores
cc193b8 Fix testing of the standard library with Emscripten
de0169f fix(libtest): Deprecate '--logfile'
4fdbfca docs: fix typo in std::pin overview
8da1709 ports last few library files to new intrinsic style
0951e5d Improve and expand documentation of pipes
86bcc60 Fix set_name in thread mod for NuttX
88711dc Fix `FormattingOptions` instantiation with `Default`
aa4ce7f Update library/core/src/num/nonzero.rs
6e06edf Add memory layout documentation to generic NonZero<T>
f9ba479 Fix whitespace
0455b4d document order of items in iterator from drain
2f1106b Add `File already exists` error doc to `hard_link` function
fde457b Doc difference between extend and extend_from_slice
84b5253 Make `Vec::pop_if` a bit more presentable
5801ffc Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
577a769 remove pointless allowed_through_unstable_modules on TryFromSliceError
45fbf8b test: add `#![warn(unreachable_pub)]`
c736890 proc_macro: add `#![warn(unreachable_pub)]`
6cb3427 Implement `CloneToUninit` for `ByteStr`
96c6a48 Add doc aliases for BStr and BString
70d2eb7 Omit some more `From` impls to avoid inference failures
ebf031d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
81b625f Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
fe8d147 Implement `ByteStr` and `ByteString` types
c7c76bf Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
18e60f8 Library: Finalize dyn compatibility renaming
7263a38 Remove test panic from File::open
7c48231 fix OsString::from_encoded_bytes_unchecked description
da56198 Add an example of using `carrying_mul_add` to write wider multiplication
59a4e16 Outline panicking code for `LocalKey::with`
fc20220 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
2be6c83 core: add `#![warn(unreachable_pub)]`
88409e7 rtstartup: add `#![warn(unreachable_pub)]`
b1e69fd panic_unwind: add `#![warn(unreachable_pub)]`
7465aff Recognise new IPv6 documentation range from RFC9637
4bec3e7 1. Removed 'rustc_nounwind' 2. Rewording of comments
444b046 Export likely(), unlikely() and cold_path() in std::hint
ed38986 Correct counting to four in cell module docs
4fa8871 doc: Point to methods on `Command` as alternatives to `set/remove_var`
4f408a9 wasi/io: remove dead files
10512f5 remove unnecessary rustc_allowed_through_unstable_modules
2b9429d further improve panic_immediate_abort by removing rtprintpanic messages
dde94b2 cargo update
4efc06a Rewrap following accepting review suggestions from @ibraheemdev
221fabf Update library/core/src/slice/mod.rs
0f81ecf Update library/core/src/slice/mod.rs
e4bd75f Update library/core/src/slice/mod.rs
43231ef Update library/core/src/slice/mod.rs
f8df145 Update library/core/src/slice/mod.rs
2c816ed Update library/core/src/slice/mod.rs
2cab10c Update library/core/src/slice/mod.rs
2a064d3 Update library/core/src/slice/mod.rs
dada556 Update library/core/src/slice/mod.rs
025c05e Update library/core/src/slice/mod.rs
6d3cdfb `then be` -> `be` based on feedback from @ibraheemdev
f4287e5 Improve `select_nth_unstable` documentation clarity
b591a53 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
0a538a7 Add references to the IEEE functions for `float_next_up_down`
99f1cf7 Stabilize `float_next_up_down`
1c387bb Fix import of pipe in kernel_copy.rs
4d00eb4 Move `std::pipe::*` into `std::io`
b6dfa90 Clarify note in `std::sync::LazyLock` example
b49d22b fix typo in library/alloc/src/sync.rs
218c2f1 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
462fc00 Adjust syntax
c730383 Less unsafe in `dangling`/`without_provenance`
d807bf3 fix typo in typenames of pin documentation
925a7fb intrinsics: deprecate calling them via the unstable std::intrinsics path
4ddc1c3 add comments explaining main thread identification
e15fb16 std: lazily allocate the main thread handle
0db1599 Revert "Remove the Arc rt::init allocation for thread info"
504a5a6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
1eb1913 Update compiler-builtins to 0.1.143
14e27ab Rename `pos` to `position`
47afbd9 Convert `struct FromBytesWithNulError` into enum
b36aa8d Enforce syntactical stability of const traits in HIR
182c6f4 Update compiler-builtins to 0.1.141
8c47f90 Add another `Vec::splice` example
b73e41d avoid nesting the user-defined main so deeply on the stack
ae1fb54 use a single large catch_unwind in lang_start
8063647 uefi: helpers: Introduce OwnedDevicePath
f206388 path: Move is_absolute check to sys::path
aa734a2 Update the explanation for why we use box_new in vec!
31ca0fd Add #[inline] to copy_from_slice
16a5728 Add inherent versions of MaybeUninit methods for slices
1787a7a Make UniqueRc invariant for soundness
05214cf update and clarify StructuralPartialEq docs
69b2408 Use `NonNull::without_provenance` within the standard library
7c27762 Initial fs module for uefi
54481c4 Improve the safety documentation on new_unchecked
0c6fa10 Update a bunch of library types for MCP807
2cb441f alloc: remove unsound `IsZero` for raw pointers
28f350d Fix `proc_macro::quote!` for raw ident
34b4892 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
e79fc1a Rename the internal simpler `quote` macro to `minimal_quote`
da1f12f Used pthread name functions returning result for FreeBSD and DragonFly
9c04e3f Fix ptr::from_ref documentation example comment
2be6e42 Improve prose around `as_slice` example of IterMut
52649ae fmt
d0502c2 update cfg(bootstrap)
3644f8c update version placeholders
522100b Remove some unnecessary `.into()` calls
c8b09a7 add missing provenance APIs on NonNull
32b3a8e More compelling env_clear() examples
fb6c7a4 Implement Condvar::wait_timeout for targets without threads
05cdc50 Impl String::into_chars
20d67e8 Avoid naming variables `str`
cd55729 [generic_assert] Constify methods used by the formatting system
cfa8367 Add support for wasm exception handling to Emscripten target
c38c894 chore: remove redundant words in comment
a051168 Add doc aliases for `libm` and IEEE names
f7e101d Mark `slice::reverse` unstably const
e68cfa5 Clarified the documentation on core::iter::from_fn and core::iter::successors
731ba48 library: fix adler{-> 2}.debug
009a284 add regression test for unsound Flatten/FlatMap specialization
c01f08b do not in-place-iterate over flatmap/flatten
1dbcec0 Fix UWP build
e5ed1bc Bump backtrace to 0.3.75
facb82d sync to actual dep verions of backtrace
c2aaaed turn rustc_box into an intrinsic
45c213c core: use public method instead of instrinsic
ba7a26c core: improve comments
0e603b2 core: implement `bool::select_unpredictable`
6ddc9e7 Switch rtems target to panic unwind
849d50c path in detail
9d04cfb Move some things to `std::sync::poison` and reexport them in `std::sync`
97e9bc7 Bump backtrace to rust-lang/backtrace-rs@4d7906b
5003753 Try to write the panic message with a single `write_all` call
2cb7f7c fix doc for missing Box allocator consistency
c7ca565 Remove qualification of `std::cmp::Ordering` in `Ord` doc
c4b5e4d std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
4e06654 Avoid use of LFS64 symbols on Emscripten
a435935 char to_digit: avoid unnecessary casts to u64
d8f8ea5 Remove allowing static_mut_refs lint
f2bd989 Tidy up bigint mul methods
732dc9d fix doc for read write unaligned in zst operation
1d8021e Avoid short writes in LineWriter
0f1d079 ptr docs: make it clear that we are talking only about memory accesses
5a6594a Make slice::as_flattened_mut unstably const
dababe0 rename typed_swap → typed_swap_nonoverlapping
1d7be40 stabilize const_swap
e9cfb13 fix: typos
86a5d5f Fix sentence fragment in `pin` module docs
0054b28 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
d6613c7 Fix compilation issues on other unixes
d940144 Eliminate redundant statx syscalls
e359198 Unify fs::copy and io::copy
98a8137 Update `compiler-builtins` to 0.1.140
69df4e8 Update library/alloc/tests/sort/tests.rs
e91fdc5 Fix typos
616d0d9 Override `carrying_mul_add` in cg_llvm
4f0875e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
4c803fe Fix mistake in windows file open
43f20cf Windows: Use WriteFile to write to a UTF-8 console
9ee57d9 ptr::copy: fix docs for the overlapping case
8079cf6 Fix renaming symlinks on Windows
179e22b docs: inline `core::ffi::c_str` types to `core::ffi`
a27e0cd docs: inline `std::ffi::c_str` types to `std::ffi`
08fde92 unwinding: bump version to fix asm
7123c7e docs: update code example for Iterator#rposition
bee8a5f Use scoped threads in `std::sync::Barrier` examples
86db67b Fix forgetting to save statx availability on success
bc38172 Specify only that duplicates are discarded, not the order.
d8be127 Document collection `From` and `FromIterator` impls that drop duplicate keys.
5ed6e61 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
b0ab35d Impl FromIterator for tuples with arity 1-12
eea5eac Fix formatting
cf5f34b stabilize const_alloc_layout
af43691 chore: fix typos
a22e44e Windows: Use FILE_ALLOCATION_INFO for truncation
a18c720 Bump `stdarch`
98b7001 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
53bb1ca Fixes safety docs for `dyn Any + Send {+ Sync}`
3c39140 Use `#[derive(Default)]` instead of manually implementing it
26b5dd6 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
9ec67b4 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
3fcf1ec docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
ea7b573 docs: Permissions.readonly() also ignores root user special permissions
8447163 cargo update
8b65ee0 Delete `Rvalue::Len`
e972421 Asserts the maximum value that can be returned from `Vec::len`
da19cea Document `PointerLike` implementation restrictions.
cb00746 Use `&raw` for `ptr` primitive docs
6ff517a Add `is_ascii` function optimized for x86-64 for [u8]
f1092ac Add new implementation benchmark
a76727d Document CTFE behavior of methods that call is_null
475fdca Correctly document is_null CTFE behavior.
145cf27 Win: rename: Use offset_of! in struct size calculation
64e2105 Win: Remove special casing of the win7 target for `std::fs::rename`
7dba46a Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
e3efa66 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
0808d36 Less unwrap() in documentation
3193773 Improve prose around into_slice example of IterMut
1d1bf3d Improve prose around `as_slice` example of Iter
52bf0d4 Improve prose around basic examples of Iter and IterMut
9825a3c Abstract `ProcThreadAttributeList` into its own struct
cdbaf4d fix `PointerLike` docs
42e4509 unimplement `PointerLike` for trait objects
a80cdb4 split up `#[rustc_deny_explicit_impl]` attribute
33f849f remove reference to dangling from slice::Iter
ff51149 mri: add track_caller to thread spawning methods for better backtraces
5daf020 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
b379b6f Improve documentation of `element_offset` and related methods
01c11d0 Rename `elem_offset` to `element_offset`
535e420 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
cdd99ca build: Update libc version
8ecdb3e fix typo in ptr/mod.rs
03af162 Stabilize `#[diagnostic::do_not_recommend]`
20a5ff7 Use field init shorthand where possible
caaf6eb fix(LazyCell): documentation of get[_mut] was wrong
cb4bc55 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
ab1c951 Fix typo in uint_macros.rs
047b4d7 remove obsolete comment and pub(super) visibility
befd2db remove bounds from vec and linkedlist ExtractIf
cc85dd4 Add a range argument to vec.extract_if
a19349f Stabilize #[coverage] attribute
4d11fbd Remove `rustc::existing_doc_keyword` lint.
a6ae402 Move `doc(keyword = "while")`.
73eda87 rustdoc-search: let From and Into be unboxed
99f123c Replace i32 by char in `split_at` & `_unchecked`
cbd2cdc Add clarity to the "greater" of `VecDeque::insert`
ea212e6 Replace i32 by char to add clarity
b79261f Add value accessor methods to `Mutex` and `RwLock`
142a4f5 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
58d21d0 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
426e9e2 UniqueRc: PinCoerceUnsized and DerefPure
157d290 UniqueRc: comparisons and Hash
35161cd UniqueRc: Add more trait impls.
f3a415a Remove support for specializing ToString outside the standard library
5c0640b Correct spelling of CURRENT_RUSTC_VERSION
824fc9e Add documentation for anonymous pipe module
8f4002a feat: clarify how to use `black_box()`
7da0297 Update includes in '/library/core/src/error.rs';
155314d Fix building `std` for Hermit after `c_char` change
3071dcd Fix `Path::is_absolute` on Hermit
766ebee Fix typos in docs on provenance
e47288b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
dbbdaca Switch inline(always) in core/src/fmt/rt.rs to plain inline
cfb9b36 Reword prelude for AsyncFn stabilization
607a5bf Stabilize async closures
6901756 Remove consteval note from <*mut T>::align_offset docs.
f4f1b6d Stabilize the Rust 2024 prelude
073aceb Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
5888978 Move some alloc tests to the alloctests crate
c4c3fe4 control libunwind linkage mode via `crt-static` on gnullvm targets
80765d8 Change `GetManyMutError` to match T-libs-api decision
87adc36 Add references to the specific ABI documents
7758f56 Remove l4re from the unsigned char operating system list
919b5d9 De-duplicate and improve definition of core::ffi::c_char
3fe609e Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
e25615f stabilize const_nonnull_new
3472292 Remove rustc_const_stable attribute on const NOOP
80e715c Add libc funcitons only for wasm32-wasip1-threads.
5c9452d Fix compilation for wasm32-wasip1 (without threads).
3ce9564 Use UNIX thread_local implementation for WASI.
8618d43 Run TLS destructors for wasm32-wasip1-threads
dfb6fb4 Downgrade cc
ca92b83 Run `cargo update` and update licenses
8a7543c chore: Improve doc comments
f442874 Refactor ReadDir into a state machine
27739f3 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
5e735d7 docs: better examples for `std::ops::ControlFlow`
05ff8c1 Expand home_dir docs
b6e448d Add doc alias 'then_with' for `then` method on `bool`
584596c Adds new intrinsic declaration
bb95ba9 Define acronym for thread local storage
dae6f9e Add a `collect_into` tuple test case
f9ace2a Don't impl Extend for 13-tuples
0b00fdd Simplify documentation for Extend impl for tuples
ebd7d2b Add Extend impls for tuples of arity 1 through 12
7e1238c Unbreak tidy
20e3560 Stabilize `std::io::ErrorKind::QuotaExceeded`
0bac943 Stabilize `std::io::ErrorKind::CrossesDevices`
683ad91 Access members of `FormattingOptions` directly instead of via getters/setters
6d8df84 Removed constness for methods receiving a `&mut` parameter
819e450 Added better reason for exposing `flags` and `get_flags` as unstable
e1a502d Formatted
873ad66 Refactored FormattingOptions to use a bitmask for storing flags
13db298 Revert "Turned public+unstable+hidden functions into private functions"
27d34aa Turned public+unstable+hidden functions into private functions
80ea195 Made all fns const
a6a4f83 impl Default for fmt::FormattingOptions
44cea60 Fixed copy+paste error in comment
30e5eee fmt::FormattingOptions: Renamed `alignment` to `align`
d0cca68 Formatter::with_options: Use different lifetimes
289b231 Fixed another broken test
2b5c298 Added struct `fmt::FormattingOptions`
33dd431 Formatter: Access members via getter methods wherever possible
7b464d8 Stabilize noop_waker
eb9fc6e Improve documentation
b3ffb66 Reformat Python code with `ruff`
58d7cd8 Improve comments for the default backtrace printer
67f16eb clarify simd_relaxed_fma non-determinism
0d472d4 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
3630b43 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
98e61c6 Allow fn pointers comparisons lint in library
7ee025c Update `NonZero` and `NonNull` to not field-project (per MCP807)
461f40d Add `core::arch::breakpoint` and test
efa605a a release operation synchronizes with an acquire operation
bb56178 Update the definition of `borrowing_sub`
a8caa68 stabilize const_{size,align}_of_val
221244e ./x miri: fix sysroot build
55ded68 stabilize const_collections_with_hasher and build_hasher_default_const_new
36c307d Match simd_relaxed_fma documentation to fmuladd intrinsic
d1cbcd0 Add simd_relaxed_fma intrinsic
5d917a8 Fix `f16::midpoint` const feature gate
dbe3b57 Use c"lit" for CStrings without unwrap
928a775 Stabilize `const_maybe_uninit_write`
acd2e26 Fix docs for '<[T]>::as_array';
a8898ad Stabilize `ptr::fn_addr_eq`
dfe0c2e rustc_allow_const_fn_unstable is not used in proc_macro
e801e03 get rid of a bunch of unnecessary rustc_const_unstable
dd8722a remove a whole bunch of unnecessary const feature gates
0f58f70 add isatty alias for is_terminal
abc21a7 Stabilize unsigned `num_midpoint` feature
c64db2b Mark `slice::copy_from_slice` unstably const
e2ed6ee Fix chaining `carrying_add`s
656cb6e add test for bytewise ptr::swap of a pointer
120b335 move swap_nonoverlapping constness to separate feature gate
c32d82a move slice::swap_unchecked constness to slice_swap_unchecked feature gate
be4c08d Add diagnostic item for `std::ops::ControlFlow`
09f8dc5 update link to "C++ Exceptions under the hood" blog
0b53fc8 fix: fix codeblocks in `PathBuf` example
a99d78c fix: hurd build, stat64.st_fsid was renamed to st_dev
17a224d std: clarify comments about initialization
39ce2ba std: refactor `pthread`-based synchronization
c32cc5b bump hashbrown version
0d758e0 Fill in a `BTreeSet::entry` example
4ca19c4 Add a tracking issue for `btree_set_entry`
36efc45 Add `BTreeSet` entry APIs to match `HashSet`
475a0cb Implement code review
ede2d03 thread::available_parallelism for wasm32-wasip1-threads
e78aa92 changes old intrinsic declaration to new declaration
6a77c2d Fix and undeprecate home_dir()
751705a refine mir debuginfo docs
479e180 Doc comment custom MIR debuginfo.
ed615f7 Stabilize `extended_varargs_abi_support`
d2adfb6 update cfgs
2c071b1 replace placeholder version
68a9dca Also use zero when referencing to capacity or length
b390e86 Use consistent wording in docs, use zero instead of 0
d202eb3 Fix typos in pin.rs
03cbc54 Share inline(never) generics across crates
ccc3087 fmt
ecf9ae0 aix: create shim for lgammaf_r
8fcc8f8 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
2b73f59 Remove one stray space.
c45c46c Update chown help with a link and adding cap warning
1fc9872 Expand std::os::unix::fs::chown() doc with a warning
4d03b83 Add missing code examples on `LocalKey`
f1a65f4 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
fe6c185 Remove unnecessary `#![allow(unused_features)]`
64a00d4 Sort and separate lint/feature attributes in `profiler_builtins`
42e85b5 std: update internal uses of `io::const_error!`
9075268 std: expose `const_io_error!` as `const_error!`
826cfc7 Constify Drop and Destruct
3627e0f miri: disable test_downgrade_observe test on macOS
a256e7b Shorten the `MaybeUninit` `Debug` implementation
5a98f1f Support ranges in `<[T]>::get_many_mut()`
064ab17 btree: add `{Entry,VacantEntry}::insert_entry`
fa26d98 std::thread: avoid leading whitespace in some panic messages
125fbfb Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 09e7494
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 6, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 6, 2025
ef0f097 [create-pull-request] automated change
64f2b1a checked_ilog tests: deal with a bit of float imprecision
c3a1bc0 Fix Windows `Command` search path bug
29fb694 make `simd_insert` and `simd_extract` `const fn`s
afb2731 Update some comparison tests now that they pass in LLVM20
8b6e37e Use `.expect(..)` instead
6e79698 Remove speculation on cause of error
70750b5 Return error on unexpected termination in `Thread::join`.
51552a2 add `IntoBounds::intersect` and `RangeBounds::is_empty`
9ee4e11 require trait impls to have matching const stabilities as the traits
f3e33e0 fix: attr cast for espidf
9841ddf Do not use CString in the examples of CStr.
853522b remove MaybeUninit::uninit_array
3addad9 fix doc in library/core/src/pin.rs
85b249a Enable `f16` for MIPS
0f2916e Skip scanning for surrogates when not known valid
81ee13a Add fast path for displaying pre-validated Wtf8Buf
b3806a9 disable a potentially bogus test on Miri
ac1915b Don't doc-comment BTreeMap<K, SetValZST, A>
68ee1c0 Update `compiler-builtins` to 0.1.148
3dc6d78 remove some unnecessary rustc_const_unstable
6149a13 Implement read_buf for zkVM stdin
f318d66 stabilize extract_if
40a6164 Update string.rs
0ac5a98 Update string.rs
38326cd Stabilize `core::str::from_utf8_mut`
e78c427 Explain how Vec::with_capacity is faithful
6058a71 Stabilize `hash_extract_if`
70e30dd std: Fix another new symlink test on Windows
8a3397a remove uses of rustc_intrinsic_must_be_overridden from standard library
2face94 Correct doc about `temp_dir()` behavior on Android
5b9aa0d Simplify trait error message for CoercePointee validation
2338290 Added into_value const function to ControlFlow<T, T>
3b19a00 Fix documentation for unstable sort
61e78f5 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
787edff Fix unbounded_shifts tests
5dc8d55 Stabilize `unbounded_shifts`
d0ada29 tidying up tidy
123493f replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
01d2776 rename sub_ptr 😅
9ebe6db Update `compiler-builtins` to 0.1.147
776d981 add stdarch compatibility hack
4d1145c make the new intrinsics safe
8941ca5 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
c36b267 Remove outdated target `unexpected_cfgs`
3cf65ea update `cfg(bootstrap)`
b63bfd0 update version placeholders
cba55c9 Use faster thread_local! for stdout
bc3bf91 Use faster thread_local in current_thread_id()
614bbf1 Highlight thread_local! const init in docs
70a82a1 fix by comments
4283c44 remove assume_init in stack_overflow
3970915 Consistently using as_mut_ptr() and as_ptr() in thread
166383f Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
ff53ca0 stabilize `unsigned_is_multiple_of`
b374d73 stabilize (const_)ptr_sub_ptr
6ec49b0 Replace some instances of `pub` with `pub(crate)`
62e4416 Use `public-dependencies` in all sysroot crates
2c56cb3 Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
40ee989 Implement feature `isolate_most_least_significant_one` for integer types
7056a1b Add #[track_caller] to Duration Div impl
4581d06 Implement read_buf for WASI stdin
94b401d Stabilise `os_str_display`
ccb6182 core/net: IpAddr*::as_octets()
d9f8eda Optionally add type names to `TypeId`s.
6152c90 reduce `Box::default` stack copies in debug mode
a7e5f20 Remove obsolete MinGW ThinLTO+TLS workaround
2624d21 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
d25d3ae Stabilize `num_midpoint_signed` feature
0bf048d Add real safety comments
79a1d06 Go back to `Some` instead of transmuting to it.
04f474c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
87a50c8 Simplify `slice::Iter::next` enough that it inlines
9a26151 stabilize `inherent_str_constructors`
8524690 Synchronize platform adaptors for OsString/OsStr
ec53d7f Simplify control flow with while-let
ea46bae Improve WTF-8 comments
eeee097 Remove ignored `#[must_use]` attributes from portable-simd
5a108ca Use more explicit and reliable ptr select in sort impls
0df943b Impl TryFrom<Vec<u8>> for String
32b8847 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5dccabc Stabilize file_lock
37a39ca Update library/std/src/fs.rs
d1803a1 Update fs.rs
dd50fef Improve instant docs
13dce06 Stabilize const_slice_flatten
94729c1 Fix typo in hidden internal docs of `TrustedRandomAccess`
0ab8e5c Stabilize (and const-stabilize) `integer_sign_cast`
47d16ac fix docs for inherent str constructors
c07ced2 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
79caf1b Clarify that locking on Windows also works for files opened with `.read(true)`
f4e9888 Document that locking a file fails on Windows if the file is opened only for append
1458509 Reword file lock documentation to clarify advisory vs mandatory
30995a6 add last std diagnostic items for clippy
db00c40 Remove std::os::wasi::fs::FileExt::tell
1a4b1ab tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
9b6a9a3 Make ub_check message clear that it's not an assert
58aae77 Use tell for <File as Seek>::stream_position
c80cbf0 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
54a377b invalid_from_utf8[_unchecked]: also lint inherent methods
6218e42 Fix &&str and trailing commas in io::const_error!
a641bfd Use io::const_error! when possible over io::Error::new
755621f Add an example for std::error::Error
5b9e34d proc_macro: Apply unsafe_op_in_unsafe_fn
edce978 std: Apply unsafe_op_in_unsafe_fn
e30a819 Fix safety of windows uwp functions
6be9348 unwind: Apply unsafe_op_in_unsafe_fn
4f1db6e panic_unwind: Apply unsafe_op_in_unsafe_fn
cdd6410 panic_abort: Apply unsafe_op_in_unsafe_fn
ca7d5a8 core: Apply unsafe_op_in_unsafe_fn
e593619 docs: fix broken intra-doc links that never worked
19783e1 Forward all default methods for I/O impls
541a4d5 Windows: Update generated bindings to 0.59
fb35545 Add safe new to NotAllOnes
576351d Implement Extend<AsciiChar> for String
de22da6 re-export `core::iter::FromCoroutine`
af3a373 Implement `f{16,32,64,128}::{erf,erfc}`
bc12d9e std: Apply deprecated_safe_2024
a80f231 test: Apply deprecated_safe_2024
f6d1020 std: Apply fixes for tail drop expressions
1e0a688 std: Apply rust_2024_incompatible_pat
e0d802d std: Apply dependency_on_unit_never_type_fallback
5812e00 std: Apply missing_unsafe_on_extern
0fe0cd1 std: Apply unsafe_attr_outside_unsafe
d299573 alloc: Apply missing_unsafe_on_extern
ec4f2b9 alloc: Apply unsafe_attr_outside_unsafe
ad33ae4 alloc: Workaround hidden doctest line
06f1f5e Migrate coretests to Rust 2024
6083e3c library: Update rand to 0.9.0
52cabae core: Apply unsafe_attr_outside_unsafe
aef036b Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
48bdfdd alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
2205aeb Use `slice::fill` in `io::Repeat` implementation
31bec16 Remove the common prelude module
7eb7fc4 Correct comment for FreeBSD and DragonFly BSD in unix/thread
2c8633e `transmute` should also assume non-null pointers
9097546 Update backtrace
fc6902d expect EINVAL for pthread_mutex_destroy for aix
ef05bf9 add `IntoBounds` trait
df04622 Stabilize `get_many_mut` as `get_disjoint_mut`
c0478a4 Fix import in bench for wasm
ee7bfa5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
3f1612b Add diagnostic item for `std::io::BufRead`
69714e3 Implement `read*_exact` for `std:io::repeat`
8fe5725 std: replace the `FromInner` implementation for addresses with private conversion functions
341bf46 Stabilize target_feature_11
1471731 Change swap_nonoverlapping from lang to library UB
54440f0 `f128` is quadruple-precision
aba9541 `f16` is half-precision
dbd5829 library: amend revert of extended_varargs_abi_support for beta diff
96524c3 Revert "Stabilize `extended_varargs_abi_support`"
b997811 Change the issue number for `likely_unlikely` and `cold_path`
74af9cb Update docs for impl keyword
11ca36b include note on variance and example
4d07c7f Improve examples for file locking
0f343c6 library: doc: core::alloc::Allocator: trivial typo fix
97a1793 stabilize `NonZero::count_ones`
f78d0b5 Fix long lines which rustfmt fails to format
d291024 Reword doc comment on `CoercePointeeValidated`
d1f2756 block coerce_pointee_validated for stabilization
7260481 rename the trait to validity and place a feature gate afront
b04509b introduce CoercePointeeWellformed for coherence checks at typeck stage
a8d6946 Update `compiler-builtins` to 0.1.146
f0d8947 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c27190b ignore win_delete_self test in Miri
31da512 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d32f519 Mark extern blocks as unsafe
e3a5462 Rename field in OnceWith from gen to make
16b0493 Mark link_section attr with unsafe
c989821 Use Option for FindNextFileHandle
3c7f1e7 fix(libtest): Enable Instant on Emscripten targets
906cd83 Simplify Rc::as_ptr docs + typo fix
726ebbd Stabilize `vec_pop_if`
2aa4937 Rustfmt
732cead occured -> occurred
2ac680a Allow Rust to use a number of libc filesystem calls
fcc12b2 Windows: Test that deleting a running binary fails
75f6307 Update platform information for remove_file
fb5bcee Windows: remove readonly files
03bb961 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
62795e1 Document `Sum::sum` returns additive identities for `[]`
317f65c Clean up 'HashMap' and 'HashSet' docs;
b892d75 Optimize `Rc::<str>::default()` implementation
0c2cc40 std: get rid of `sys_common::io`
ff97a59 std: move `io` module out of `pal`
c58a610 Move two windows process tests to tests/ui
180138f tests(std/net): remove outdated `base_port` calculation
f9ef766 sys: net: Add UEFI stubs
eea1f4e Remove some unnecessary parens in `assert!` conditions
37e6aca remove use of `feature(trait_upcasting)` from core tests
86f4b51 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
e89331c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
4bd3489 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
8999778 Fix unreachable_pub lint for hermit target
c0b3088 Fix link in from_fn.rs
d96f44f Use `widening_mul`
5eaa3d6 Add OneSidedRangeBound to eliminate panic in `split_point_of`
8a60bf4 Rename slice::take methods to split_off
3209f6d Update `compiler-builtins` to 0.1.145
0bd650f specify a prim@slice in docs
6dad5ab implement inherent str constructors
18e2cdc std: move network code into `sys`
13a29e8 uefi: process: Add support for command environment variables
3537d63 Mark `std::fmt::from_fn` as `#[must_use]`
857889f Rename rustc_contract to contract
473b211 Improve contracts intrisics and remove wrapper function
526691d Separate contract feature gates for the internal machinery
26c2f64 Desugars contract into the internal AST extensions
60e508c Express contracts as part of function header and lower it to the contract lang items
e619af7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
8534d8b Contracts core intrinsics.
522dcce More PR feedback
42e9435 PR feedback
62b0a16 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
24acba1 Add note about `FnPtr` being exposed as public bound
3d12914 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
7897e75 For NonZero impl macros, give unsigned impls access to the corresponding signed type
816a396 std::fs: further simplify dirent64 handling
a561a7a add UnsafeCell direct access APIs
5beaefc primitive type migration from mod.rs to primitives.rs
148c63e implement unstable `new_range` feature
27a0a5b std::range
5c166aa Remove stabilized feature gate
1e27979 Move env modifying tests to a separate integration test
10b7576 Fix for SGX
c5e3db5 Fix benchmarking of libstd
d4958a0 Move std::sync unit tests to integration tests
319453a Move std::thread_local unit tests to integration tests
5201ec6 Move std::time unit tests to integration tests
ec5ad10 Move std::path unit tests to integration tests
66fd95c Move std::panic unit tests to integration tests
fdf5133 Move std::num unit tests to integration tests
8d70f37 Move std float unit tests to integration tests
16cbcf2 Move std::error unit tests to integration tests
80c1193 Move std::env unit tests to integration tests
586737e no unsafe pointer and no overflowing_literals in fmt::Display of integers
3d75a0c black_box integer-input on fmt benches
26d6662 OnceCell & OnceLock docs: Using (un)initialized consistently
f8c386b Docs for f16 and f128: correct a typo and add details
7bff6b6 rustc_allowed_through_unstable_modules: require deprecation message
fec18a1 Update encode_utf16 to mention it is native endian
0e54da3 remove Rustc{En,De}codable from library and compiler
f969806 make rustc_encodable_decodable feature properly unstable
2820baf Fix sentence in process::abort
f834210 document ptr comparison being by address
5046d88 stabilize `once_wait`
bcf9324 implement all min/max fns in terms of `<`/`is_lt`
3afca8e improve doc tests for (min/max/minmax).* functions
2596636 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c2ebd3d Add documentation for derive(CoercePointee)
8a57219 Fix off-by-one error causing driftsort to crash
4a787d0 Insert null checks for pointer dereferences when debug assertions are enabled
6746f0f atomic: extend compare_and_swap migration docs
a1b689e float::min/max: mention the non-determinism around signed 0
77b4295 Stabilize `const_black_box`
cc4725e Improve documentation for file locking
d5dc487 Remove minor future footgun in `impl Debug for MaybeUninit`
a6cd342 Add `AsyncFn*` to core prelude
25c44a5 uefi: Implement path
667c939 Implement `int_from_ascii` (rust-lang#134821)
6637642 Cleanup docs for Allocator
416ced1 btree/node.rs: pop_internal_level: does not invalidate other handles
e6434b1 btree/node.rs: remove incorrect comment from pop_internal_level docs
061a6fe add inline attribute and codegen test
8531bd0 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
88d05c0 optimize slice::ptr_rotate for compile-time-constant small rotates
64a9a9f Test pipes also when not running on Windows and Linux simultaneously
6dbe017 uefi: process: Fix args
f910b96 [cfg_match] Document the use of expressions
5edbe52 Update comments and sort target_arch in c_char_definition
74efd97 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
f0bd2d2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
0d0e9d4 Document powf and powi calls that always return 1.0
9070bb8 Document purpose of closure in from_fn.rs more clearly
85d2ef5 add missing allocator safety in alloc crate
bc9b642 alloc: add `#![warn(unreachable_pub)]`
a78c17f Implement `AtomicT::update` & `AtomicT::try_update`
11b4fb7 fix doc for std::sync::mpmc
332ddeb Implement phantom variance markers
e175c96 Clarify WindowsMut (Lending)Iterator
2954733 compiler_fence: fix example
4711205 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
8fdbfcc Move `std::io::pipe` code into its own file
d5bc23e Actually run the bstr test
63aa66e Update comment
b54e951 Put all coretests in a separate crate
5f996bb Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
e0a4de9 add nto80 x86-64 and aarch64 target
70547f0 Add support for QNX 7.1 with io-sock on x64
d87dbcb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
e1768a5 Update a bunch of comments from before wasi support was added
643837f Remove a bunch of emscripten test ignores
3b6f892 Fix testing of the standard library with Emscripten
08d0a4f fix(libtest): Deprecate '--logfile'
65b818a docs: fix typo in std::pin overview
28b9e96 ports last few library files to new intrinsic style
53e6919 Improve and expand documentation of pipes
d479654 Fix set_name in thread mod for NuttX
63f84e9 Fix `FormattingOptions` instantiation with `Default`
5a2c03d Update library/core/src/num/nonzero.rs
28541bb Add memory layout documentation to generic NonZero<T>
2c8447b Fix whitespace
a4fd38e document order of items in iterator from drain
c1d8f3d Add `File already exists` error doc to `hard_link` function
6d92a7f Doc difference between extend and extend_from_slice
d2c23ff Make `Vec::pop_if` a bit more presentable
56c844c Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
73f1b22 remove pointless allowed_through_unstable_modules on TryFromSliceError
18b0426 test: add `#![warn(unreachable_pub)]`
48259e8 proc_macro: add `#![warn(unreachable_pub)]`
49c9ff2 Implement `CloneToUninit` for `ByteStr`
ed7b52a Add doc aliases for BStr and BString
89b94b2 Omit some more `From` impls to avoid inference failures
68d063d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
7561b27 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
9b1947f Implement `ByteStr` and `ByteString` types
11be50b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
467d2e5 Library: Finalize dyn compatibility renaming
883e259 Remove test panic from File::open
37801f8 fix OsString::from_encoded_bytes_unchecked description
359abe2 Add an example of using `carrying_mul_add` to write wider multiplication
4bf0fc9 Outline panicking code for `LocalKey::with`
468d258 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
507ffb5 core: add `#![warn(unreachable_pub)]`
fca1d52 rtstartup: add `#![warn(unreachable_pub)]`
7fede9a panic_unwind: add `#![warn(unreachable_pub)]`
49c0fc2 Recognise new IPv6 documentation range from RFC9637
c91d6e5 1. Removed 'rustc_nounwind' 2. Rewording of comments
9dc5e61 Export likely(), unlikely() and cold_path() in std::hint
e868a10 Correct counting to four in cell module docs
7ebfea3 doc: Point to methods on `Command` as alternatives to `set/remove_var`
74a5f96 wasi/io: remove dead files
29253bb remove unnecessary rustc_allowed_through_unstable_modules
0cb9f60 further improve panic_immediate_abort by removing rtprintpanic messages
101e6fc cargo update
7342d8f Rewrap following accepting review suggestions from @ibraheemdev
5d341b6 Update library/core/src/slice/mod.rs
00c745c Update library/core/src/slice/mod.rs
187eaa3 Update library/core/src/slice/mod.rs
881832a Update library/core/src/slice/mod.rs
7326106 Update library/core/src/slice/mod.rs
6a2d8b8 Update library/core/src/slice/mod.rs
b764b98 Update library/core/src/slice/mod.rs
623bdc2 Update library/core/src/slice/mod.rs
fe60d99 Update library/core/src/slice/mod.rs
fcd6913 Update library/core/src/slice/mod.rs
72640bc `then be` -> `be` based on feedback from @ibraheemdev
3fe4771 Improve `select_nth_unstable` documentation clarity
2cb818f Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
6d14ec0 Add references to the IEEE functions for `float_next_up_down`
920d386 Stabilize `float_next_up_down`
e53b690 Fix import of pipe in kernel_copy.rs
9613494 Move `std::pipe::*` into `std::io`
41893a0 Clarify note in `std::sync::LazyLock` example
b8303f0 fix typo in library/alloc/src/sync.rs
2103ef3 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a7f7f6e Adjust syntax
2c52964 Less unsafe in `dangling`/`without_provenance`
5de413e fix typo in typenames of pin documentation
15c0127 intrinsics: deprecate calling them via the unstable std::intrinsics path
13c63fe add comments explaining main thread identification
83d97ee std: lazily allocate the main thread handle
de0a334 Revert "Remove the Arc rt::init allocation for thread info"
028efa0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
14af7ad Update compiler-builtins to 0.1.143
b26cfc6 Rename `pos` to `position`
847bb19 Convert `struct FromBytesWithNulError` into enum
e214442 Enforce syntactical stability of const traits in HIR
1511f9e Update compiler-builtins to 0.1.141
1589d0b Add another `Vec::splice` example
a574226 avoid nesting the user-defined main so deeply on the stack
e35d731 use a single large catch_unwind in lang_start
23a5f08 uefi: helpers: Introduce OwnedDevicePath
9db8150 path: Move is_absolute check to sys::path
d3afa44 Update the explanation for why we use box_new in vec!
8ecd1d5 Add #[inline] to copy_from_slice
1b7e73a Add inherent versions of MaybeUninit methods for slices
2671eb5 Make UniqueRc invariant for soundness
1e55e38 update and clarify StructuralPartialEq docs
c3df7cd Use `NonNull::without_provenance` within the standard library
cc0fc4a Initial fs module for uefi
b8ebc3b Improve the safety documentation on new_unchecked
c20c11d Update a bunch of library types for MCP807
914ee4f alloc: remove unsound `IsZero` for raw pointers
aedc4a5 Fix `proc_macro::quote!` for raw ident
c3cca95 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
1375607 Rename the internal simpler `quote` macro to `minimal_quote`
189a1d6 Used pthread name functions returning result for FreeBSD and DragonFly
b4227ca Fix ptr::from_ref documentation example comment
9f7ea6b Improve prose around `as_slice` example of IterMut
8825c2c fmt
0cfcb4b update cfg(bootstrap)
b271343 update version placeholders
3a9b79b Remove some unnecessary `.into()` calls
cbce3da add missing provenance APIs on NonNull
4eef067 More compelling env_clear() examples
b5226d0 Implement Condvar::wait_timeout for targets without threads
70ca299 Impl String::into_chars
add3dd9 Avoid naming variables `str`
285706c [generic_assert] Constify methods used by the formatting system
328351f Add support for wasm exception handling to Emscripten target
fae1945 chore: remove redundant words in comment
0fe9cc2 Add doc aliases for `libm` and IEEE names
2090c36 Mark `slice::reverse` unstably const
7118359 Clarified the documentation on core::iter::from_fn and core::iter::successors
56acaee library: fix adler{-> 2}.debug
bc7ff12 add regression test for unsound Flatten/FlatMap specialization
be95771 do not in-place-iterate over flatmap/flatten
4317f17 Fix UWP build
6da0643 Bump backtrace to 0.3.75
4e0279c sync to actual dep verions of backtrace
181cda1 turn rustc_box into an intrinsic
8974f20 core: use public method instead of instrinsic
f61b805 core: improve comments
111122e core: implement `bool::select_unpredictable`
fe125b2 Switch rtems target to panic unwind
47a3749 path in detail
ce272e6 Move some things to `std::sync::poison` and reexport them in `std::sync`
73137b1 Bump backtrace to rust-lang/backtrace-rs@4d7906b
2f00b57 Try to write the panic message with a single `write_all` call
8fc894e fix doc for missing Box allocator consistency
c123ec7 Remove qualification of `std::cmp::Ordering` in `Ord` doc
5dd3355 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
381118b Avoid use of LFS64 symbols on Emscripten
ae47595 char to_digit: avoid unnecessary casts to u64
3d3342b Remove allowing static_mut_refs lint
f8f894e Tidy up bigint mul methods
153737e fix doc for read write unaligned in zst operation
fb24eac Avoid short writes in LineWriter
c2ab1fb ptr docs: make it clear that we are talking only about memory accesses
8d6f948 Make slice::as_flattened_mut unstably const
d9bd636 rename typed_swap → typed_swap_nonoverlapping
57e6fa0 stabilize const_swap
85e3c60 fix: typos
7e555eb Fix sentence fragment in `pin` module docs
3daa58d docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
2b5202a Fix compilation issues on other unixes
712102c Eliminate redundant statx syscalls
3054f34 Unify fs::copy and io::copy
c28e5f6 Update `compiler-builtins` to 0.1.140
2230aec Update library/alloc/tests/sort/tests.rs
0e779e3 Fix typos
ef8b08d Override `carrying_mul_add` in cg_llvm
b703499 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
84d71a6 Fix mistake in windows file open
4e3170a Windows: Use WriteFile to write to a UTF-8 console
0093861 ptr::copy: fix docs for the overlapping case
d21473a Fix renaming symlinks on Windows
e9b5463 docs: inline `core::ffi::c_str` types to `core::ffi`
20e6f8e docs: inline `std::ffi::c_str` types to `std::ffi`
76e9ed6 unwinding: bump version to fix asm
ae5f4ef docs: update code example for Iterator#rposition
b6b2150 Use scoped threads in `std::sync::Barrier` examples
83aff29 Fix forgetting to save statx availability on success
c2b4f74 Specify only that duplicates are discarded, not the order.
5cd112c Document collection `From` and `FromIterator` impls that drop duplicate keys.
d8bd1fb Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
443681e Impl FromIterator for tuples with arity 1-12
4a9cd56 Fix formatting
835b27e stabilize const_alloc_layout
5b48895 chore: fix typos
948ba40 Windows: Use FILE_ALLOCATION_INFO for truncation
9a2e864 Bump `stdarch`
ae26451 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
d5d26e9 Fixes safety docs for `dyn Any + Send {+ Sync}`
55930bb Use `#[derive(Default)]` instead of manually implementing it
b05e73a Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
bb5b799 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
599256e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
720f561 docs: Permissions.readonly() also ignores root user special permissions
c65986f cargo update
1c7d00a Delete `Rvalue::Len`
b7712d9 Asserts the maximum value that can be returned from `Vec::len`
90c0a7c Document `PointerLike` implementation restrictions.
c5cc438 Use `&raw` for `ptr` primitive docs
61c0a0a Add `is_ascii` function optimized for x86-64 for [u8]
5d95cdc Add new implementation benchmark
2fc67c5 Document CTFE behavior of methods that call is_null
bbbfe3f Correctly document is_null CTFE behavior.
44e4895 Win: rename: Use offset_of! in struct size calculation
7bae459 Win: Remove special casing of the win7 target for `std::fs::rename`
7a248e1 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
d0d2b49 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
8f7cf92 Less unwrap() in documentation
77f3dea Improve prose around into_slice example of IterMut
fb8661d Improve prose around `as_slice` example of Iter
7d06f29 Improve prose around basic examples of Iter and IterMut
54b9f1a Abstract `ProcThreadAttributeList` into its own struct
9d76cf5 fix `PointerLike` docs
29446d2 unimplement `PointerLike` for trait objects
ccfe7aa split up `#[rustc_deny_explicit_impl]` attribute
3194e7d remove reference to dangling from slice::Iter
3a5aee1 mri: add track_caller to thread spawning methods for better backtraces
b54934c fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
c619a0e Improve documentation of `element_offset` and related methods
98a69d6 Rename `elem_offset` to `element_offset`
6e39698 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
91c4ab0 build: Update libc version
0e014f6 fix typo in ptr/mod.rs
144dea3 Stabilize `#[diagnostic::do_not_recommend]`
12e2aec Use field init shorthand where possible
b8796d2 fix(LazyCell): documentation of get[_mut] was wrong
d988e7b 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
0dfcb5a Fix typo in uint_macros.rs
0b6d717 remove obsolete comment and pub(super) visibility
ab9827f remove bounds from vec and linkedlist ExtractIf
13feda4 Add a range argument to vec.extract_if
15bdd31 Stabilize #[coverage] attribute
2322c7a Remove `rustc::existing_doc_keyword` lint.
4a4b343 Move `doc(keyword = "while")`.
509c8a6 rustdoc-search: let From and Into be unboxed
6071a58 Replace i32 by char in `split_at` & `_unchecked`
8e8a475 Add clarity to the "greater" of `VecDeque::insert`
352800a Replace i32 by char to add clarity
ece5840 Add value accessor methods to `Mutex` and `RwLock`
4afa7a6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
f6519f2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
8008896 UniqueRc: PinCoerceUnsized and DerefPure
bcaea4f UniqueRc: comparisons and Hash
973f325 UniqueRc: Add more trait impls.
3f21a79 Remove support for specializing ToString outside the standard library
a18db41 Correct spelling of CURRENT_RUSTC_VERSION
b109dbd Add documentation for anonymous pipe module
7cf2173 feat: clarify how to use `black_box()`
59b15c0 Update includes in '/library/core/src/error.rs';
8a43221 Fix building `std` for Hermit after `c_char` change
f1e5058 Fix `Path::is_absolute` on Hermit
393b70c Fix typos in docs on provenance
ad7465b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1d243af Switch inline(always) in core/src/fmt/rt.rs to plain inline
525f76a Reword prelude for AsyncFn stabilization
8a27c31 Stabilize async closures
f642d1e Remove consteval note from <*mut T>::align_offset docs.
40e1e6a Stabilize the Rust 2024 prelude
b97f4b1 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
7663b8e Move some alloc tests to the alloctests crate
c41ae46 control libunwind linkage mode via `crt-static` on gnullvm targets
a9aa795 Change `GetManyMutError` to match T-libs-api decision
6c26c1f Add references to the specific ABI documents
3f27d14 Remove l4re from the unsigned char operating system list
8dad89d De-duplicate and improve definition of core::ffi::c_char
ea28d00 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
bdc41b0 stabilize const_nonnull_new
0b9fa79 Remove rustc_const_stable attribute on const NOOP
7dc60b0 Add libc funcitons only for wasm32-wasip1-threads.
8a3d98e Fix compilation for wasm32-wasip1 (without threads).
2e3c4c1 Use UNIX thread_local implementation for WASI.
db3dabd Run TLS destructors for wasm32-wasip1-threads
db10ed2 Downgrade cc
71746ce Run `cargo update` and update licenses
d1fec28 chore: Improve doc comments
c5441a0 Refactor ReadDir into a state machine
801f202 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
0ec7440 docs: better examples for `std::ops::ControlFlow`
40b7e34 Expand home_dir docs
ee25eae Add doc alias 'then_with' for `then` method on `bool`
6caf966 Adds new intrinsic declaration
13c822f Define acronym for thread local storage
24d01f8 Add a `collect_into` tuple test case
8a692d7 Don't impl Extend for 13-tuples
0633f80 Simplify documentation for Extend impl for tuples
51e7e30 Add Extend impls for tuples of arity 1 through 12
65ebd99 Unbreak tidy
9720b30 Stabilize `std::io::ErrorKind::QuotaExceeded`
b1c6073 Stabilize `std::io::ErrorKind::CrossesDevices`
55c56a8 Access members of `FormattingOptions` directly instead of via getters/setters
d08846f Removed constness for methods receiving a `&mut` parameter
5b85082 Added better reason for exposing `flags` and `get_flags` as unstable
1a77dd5 Formatted
26aad90 Refactored FormattingOptions to use a bitmask for storing flags
01aa5c5 Revert "Turned public+unstable+hidden functions into private functions"
8143c45 Turned public+unstable+hidden functions into private functions
f2e12e2 Made all fns const
9999525 impl Default for fmt::FormattingOptions
22c0378 Fixed copy+paste error in comment
5a7cd46 fmt::FormattingOptions: Renamed `alignment` to `align`
8917e4b Formatter::with_options: Use different lifetimes
6fccc33 Fixed another broken test
e7da947 Added struct `fmt::FormattingOptions`
7ec5713 Formatter: Access members via getter methods wherever possible
c5be4f9 Stabilize noop_waker
992149b Improve documentation
4623ca3 Reformat Python code with `ruff`
9a261ff Improve comments for the default backtrace printer
90aca0d clarify simd_relaxed_fma non-determinism
9382a29 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
0b6e45d Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
7609542 Allow fn pointers comparisons lint in library
aa74eb2 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ccb8b4 Add `core::arch::breakpoint` and test
abcce94 a release operation synchronizes with an acquire operation
c801b09 Update the definition of `borrowing_sub`
afcc3e9 stabilize const_{size,align}_of_val
1ff28eb ./x miri: fix sysroot build
6ad4c21 stabilize const_collections_with_hasher and build_hasher_default_const_new
f8d800c Match simd_relaxed_fma documentation to fmuladd intrinsic
6aa2851 Add simd_relaxed_fma intrinsic
579e5e1 Fix `f16::midpoint` const feature gate
ef451d5 Use c"lit" for CStrings without unwrap
1f20c08 Stabilize `const_maybe_uninit_write`
520b445 Fix docs for '<[T]>::as_array';
94547e9 Stabilize `ptr::fn_addr_eq`
39e964b rustc_allow_const_fn_unstable is not used in proc_macro
7c3008d get rid of a bunch of unnecessary rustc_const_unstable
5de2b3f remove a whole bunch of unnecessary const feature gates
ed5c4a9 add isatty alias for is_terminal
07ca1fa Stabilize unsigned `num_midpoint` feature
49d16de Mark `slice::copy_from_slice` unstably const
8426192 Fix chaining `carrying_add`s
e0da459 add test for bytewise ptr::swap of a pointer
5d54d49 move swap_nonoverlapping constness to separate feature gate
4417e17 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
26015bb Add diagnostic item for `std::ops::ControlFlow`
4019a11 update link to "C++ Exceptions under the hood" blog
386b985 fix: fix codeblocks in `PathBuf` example
c550669 fix: hurd build, stat64.st_fsid was renamed to st_dev
ae58d9e std: clarify comments about initialization
014fc05 std: refactor `pthread`-based synchronization
54ca95f bump hashbrown version
8afdd20 Fill in a `BTreeSet::entry` example
a0554fb Add a tracking issue for `btree_set_entry`
71144f7 Add `BTreeSet` entry APIs to match `HashSet`
d862a5c Implement code review
eeffc1a thread::available_parallelism for wasm32-wasip1-threads
4529581 changes old intrinsic declaration to new declaration
00777b5 Fix and undeprecate home_dir()
901694b refine mir debuginfo docs
b18cf92 Doc comment custom MIR debuginfo.
0fb7578 Stabilize `extended_varargs_abi_support`
a6289b0 update cfgs
d3d7ff0 replace placeholder version
17ac3a9 Also use zero when referencing to capacity or length
4cf034f Use consistent wording in docs, use zero instead of 0
5cd2f7d Fix typos in pin.rs
129c425 Share inline(never) generics across crates
1eec4db fmt
6a3a37a aix: create shim for lgammaf_r
4a77898 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
ba5ad84 Remove one stray space.
24c150a Update chown help with a link and adding cap warning
709b548 Expand std::os::unix::fs::chown() doc with a warning
1546ede Add missing code examples on `LocalKey`
ca2723b Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
e3cabe5 Remove unnecessary `#![allow(unused_features)]`
0512cb6 Sort and separate lint/feature attributes in `profiler_builtins`
c18f916 std: update internal uses of `io::const_error!`
a01ee48 std: expose `const_io_error!` as `const_error!`
df35e90 Constify Drop and Destruct
fb219bd miri: disable test_downgrade_observe test on macOS
5acb82d Shorten the `MaybeUninit` `Debug` implementation
c6d08f5 Support ranges in `<[T]>::get_many_mut()`
82d4539 btree: add `{Entry,VacantEntry}::insert_entry`
bfbb9b2 std::thread: avoid leading whitespace in some panic messages
062e398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: ef0f097
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 6, 2025
… r=matthewjasper"

This reverts commit 0a7f3c61f09a984d3e98caebbf7eef17400bf494, reversing
changes made to 83157152c1ce77f41657498a27a200f366a4c2a4.
github-actions bot pushed a commit to thanhnguyen-aws/verify-rust-std that referenced this pull request Mar 6, 2025
7e867f1 [create-pull-request] automated change
3ea5b89 checked_ilog tests: deal with a bit of float imprecision
2e46aae Fix Windows `Command` search path bug
6cc385c make `simd_insert` and `simd_extract` `const fn`s
6060726 Update some comparison tests now that they pass in LLVM20
68aa1e8 Use `.expect(..)` instead
a5cf779 Remove speculation on cause of error
30ae6a9 Return error on unexpected termination in `Thread::join`.
216e188 add `IntoBounds::intersect` and `RangeBounds::is_empty`
a222137 require trait impls to have matching const stabilities as the traits
347f76e fix: attr cast for espidf
2b6b61e Do not use CString in the examples of CStr.
090e994 remove MaybeUninit::uninit_array
c4584ad fix doc in library/core/src/pin.rs
e641575 Enable `f16` for MIPS
a5c0a4c Skip scanning for surrogates when not known valid
a36cb20 Add fast path for displaying pre-validated Wtf8Buf
8ead854 disable a potentially bogus test on Miri
e577334 Don't doc-comment BTreeMap<K, SetValZST, A>
7def2bb Update `compiler-builtins` to 0.1.148
491d3a0 remove some unnecessary rustc_const_unstable
6417cc4 Implement read_buf for zkVM stdin
3aebe63 stabilize extract_if
e4bb43d Update string.rs
0bbb878 Update string.rs
9d25fd4 Stabilize `core::str::from_utf8_mut`
c2a3f64 Explain how Vec::with_capacity is faithful
d456304 Stabilize `hash_extract_if`
465ea0f std: Fix another new symlink test on Windows
088c9b1 remove uses of rustc_intrinsic_must_be_overridden from standard library
647d8f3 Correct doc about `temp_dir()` behavior on Android
3036ac3 Simplify trait error message for CoercePointee validation
984b4ce Added into_value const function to ControlFlow<T, T>
611369b Fix documentation for unstable sort
3b38e28 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
f26b0e9 Fix unbounded_shifts tests
ce2f580 Stabilize `unbounded_shifts`
6ccd160 tidying up tidy
0fc6938 replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
475e6fd rename sub_ptr 😅
b197c20 Update `compiler-builtins` to 0.1.147
2c3eb6d add stdarch compatibility hack
e593e9a make the new intrinsics safe
b3f6df4 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
9059d3b Remove outdated target `unexpected_cfgs`
85a277c update `cfg(bootstrap)`
c8506dd update version placeholders
5326e90 Use faster thread_local! for stdout
5a3cc94 Use faster thread_local in current_thread_id()
7720fdb Highlight thread_local! const init in docs
f9767b6 fix by comments
5c73c5e remove assume_init in stack_overflow
b353e19 Consistently using as_mut_ptr() and as_ptr() in thread
86cb43d Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
50431f2 stabilize `unsigned_is_multiple_of`
0eef482 stabilize (const_)ptr_sub_ptr
83ea586 Replace some instances of `pub` with `pub(crate)`
7236883 Use `public-dependencies` in all sysroot crates
751f50a Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
c06a4e9 Implement feature `isolate_most_least_significant_one` for integer types
8664965 Add #[track_caller] to Duration Div impl
81e8cd5 Implement read_buf for WASI stdin
33d3a47 Stabilise `os_str_display`
465544d core/net: IpAddr*::as_octets()
9ebcd5b Optionally add type names to `TypeId`s.
28c6d09 reduce `Box::default` stack copies in debug mode
388027a Remove obsolete MinGW ThinLTO+TLS workaround
b8adb65 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
874c9e4 Stabilize `num_midpoint_signed` feature
e87bba6 Add real safety comments
ffecb7b Go back to `Some` instead of transmuting to it.
2418070 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
398aa21 Simplify `slice::Iter::next` enough that it inlines
5e9b5b4 stabilize `inherent_str_constructors`
70dd444 Synchronize platform adaptors for OsString/OsStr
9554b31 Simplify control flow with while-let
2472a00 Improve WTF-8 comments
8d012e7 Remove ignored `#[must_use]` attributes from portable-simd
e7d15a0 Use more explicit and reliable ptr select in sort impls
e78b619 Impl TryFrom<Vec<u8>> for String
0e6d410 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
2256f6b Stabilize file_lock
bb4aa9d Update library/std/src/fs.rs
f4c4525 Update fs.rs
4b1fbb0 Improve instant docs
af93761 Stabilize const_slice_flatten
9646abe Fix typo in hidden internal docs of `TrustedRandomAccess`
e11d4a8 Stabilize (and const-stabilize) `integer_sign_cast`
848c3a4 fix docs for inherent str constructors
b5cdfa6 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
e48e279 Clarify that locking on Windows also works for files opened with `.read(true)`
c97d07e Document that locking a file fails on Windows if the file is opened only for append
69d5115 Reword file lock documentation to clarify advisory vs mandatory
8d8ca39 add last std diagnostic items for clippy
cdbfcdc Remove std::os::wasi::fs::FileExt::tell
b22fdb3 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
719ad61 Make ub_check message clear that it's not an assert
ba4a6e6 Use tell for <File as Seek>::stream_position
bfc21fd Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
3ec3d03 invalid_from_utf8[_unchecked]: also lint inherent methods
58ea081 Fix &&str and trailing commas in io::const_error!
bfbf685 Use io::const_error! when possible over io::Error::new
412252e Add an example for std::error::Error
1988ac9 proc_macro: Apply unsafe_op_in_unsafe_fn
93b6101 std: Apply unsafe_op_in_unsafe_fn
0f924d7 Fix safety of windows uwp functions
928cc14 unwind: Apply unsafe_op_in_unsafe_fn
618d945 panic_unwind: Apply unsafe_op_in_unsafe_fn
ce6d8fd panic_abort: Apply unsafe_op_in_unsafe_fn
27b44a0 core: Apply unsafe_op_in_unsafe_fn
220f426 docs: fix broken intra-doc links that never worked
7b5defd Forward all default methods for I/O impls
a8a67f0 Windows: Update generated bindings to 0.59
f3570ae Add safe new to NotAllOnes
29ef048 Implement Extend<AsciiChar> for String
e2c79bd re-export `core::iter::FromCoroutine`
ad10bbe Implement `f{16,32,64,128}::{erf,erfc}`
a16c1f3 std: Apply deprecated_safe_2024
0bccd51 test: Apply deprecated_safe_2024
70838db std: Apply fixes for tail drop expressions
eb4c95b std: Apply rust_2024_incompatible_pat
92bdbd6 std: Apply dependency_on_unit_never_type_fallback
552997a std: Apply missing_unsafe_on_extern
c444f4f std: Apply unsafe_attr_outside_unsafe
37870c8 alloc: Apply missing_unsafe_on_extern
130c44c alloc: Apply unsafe_attr_outside_unsafe
72288e3 alloc: Workaround hidden doctest line
6d50c11 Migrate coretests to Rust 2024
fe5189e library: Update rand to 0.9.0
01b5e5e core: Apply unsafe_attr_outside_unsafe
f84fe47 Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
cd69233 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
9ccaa32 Use `slice::fill` in `io::Repeat` implementation
9f1ba49 Remove the common prelude module
ec15fa8 Correct comment for FreeBSD and DragonFly BSD in unix/thread
59bd3f1 `transmute` should also assume non-null pointers
e6ca050 Update backtrace
79c3c75 expect EINVAL for pthread_mutex_destroy for aix
8212c64 add `IntoBounds` trait
c14f606 Stabilize `get_many_mut` as `get_disjoint_mut`
06058e8 Fix import in bench for wasm
aefc00e Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
abf47c9 Add diagnostic item for `std::io::BufRead`
d90fdfb Implement `read*_exact` for `std:io::repeat`
d749b32 std: replace the `FromInner` implementation for addresses with private conversion functions
671f10a Stabilize target_feature_11
b602a02 Change swap_nonoverlapping from lang to library UB
896e605 `f128` is quadruple-precision
9c472f6 `f16` is half-precision
8cefa7d library: amend revert of extended_varargs_abi_support for beta diff
3429d72 Revert "Stabilize `extended_varargs_abi_support`"
8eabdc5 Change the issue number for `likely_unlikely` and `cold_path`
fbdf895 Update docs for impl keyword
1523883 include note on variance and example
63dbac4 Improve examples for file locking
cf65058 library: doc: core::alloc::Allocator: trivial typo fix
f997ca6 stabilize `NonZero::count_ones`
d0c5fb6 Fix long lines which rustfmt fails to format
51abf0f Reword doc comment on `CoercePointeeValidated`
5ba8c5c block coerce_pointee_validated for stabilization
6cb50c9 rename the trait to validity and place a feature gate afront
8b8f81a introduce CoercePointeeWellformed for coherence checks at typeck stage
aefade5 Update `compiler-builtins` to 0.1.146
0d5c677 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
02dbefd ignore win_delete_self test in Miri
53e787c Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
64dd451 Mark extern blocks as unsafe
9689696 Rename field in OnceWith from gen to make
38b390b Mark link_section attr with unsafe
6ec3cd9 Use Option for FindNextFileHandle
0a6efac fix(libtest): Enable Instant on Emscripten targets
faf95ad Simplify Rc::as_ptr docs + typo fix
700d931 Stabilize `vec_pop_if`
3c20f29 Rustfmt
10c21cc occured -> occurred
b9538d0 Allow Rust to use a number of libc filesystem calls
5ba13a7 Windows: Test that deleting a running binary fails
7920722 Update platform information for remove_file
5e779b7 Windows: remove readonly files
71e614f Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
379ac70 Document `Sum::sum` returns additive identities for `[]`
cbf85ed Clean up 'HashMap' and 'HashSet' docs;
2274f35 Optimize `Rc::<str>::default()` implementation
5bc61ff std: get rid of `sys_common::io`
e7a37be std: move `io` module out of `pal`
3365190 Move two windows process tests to tests/ui
f4a2fe2 tests(std/net): remove outdated `base_port` calculation
342286a sys: net: Add UEFI stubs
0dc5c94 Remove some unnecessary parens in `assert!` conditions
902bacd remove use of `feature(trait_upcasting)` from core tests
44687b5 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
676678e Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
2d7c48f tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
7b1bc7e Fix unreachable_pub lint for hermit target
b2dd3f4 Fix link in from_fn.rs
2adde22 Use `widening_mul`
6dd1c87 Add OneSidedRangeBound to eliminate panic in `split_point_of`
3aebe12 Rename slice::take methods to split_off
76412fb Update `compiler-builtins` to 0.1.145
927fb1f specify a prim@slice in docs
a3aa58f implement inherent str constructors
1bad2f3 std: move network code into `sys`
430a7c3 uefi: process: Add support for command environment variables
ed6028a Mark `std::fmt::from_fn` as `#[must_use]`
96c3429 Rename rustc_contract to contract
75cb4c1 Improve contracts intrisics and remove wrapper function
188ffee Separate contract feature gates for the internal machinery
d87f466 Desugars contract into the internal AST extensions
8cdff0b Express contracts as part of function header and lower it to the contract lang items
91ff63d contracts: added lang items that act as hooks for rustc-injected code to invoke.
c38f8f0 Contracts core intrinsics.
6c5ef3c More PR feedback
01fb071 PR feedback
ffe0471 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
6b6ad0a Add note about `FnPtr` being exposed as public bound
8387e51 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
c703b7e For NonZero impl macros, give unsigned impls access to the corresponding signed type
73bcab9 std::fs: further simplify dirent64 handling
9add55a add UnsafeCell direct access APIs
e8eb096 primitive type migration from mod.rs to primitives.rs
a59cdef implement unstable `new_range` feature
f835c0f std::range
409bdad Remove stabilized feature gate
f323a52 Move env modifying tests to a separate integration test
f965498 Fix for SGX
8fbea2a Fix benchmarking of libstd
8f6114a Move std::sync unit tests to integration tests
05f5715 Move std::thread_local unit tests to integration tests
0e82dc9 Move std::time unit tests to integration tests
5fd13b1 Move std::path unit tests to integration tests
92a6282 Move std::panic unit tests to integration tests
5a35750 Move std::num unit tests to integration tests
592de49 Move std float unit tests to integration tests
d1a552e Move std::error unit tests to integration tests
5a9ed67 Move std::env unit tests to integration tests
c4b5e39 no unsafe pointer and no overflowing_literals in fmt::Display of integers
ebf7ef0 black_box integer-input on fmt benches
ae6553b OnceCell & OnceLock docs: Using (un)initialized consistently
b8b1ecb Docs for f16 and f128: correct a typo and add details
82f4778 rustc_allowed_through_unstable_modules: require deprecation message
0da9358 Update encode_utf16 to mention it is native endian
91fd9ce remove Rustc{En,De}codable from library and compiler
9a9167d make rustc_encodable_decodable feature properly unstable
4f737e5 Fix sentence in process::abort
6b3353d document ptr comparison being by address
b99845b stabilize `once_wait`
0b4eae9 implement all min/max fns in terms of `<`/`is_lt`
21661aa improve doc tests for (min/max/minmax).* functions
8f8aef5 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c151d3a Add documentation for derive(CoercePointee)
92ad496 Fix off-by-one error causing driftsort to crash
81fb47f Insert null checks for pointer dereferences when debug assertions are enabled
92d9060 atomic: extend compare_and_swap migration docs
0260c1a float::min/max: mention the non-determinism around signed 0
5f614d9 Stabilize `const_black_box`
50a1757 Improve documentation for file locking
13ada4e Remove minor future footgun in `impl Debug for MaybeUninit`
8363895 Add `AsyncFn*` to core prelude
fc3df4a uefi: Implement path
473934b Implement `int_from_ascii` (rust-lang#134821)
5f912aa Cleanup docs for Allocator
63202df btree/node.rs: pop_internal_level: does not invalidate other handles
d5f5377 btree/node.rs: remove incorrect comment from pop_internal_level docs
1ad90df add inline attribute and codegen test
d716bc1 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
3530bfc optimize slice::ptr_rotate for compile-time-constant small rotates
c244dfb Test pipes also when not running on Windows and Linux simultaneously
10dbb82 uefi: process: Fix args
342a8fc [cfg_match] Document the use of expressions
6313562 Update comments and sort target_arch in c_char_definition
d2a87f4 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
74b05ab Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
b29625d Document powf and powi calls that always return 1.0
36d1102 Document purpose of closure in from_fn.rs more clearly
d792426 add missing allocator safety in alloc crate
c42bf3b alloc: add `#![warn(unreachable_pub)]`
ff22b38 Implement `AtomicT::update` & `AtomicT::try_update`
c63584e fix doc for std::sync::mpmc
dadd4e4 Implement phantom variance markers
b50524b Clarify WindowsMut (Lending)Iterator
bbadf5b compiler_fence: fix example
acf13dc Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
1b35c34 Move `std::io::pipe` code into its own file
0d7fb33 Actually run the bstr test
64b9fec Update comment
4a2cc4c Put all coretests in a separate crate
dc76cff Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
82a3e29 add nto80 x86-64 and aarch64 target
4c2f57e Add support for QNX 7.1 with io-sock on x64
355afc4 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
b08957b Update a bunch of comments from before wasi support was added
30367af Remove a bunch of emscripten test ignores
9a6d033 Fix testing of the standard library with Emscripten
a2a7f1a fix(libtest): Deprecate '--logfile'
090694c docs: fix typo in std::pin overview
9ae370a ports last few library files to new intrinsic style
e7ba76b Improve and expand documentation of pipes
8cf1610 Fix set_name in thread mod for NuttX
8fba3c2 Fix `FormattingOptions` instantiation with `Default`
4caaffc Update library/core/src/num/nonzero.rs
31a896d Add memory layout documentation to generic NonZero<T>
fa6e893 Fix whitespace
e939846 document order of items in iterator from drain
0d65dd8 Add `File already exists` error doc to `hard_link` function
e902dd5 Doc difference between extend and extend_from_slice
7e40bf4 Make `Vec::pop_if` a bit more presentable
9a62037 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
bcbefbe remove pointless allowed_through_unstable_modules on TryFromSliceError
22cd105 test: add `#![warn(unreachable_pub)]`
da1627e proc_macro: add `#![warn(unreachable_pub)]`
3eb05f3 Implement `CloneToUninit` for `ByteStr`
980f201 Add doc aliases for BStr and BString
d77636c Omit some more `From` impls to avoid inference failures
e7a0f7a Support `no_rc`, `no_sync`, and `no_global_oom_handling`
da7e6de Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
4ec6783 Implement `ByteStr` and `ByteString` types
014bf65 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
d9fc6c7 Library: Finalize dyn compatibility renaming
993e268 Remove test panic from File::open
654c3be fix OsString::from_encoded_bytes_unchecked description
c66c8fe Add an example of using `carrying_mul_add` to write wider multiplication
6d6bd2b Outline panicking code for `LocalKey::with`
1cfc815 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
e51eb79 core: add `#![warn(unreachable_pub)]`
cb32a52 rtstartup: add `#![warn(unreachable_pub)]`
fd72a52 panic_unwind: add `#![warn(unreachable_pub)]`
b0857ac Recognise new IPv6 documentation range from RFC9637
7f8778b 1. Removed 'rustc_nounwind' 2. Rewording of comments
2b1fbb3 Export likely(), unlikely() and cold_path() in std::hint
9274c47 Correct counting to four in cell module docs
2f4d700 doc: Point to methods on `Command` as alternatives to `set/remove_var`
c88d3a3 wasi/io: remove dead files
30689d8 remove unnecessary rustc_allowed_through_unstable_modules
adb1048 further improve panic_immediate_abort by removing rtprintpanic messages
02e23d0 cargo update
f98b9d5 Rewrap following accepting review suggestions from @ibraheemdev
a684228 Update library/core/src/slice/mod.rs
e4cca54 Update library/core/src/slice/mod.rs
2ff8dc3 Update library/core/src/slice/mod.rs
17d4342 Update library/core/src/slice/mod.rs
791bf80 Update library/core/src/slice/mod.rs
5bd19bd Update library/core/src/slice/mod.rs
a9ebfa4 Update library/core/src/slice/mod.rs
620d30c Update library/core/src/slice/mod.rs
83ea5d5 Update library/core/src/slice/mod.rs
b5409d6 Update library/core/src/slice/mod.rs
d5d5df4 `then be` -> `be` based on feedback from @ibraheemdev
fb496ff Improve `select_nth_unstable` documentation clarity
83e0586 Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
153f4de Add references to the IEEE functions for `float_next_up_down`
c008ed5 Stabilize `float_next_up_down`
cb3fbe1 Fix import of pipe in kernel_copy.rs
d72c225 Move `std::pipe::*` into `std::io`
41deb92 Clarify note in `std::sync::LazyLock` example
d438fbb fix typo in library/alloc/src/sync.rs
e362a5e Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
62c741c Adjust syntax
7840e9a Less unsafe in `dangling`/`without_provenance`
94b43ab fix typo in typenames of pin documentation
436aaa0 intrinsics: deprecate calling them via the unstable std::intrinsics path
fc41906 add comments explaining main thread identification
58ff563 std: lazily allocate the main thread handle
7e1045d Revert "Remove the Arc rt::init allocation for thread info"
2be3834 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
7b77faa Update compiler-builtins to 0.1.143
e4a3ed2 Rename `pos` to `position`
82e58df Convert `struct FromBytesWithNulError` into enum
f09fb12 Enforce syntactical stability of const traits in HIR
db35b2c Update compiler-builtins to 0.1.141
1f76e08 Add another `Vec::splice` example
b2846f9 avoid nesting the user-defined main so deeply on the stack
32a5edc use a single large catch_unwind in lang_start
a0e9238 uefi: helpers: Introduce OwnedDevicePath
5534aa6 path: Move is_absolute check to sys::path
c5cfec3 Update the explanation for why we use box_new in vec!
ba94663 Add #[inline] to copy_from_slice
2534c3c Add inherent versions of MaybeUninit methods for slices
720caaa Make UniqueRc invariant for soundness
4b45cb9 update and clarify StructuralPartialEq docs
17c709e Use `NonNull::without_provenance` within the standard library
e22e801 Initial fs module for uefi
dcc2694 Improve the safety documentation on new_unchecked
2a1e192 Update a bunch of library types for MCP807
35a3f89 alloc: remove unsound `IsZero` for raw pointers
fac409a Fix `proc_macro::quote!` for raw ident
485fb75 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
3a38e07 Rename the internal simpler `quote` macro to `minimal_quote`
84431de Used pthread name functions returning result for FreeBSD and DragonFly
8d1c1be Fix ptr::from_ref documentation example comment
935bf76 Improve prose around `as_slice` example of IterMut
fecc5ff fmt
35ea232 update cfg(bootstrap)
a6f841c update version placeholders
fa6401b Remove some unnecessary `.into()` calls
309085e add missing provenance APIs on NonNull
d74caf1 More compelling env_clear() examples
aed6826 Implement Condvar::wait_timeout for targets without threads
2c77310 Impl String::into_chars
329ec8e Avoid naming variables `str`
4c1b8eb [generic_assert] Constify methods used by the formatting system
395f266 Add support for wasm exception handling to Emscripten target
e01c4d3 chore: remove redundant words in comment
b58cbf2 Add doc aliases for `libm` and IEEE names
9a83e13 Mark `slice::reverse` unstably const
126d78b Clarified the documentation on core::iter::from_fn and core::iter::successors
ead5d7a library: fix adler{-> 2}.debug
d5ea950 add regression test for unsound Flatten/FlatMap specialization
cc9cb45 do not in-place-iterate over flatmap/flatten
8b88444 Fix UWP build
db76b43 Bump backtrace to 0.3.75
e15a582 sync to actual dep verions of backtrace
4750cb1 turn rustc_box into an intrinsic
75d6e19 core: use public method instead of instrinsic
7e1621f core: improve comments
49696ed core: implement `bool::select_unpredictable`
f5ebc9c Switch rtems target to panic unwind
6724157 path in detail
9886a1e Move some things to `std::sync::poison` and reexport them in `std::sync`
facf51b Bump backtrace to rust-lang/backtrace-rs@4d7906b
1c3b7f6 Try to write the panic message with a single `write_all` call
aa2665f fix doc for missing Box allocator consistency
0804858 Remove qualification of `std::cmp::Ordering` in `Ord` doc
b261db4 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
2d291e4 Avoid use of LFS64 symbols on Emscripten
edaf2b2 char to_digit: avoid unnecessary casts to u64
59efb72 Remove allowing static_mut_refs lint
ecc75ca Tidy up bigint mul methods
53b5ae6 fix doc for read write unaligned in zst operation
ad24328 Avoid short writes in LineWriter
7050c88 ptr docs: make it clear that we are talking only about memory accesses
dfae026 Make slice::as_flattened_mut unstably const
b269f4c rename typed_swap → typed_swap_nonoverlapping
1995154 stabilize const_swap
dfee351 fix: typos
84a7fe6 Fix sentence fragment in `pin` module docs
39b2558 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
7020a11 Fix compilation issues on other unixes
9b8b6af Eliminate redundant statx syscalls
9be5e76 Unify fs::copy and io::copy
5bafafb Update `compiler-builtins` to 0.1.140
2c79fe2 Update library/alloc/tests/sort/tests.rs
833391a Fix typos
aa97a77 Override `carrying_mul_add` in cg_llvm
ff49176 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
5577537 Fix mistake in windows file open
1a44c18 Windows: Use WriteFile to write to a UTF-8 console
63c9e83 ptr::copy: fix docs for the overlapping case
af0b33f Fix renaming symlinks on Windows
8a1e580 docs: inline `core::ffi::c_str` types to `core::ffi`
3730d4d docs: inline `std::ffi::c_str` types to `std::ffi`
5affff2 unwinding: bump version to fix asm
36aca00 docs: update code example for Iterator#rposition
f3ca035 Use scoped threads in `std::sync::Barrier` examples
d95b560 Fix forgetting to save statx availability on success
68f6dfa Specify only that duplicates are discarded, not the order.
5f757d4 Document collection `From` and `FromIterator` impls that drop duplicate keys.
8d7e33b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
7ceb062 Impl FromIterator for tuples with arity 1-12
6228a0d Fix formatting
40334ac stabilize const_alloc_layout
55cedc9 chore: fix typos
a3f31d7 Windows: Use FILE_ALLOCATION_INFO for truncation
b79852f Bump `stdarch`
edf1637 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
316f436 Fixes safety docs for `dyn Any + Send {+ Sync}`
43e9cc1 Use `#[derive(Default)]` instead of manually implementing it
ac6d2c8 Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
e879a18 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
9662f2c docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
2ef0310 docs: Permissions.readonly() also ignores root user special permissions
a8b0d9d cargo update
9f57e29 Delete `Rvalue::Len`
477089c Asserts the maximum value that can be returned from `Vec::len`
9ab5dc3 Document `PointerLike` implementation restrictions.
492efd3 Use `&raw` for `ptr` primitive docs
bb75d16 Add `is_ascii` function optimized for x86-64 for [u8]
807bcc0 Add new implementation benchmark
3f0dc56 Document CTFE behavior of methods that call is_null
5038a86 Correctly document is_null CTFE behavior.
cca5103 Win: rename: Use offset_of! in struct size calculation
248feee Win: Remove special casing of the win7 target for `std::fs::rename`
57ddfbf Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
458be81 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
9f440a5 Less unwrap() in documentation
d38b5d4 Improve prose around into_slice example of IterMut
0c4799d Improve prose around `as_slice` example of Iter
07e9d97 Improve prose around basic examples of Iter and IterMut
8f71a01 Abstract `ProcThreadAttributeList` into its own struct
29e211e fix `PointerLike` docs
a435115 unimplement `PointerLike` for trait objects
6642046 split up `#[rustc_deny_explicit_impl]` attribute
cb785df remove reference to dangling from slice::Iter
a7b668c mri: add track_caller to thread spawning methods for better backtraces
8d7fbcb fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
2f05391 Improve documentation of `element_offset` and related methods
193d02c Rename `elem_offset` to `element_offset`
0a8b6fb docs: Mention `spare_capacity_mut()` in `Vec::set_len`
7295478 build: Update libc version
7858eb0 fix typo in ptr/mod.rs
a6245a1 Stabilize `#[diagnostic::do_not_recommend]`
5fbdba0 Use field init shorthand where possible
71108da fix(LazyCell): documentation of get[_mut] was wrong
02ec9eb 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
d62d0ee Fix typo in uint_macros.rs
f1c978d remove obsolete comment and pub(super) visibility
5450ab3 remove bounds from vec and linkedlist ExtractIf
8e2e14e Add a range argument to vec.extract_if
84f60c1 Stabilize #[coverage] attribute
ea6b282 Remove `rustc::existing_doc_keyword` lint.
ba08947 Move `doc(keyword = "while")`.
6ddfee7 rustdoc-search: let From and Into be unboxed
3a272f6 Replace i32 by char in `split_at` & `_unchecked`
ef4e3e0 Add clarity to the "greater" of `VecDeque::insert`
e92286f Replace i32 by char to add clarity
463b128 Add value accessor methods to `Mutex` and `RwLock`
e069317 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
0994582 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
e8151e8 UniqueRc: PinCoerceUnsized and DerefPure
1e8df3a UniqueRc: comparisons and Hash
cd5d93a UniqueRc: Add more trait impls.
66595ff Remove support for specializing ToString outside the standard library
c4a8ffe Correct spelling of CURRENT_RUSTC_VERSION
61e3855 Add documentation for anonymous pipe module
4111a3b feat: clarify how to use `black_box()`
c3cb0ea Update includes in '/library/core/src/error.rs';
3bffae0 Fix building `std` for Hermit after `c_char` change
8ea2aa2 Fix `Path::is_absolute` on Hermit
0ac2d3f Fix typos in docs on provenance
9eb0a5c Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
44b4369 Switch inline(always) in core/src/fmt/rt.rs to plain inline
2f9f464 Reword prelude for AsyncFn stabilization
49f6625 Stabilize async closures
313f4de Remove consteval note from <*mut T>::align_offset docs.
ce4bb95 Stabilize the Rust 2024 prelude
4053934 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
be3fe80 Move some alloc tests to the alloctests crate
a84e8c8 control libunwind linkage mode via `crt-static` on gnullvm targets
5856867 Change `GetManyMutError` to match T-libs-api decision
8fb1a68 Add references to the specific ABI documents
3831e1d Remove l4re from the unsigned char operating system list
6d8c9cf De-duplicate and improve definition of core::ffi::c_char
b32cce0 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
41be41c stabilize const_nonnull_new
c8ded3f Remove rustc_const_stable attribute on const NOOP
7ebc53a Add libc funcitons only for wasm32-wasip1-threads.
b546bfa Fix compilation for wasm32-wasip1 (without threads).
8de4746 Use UNIX thread_local implementation for WASI.
4a914fa Run TLS destructors for wasm32-wasip1-threads
84d3123 Downgrade cc
56f9cf1 Run `cargo update` and update licenses
fd7d2d5 chore: Improve doc comments
55a5e68 Refactor ReadDir into a state machine
aa37ceb wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
8a64b9d docs: better examples for `std::ops::ControlFlow`
f898db3 Expand home_dir docs
f67d0b2 Add doc alias 'then_with' for `then` method on `bool`
4f58698 Adds new intrinsic declaration
a8402d4 Define acronym for thread local storage
c476a7a Add a `collect_into` tuple test case
f2a679f Don't impl Extend for 13-tuples
13d965d Simplify documentation for Extend impl for tuples
00c81b6 Add Extend impls for tuples of arity 1 through 12
f1cce89 Unbreak tidy
df91b98 Stabilize `std::io::ErrorKind::QuotaExceeded`
5f5925e Stabilize `std::io::ErrorKind::CrossesDevices`
48a67dc Access members of `FormattingOptions` directly instead of via getters/setters
d54d93e Removed constness for methods receiving a `&mut` parameter
041df6a Added better reason for exposing `flags` and `get_flags` as unstable
3b45668 Formatted
fb59e5d Refactored FormattingOptions to use a bitmask for storing flags
b0f43c5 Revert "Turned public+unstable+hidden functions into private functions"
48060cf Turned public+unstable+hidden functions into private functions
a79523f Made all fns const
da8dd70 impl Default for fmt::FormattingOptions
2e01ab0 Fixed copy+paste error in comment
504399f fmt::FormattingOptions: Renamed `alignment` to `align`
1002196 Formatter::with_options: Use different lifetimes
9a49aab Fixed another broken test
8e81223 Added struct `fmt::FormattingOptions`
cec4e6f Formatter: Access members via getter methods wherever possible
dcb7abd Stabilize noop_waker
c05904f Improve documentation
1100d5d Reformat Python code with `ruff`
8f12f52 Improve comments for the default backtrace printer
fa8ba98 clarify simd_relaxed_fma non-determinism
75faa96 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
313db30 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
d711823 Allow fn pointers comparisons lint in library
7fba885 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9bf300d Add `core::arch::breakpoint` and test
2febf5f a release operation synchronizes with an acquire operation
2df2c7c Update the definition of `borrowing_sub`
5d054f8 stabilize const_{size,align}_of_val
d97a192 ./x miri: fix sysroot build
f3bec69 stabilize const_collections_with_hasher and build_hasher_default_const_new
aeffbe6 Match simd_relaxed_fma documentation to fmuladd intrinsic
35f370c Add simd_relaxed_fma intrinsic
c3bd5cd Fix `f16::midpoint` const feature gate
a64eea1 Use c"lit" for CStrings without unwrap
025b71a Stabilize `const_maybe_uninit_write`
d0587b7 Fix docs for '<[T]>::as_array';
6ef9a10 Stabilize `ptr::fn_addr_eq`
9f0d935 rustc_allow_const_fn_unstable is not used in proc_macro
68e8ef2 get rid of a bunch of unnecessary rustc_const_unstable
c954073 remove a whole bunch of unnecessary const feature gates
577f73d add isatty alias for is_terminal
4cd9f57 Stabilize unsigned `num_midpoint` feature
d425410 Mark `slice::copy_from_slice` unstably const
b6b16bf Fix chaining `carrying_add`s
d50e5ba add test for bytewise ptr::swap of a pointer
cf0eef5 move swap_nonoverlapping constness to separate feature gate
0306414 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
83f12d4 Add diagnostic item for `std::ops::ControlFlow`
276aa30 update link to "C++ Exceptions under the hood" blog
76824ac fix: fix codeblocks in `PathBuf` example
316a15b fix: hurd build, stat64.st_fsid was renamed to st_dev
fa80487 std: clarify comments about initialization
5702430 std: refactor `pthread`-based synchronization
c3b1a40 bump hashbrown version
599bea8 Fill in a `BTreeSet::entry` example
dd7cc2f Add a tracking issue for `btree_set_entry`
ac0f512 Add `BTreeSet` entry APIs to match `HashSet`
91850d3 Implement code review
dfeb3ec thread::available_parallelism for wasm32-wasip1-threads
c7574cf changes old intrinsic declaration to new declaration
de1f443 Fix and undeprecate home_dir()
a143be7 refine mir debuginfo docs
bc66500 Doc comment custom MIR debuginfo.
0981b93 Stabilize `extended_varargs_abi_support`
5a8b214 update cfgs
458d551 replace placeholder version
97c6470 Also use zero when referencing to capacity or length
e8a17e2 Use consistent wording in docs, use zero instead of 0
9f94acf Fix typos in pin.rs
eec9273 Share inline(never) generics across crates
d930659 fmt
a64567a aix: create shim for lgammaf_r
0e1d550 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
492e1c1 Remove one stray space.
6dc72fd Update chown help with a link and adding cap warning
48fb1bb Expand std::os::unix::fs::chown() doc with a warning
b4015bd Add missing code examples on `LocalKey`
fc0cc57 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
131db40 Remove unnecessary `#![allow(unused_features)]`
0ac376e Sort and separate lint/feature attributes in `profiler_builtins`
44f83ae std: update internal uses of `io::const_error!`
279fe7f std: expose `const_io_error!` as `const_error!`
df8886f Constify Drop and Destruct
1f0c6eb miri: disable test_downgrade_observe test on macOS
e013128 Shorten the `MaybeUninit` `Debug` implementation
118bfc5 Support ranges in `<[T]>::get_many_mut()`
d17849f btree: add `{Entry,VacantEntry}::insert_entry`
2d65bac std::thread: avoid leading whitespace in some panic messages
83bcf60 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 7e867f1
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 7, 2025
ef0f097 [create-pull-request] automated change
64f2b1a checked_ilog tests: deal with a bit of float imprecision
c3a1bc0 Fix Windows `Command` search path bug
29fb694 make `simd_insert` and `simd_extract` `const fn`s
afb2731 Update some comparison tests now that they pass in LLVM20
8b6e37e Use `.expect(..)` instead
6e79698 Remove speculation on cause of error
70750b5 Return error on unexpected termination in `Thread::join`.
51552a2 add `IntoBounds::intersect` and `RangeBounds::is_empty`
9ee4e11 require trait impls to have matching const stabilities as the traits
f3e33e0 fix: attr cast for espidf
9841ddf Do not use CString in the examples of CStr.
853522b remove MaybeUninit::uninit_array
3addad9 fix doc in library/core/src/pin.rs
85b249a Enable `f16` for MIPS
0f2916e Skip scanning for surrogates when not known valid
81ee13a Add fast path for displaying pre-validated Wtf8Buf
b3806a9 disable a potentially bogus test on Miri
ac1915b Don't doc-comment BTreeMap<K, SetValZST, A>
68ee1c0 Update `compiler-builtins` to 0.1.148
3dc6d78 remove some unnecessary rustc_const_unstable
6149a13 Implement read_buf for zkVM stdin
f318d66 stabilize extract_if
40a6164 Update string.rs
0ac5a98 Update string.rs
38326cd Stabilize `core::str::from_utf8_mut`
e78c427 Explain how Vec::with_capacity is faithful
6058a71 Stabilize `hash_extract_if`
70e30dd std: Fix another new symlink test on Windows
8a3397a remove uses of rustc_intrinsic_must_be_overridden from standard library
2face94 Correct doc about `temp_dir()` behavior on Android
5b9aa0d Simplify trait error message for CoercePointee validation
2338290 Added into_value const function to ControlFlow<T, T>
3b19a00 Fix documentation for unstable sort
61e78f5 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
787edff Fix unbounded_shifts tests
5dc8d55 Stabilize `unbounded_shifts`
d0ada29 tidying up tidy
123493f replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
01d2776 rename sub_ptr 😅
9ebe6db Update `compiler-builtins` to 0.1.147
776d981 add stdarch compatibility hack
4d1145c make the new intrinsics safe
8941ca5 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
c36b267 Remove outdated target `unexpected_cfgs`
3cf65ea update `cfg(bootstrap)`
b63bfd0 update version placeholders
cba55c9 Use faster thread_local! for stdout
bc3bf91 Use faster thread_local in current_thread_id()
614bbf1 Highlight thread_local! const init in docs
70a82a1 fix by comments
4283c44 remove assume_init in stack_overflow
3970915 Consistently using as_mut_ptr() and as_ptr() in thread
166383f Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
ff53ca0 stabilize `unsigned_is_multiple_of`
b374d73 stabilize (const_)ptr_sub_ptr
6ec49b0 Replace some instances of `pub` with `pub(crate)`
62e4416 Use `public-dependencies` in all sysroot crates
2c56cb3 Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
40ee989 Implement feature `isolate_most_least_significant_one` for integer types
7056a1b Add #[track_caller] to Duration Div impl
4581d06 Implement read_buf for WASI stdin
94b401d Stabilise `os_str_display`
ccb6182 core/net: IpAddr*::as_octets()
d9f8eda Optionally add type names to `TypeId`s.
6152c90 reduce `Box::default` stack copies in debug mode
a7e5f20 Remove obsolete MinGW ThinLTO+TLS workaround
2624d21 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
d25d3ae Stabilize `num_midpoint_signed` feature
0bf048d Add real safety comments
79a1d06 Go back to `Some` instead of transmuting to it.
04f474c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
87a50c8 Simplify `slice::Iter::next` enough that it inlines
9a26151 stabilize `inherent_str_constructors`
8524690 Synchronize platform adaptors for OsString/OsStr
ec53d7f Simplify control flow with while-let
ea46bae Improve WTF-8 comments
eeee097 Remove ignored `#[must_use]` attributes from portable-simd
5a108ca Use more explicit and reliable ptr select in sort impls
0df943b Impl TryFrom<Vec<u8>> for String
32b8847 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5dccabc Stabilize file_lock
37a39ca Update library/std/src/fs.rs
d1803a1 Update fs.rs
dd50fef Improve instant docs
13dce06 Stabilize const_slice_flatten
94729c1 Fix typo in hidden internal docs of `TrustedRandomAccess`
0ab8e5c Stabilize (and const-stabilize) `integer_sign_cast`
47d16ac fix docs for inherent str constructors
c07ced2 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
79caf1b Clarify that locking on Windows also works for files opened with `.read(true)`
f4e9888 Document that locking a file fails on Windows if the file is opened only for append
1458509 Reword file lock documentation to clarify advisory vs mandatory
30995a6 add last std diagnostic items for clippy
db00c40 Remove std::os::wasi::fs::FileExt::tell
1a4b1ab tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
9b6a9a3 Make ub_check message clear that it's not an assert
58aae77 Use tell for <File as Seek>::stream_position
c80cbf0 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
54a377b invalid_from_utf8[_unchecked]: also lint inherent methods
6218e42 Fix &&str and trailing commas in io::const_error!
a641bfd Use io::const_error! when possible over io::Error::new
755621f Add an example for std::error::Error
5b9e34d proc_macro: Apply unsafe_op_in_unsafe_fn
edce978 std: Apply unsafe_op_in_unsafe_fn
e30a819 Fix safety of windows uwp functions
6be9348 unwind: Apply unsafe_op_in_unsafe_fn
4f1db6e panic_unwind: Apply unsafe_op_in_unsafe_fn
cdd6410 panic_abort: Apply unsafe_op_in_unsafe_fn
ca7d5a8 core: Apply unsafe_op_in_unsafe_fn
e593619 docs: fix broken intra-doc links that never worked
19783e1 Forward all default methods for I/O impls
541a4d5 Windows: Update generated bindings to 0.59
fb35545 Add safe new to NotAllOnes
576351d Implement Extend<AsciiChar> for String
de22da6 re-export `core::iter::FromCoroutine`
af3a373 Implement `f{16,32,64,128}::{erf,erfc}`
bc12d9e std: Apply deprecated_safe_2024
a80f231 test: Apply deprecated_safe_2024
f6d1020 std: Apply fixes for tail drop expressions
1e0a688 std: Apply rust_2024_incompatible_pat
e0d802d std: Apply dependency_on_unit_never_type_fallback
5812e00 std: Apply missing_unsafe_on_extern
0fe0cd1 std: Apply unsafe_attr_outside_unsafe
d299573 alloc: Apply missing_unsafe_on_extern
ec4f2b9 alloc: Apply unsafe_attr_outside_unsafe
ad33ae4 alloc: Workaround hidden doctest line
06f1f5e Migrate coretests to Rust 2024
6083e3c library: Update rand to 0.9.0
52cabae core: Apply unsafe_attr_outside_unsafe
aef036b Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
48bdfdd alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
2205aeb Use `slice::fill` in `io::Repeat` implementation
31bec16 Remove the common prelude module
7eb7fc4 Correct comment for FreeBSD and DragonFly BSD in unix/thread
2c8633e `transmute` should also assume non-null pointers
9097546 Update backtrace
fc6902d expect EINVAL for pthread_mutex_destroy for aix
ef05bf9 add `IntoBounds` trait
df04622 Stabilize `get_many_mut` as `get_disjoint_mut`
c0478a4 Fix import in bench for wasm
ee7bfa5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
3f1612b Add diagnostic item for `std::io::BufRead`
69714e3 Implement `read*_exact` for `std:io::repeat`
8fe5725 std: replace the `FromInner` implementation for addresses with private conversion functions
341bf46 Stabilize target_feature_11
1471731 Change swap_nonoverlapping from lang to library UB
54440f0 `f128` is quadruple-precision
aba9541 `f16` is half-precision
dbd5829 library: amend revert of extended_varargs_abi_support for beta diff
96524c3 Revert "Stabilize `extended_varargs_abi_support`"
b997811 Change the issue number for `likely_unlikely` and `cold_path`
74af9cb Update docs for impl keyword
11ca36b include note on variance and example
4d07c7f Improve examples for file locking
0f343c6 library: doc: core::alloc::Allocator: trivial typo fix
97a1793 stabilize `NonZero::count_ones`
f78d0b5 Fix long lines which rustfmt fails to format
d291024 Reword doc comment on `CoercePointeeValidated`
d1f2756 block coerce_pointee_validated for stabilization
7260481 rename the trait to validity and place a feature gate afront
b04509b introduce CoercePointeeWellformed for coherence checks at typeck stage
a8d6946 Update `compiler-builtins` to 0.1.146
f0d8947 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c27190b ignore win_delete_self test in Miri
31da512 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d32f519 Mark extern blocks as unsafe
e3a5462 Rename field in OnceWith from gen to make
16b0493 Mark link_section attr with unsafe
c989821 Use Option for FindNextFileHandle
3c7f1e7 fix(libtest): Enable Instant on Emscripten targets
906cd83 Simplify Rc::as_ptr docs + typo fix
726ebbd Stabilize `vec_pop_if`
2aa4937 Rustfmt
732cead occured -> occurred
2ac680a Allow Rust to use a number of libc filesystem calls
fcc12b2 Windows: Test that deleting a running binary fails
75f6307 Update platform information for remove_file
fb5bcee Windows: remove readonly files
03bb961 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
62795e1 Document `Sum::sum` returns additive identities for `[]`
317f65c Clean up 'HashMap' and 'HashSet' docs;
b892d75 Optimize `Rc::<str>::default()` implementation
0c2cc40 std: get rid of `sys_common::io`
ff97a59 std: move `io` module out of `pal`
c58a610 Move two windows process tests to tests/ui
180138f tests(std/net): remove outdated `base_port` calculation
f9ef766 sys: net: Add UEFI stubs
eea1f4e Remove some unnecessary parens in `assert!` conditions
37e6aca remove use of `feature(trait_upcasting)` from core tests
86f4b51 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
e89331c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
4bd3489 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
8999778 Fix unreachable_pub lint for hermit target
c0b3088 Fix link in from_fn.rs
d96f44f Use `widening_mul`
5eaa3d6 Add OneSidedRangeBound to eliminate panic in `split_point_of`
8a60bf4 Rename slice::take methods to split_off
3209f6d Update `compiler-builtins` to 0.1.145
0bd650f specify a prim@slice in docs
6dad5ab implement inherent str constructors
18e2cdc std: move network code into `sys`
13a29e8 uefi: process: Add support for command environment variables
3537d63 Mark `std::fmt::from_fn` as `#[must_use]`
857889f Rename rustc_contract to contract
473b211 Improve contracts intrisics and remove wrapper function
526691d Separate contract feature gates for the internal machinery
26c2f64 Desugars contract into the internal AST extensions
60e508c Express contracts as part of function header and lower it to the contract lang items
e619af7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
8534d8b Contracts core intrinsics.
522dcce More PR feedback
42e9435 PR feedback
62b0a16 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
24acba1 Add note about `FnPtr` being exposed as public bound
3d12914 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
7897e75 For NonZero impl macros, give unsigned impls access to the corresponding signed type
816a396 std::fs: further simplify dirent64 handling
a561a7a add UnsafeCell direct access APIs
5beaefc primitive type migration from mod.rs to primitives.rs
148c63e implement unstable `new_range` feature
27a0a5b std::range
5c166aa Remove stabilized feature gate
1e27979 Move env modifying tests to a separate integration test
10b7576 Fix for SGX
c5e3db5 Fix benchmarking of libstd
d4958a0 Move std::sync unit tests to integration tests
319453a Move std::thread_local unit tests to integration tests
5201ec6 Move std::time unit tests to integration tests
ec5ad10 Move std::path unit tests to integration tests
66fd95c Move std::panic unit tests to integration tests
fdf5133 Move std::num unit tests to integration tests
8d70f37 Move std float unit tests to integration tests
16cbcf2 Move std::error unit tests to integration tests
80c1193 Move std::env unit tests to integration tests
586737e no unsafe pointer and no overflowing_literals in fmt::Display of integers
3d75a0c black_box integer-input on fmt benches
26d6662 OnceCell & OnceLock docs: Using (un)initialized consistently
f8c386b Docs for f16 and f128: correct a typo and add details
7bff6b6 rustc_allowed_through_unstable_modules: require deprecation message
fec18a1 Update encode_utf16 to mention it is native endian
0e54da3 remove Rustc{En,De}codable from library and compiler
f969806 make rustc_encodable_decodable feature properly unstable
2820baf Fix sentence in process::abort
f834210 document ptr comparison being by address
5046d88 stabilize `once_wait`
bcf9324 implement all min/max fns in terms of `<`/`is_lt`
3afca8e improve doc tests for (min/max/minmax).* functions
2596636 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c2ebd3d Add documentation for derive(CoercePointee)
8a57219 Fix off-by-one error causing driftsort to crash
4a787d0 Insert null checks for pointer dereferences when debug assertions are enabled
6746f0f atomic: extend compare_and_swap migration docs
a1b689e float::min/max: mention the non-determinism around signed 0
77b4295 Stabilize `const_black_box`
cc4725e Improve documentation for file locking
d5dc487 Remove minor future footgun in `impl Debug for MaybeUninit`
a6cd342 Add `AsyncFn*` to core prelude
25c44a5 uefi: Implement path
667c939 Implement `int_from_ascii` (rust-lang#134821)
6637642 Cleanup docs for Allocator
416ced1 btree/node.rs: pop_internal_level: does not invalidate other handles
e6434b1 btree/node.rs: remove incorrect comment from pop_internal_level docs
061a6fe add inline attribute and codegen test
8531bd0 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
88d05c0 optimize slice::ptr_rotate for compile-time-constant small rotates
64a9a9f Test pipes also when not running on Windows and Linux simultaneously
6dbe017 uefi: process: Fix args
f910b96 [cfg_match] Document the use of expressions
5edbe52 Update comments and sort target_arch in c_char_definition
74efd97 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
f0bd2d2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
0d0e9d4 Document powf and powi calls that always return 1.0
9070bb8 Document purpose of closure in from_fn.rs more clearly
85d2ef5 add missing allocator safety in alloc crate
bc9b642 alloc: add `#![warn(unreachable_pub)]`
a78c17f Implement `AtomicT::update` & `AtomicT::try_update`
11b4fb7 fix doc for std::sync::mpmc
332ddeb Implement phantom variance markers
e175c96 Clarify WindowsMut (Lending)Iterator
2954733 compiler_fence: fix example
4711205 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
8fdbfcc Move `std::io::pipe` code into its own file
d5bc23e Actually run the bstr test
63aa66e Update comment
b54e951 Put all coretests in a separate crate
5f996bb Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
e0a4de9 add nto80 x86-64 and aarch64 target
70547f0 Add support for QNX 7.1 with io-sock on x64
d87dbcb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
e1768a5 Update a bunch of comments from before wasi support was added
643837f Remove a bunch of emscripten test ignores
3b6f892 Fix testing of the standard library with Emscripten
08d0a4f fix(libtest): Deprecate '--logfile'
65b818a docs: fix typo in std::pin overview
28b9e96 ports last few library files to new intrinsic style
53e6919 Improve and expand documentation of pipes
d479654 Fix set_name in thread mod for NuttX
63f84e9 Fix `FormattingOptions` instantiation with `Default`
5a2c03d Update library/core/src/num/nonzero.rs
28541bb Add memory layout documentation to generic NonZero<T>
2c8447b Fix whitespace
a4fd38e document order of items in iterator from drain
c1d8f3d Add `File already exists` error doc to `hard_link` function
6d92a7f Doc difference between extend and extend_from_slice
d2c23ff Make `Vec::pop_if` a bit more presentable
56c844c Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
73f1b22 remove pointless allowed_through_unstable_modules on TryFromSliceError
18b0426 test: add `#![warn(unreachable_pub)]`
48259e8 proc_macro: add `#![warn(unreachable_pub)]`
49c9ff2 Implement `CloneToUninit` for `ByteStr`
ed7b52a Add doc aliases for BStr and BString
89b94b2 Omit some more `From` impls to avoid inference failures
68d063d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
7561b27 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
9b1947f Implement `ByteStr` and `ByteString` types
11be50b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
467d2e5 Library: Finalize dyn compatibility renaming
883e259 Remove test panic from File::open
37801f8 fix OsString::from_encoded_bytes_unchecked description
359abe2 Add an example of using `carrying_mul_add` to write wider multiplication
4bf0fc9 Outline panicking code for `LocalKey::with`
468d258 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
507ffb5 core: add `#![warn(unreachable_pub)]`
fca1d52 rtstartup: add `#![warn(unreachable_pub)]`
7fede9a panic_unwind: add `#![warn(unreachable_pub)]`
49c0fc2 Recognise new IPv6 documentation range from RFC9637
c91d6e5 1. Removed 'rustc_nounwind' 2. Rewording of comments
9dc5e61 Export likely(), unlikely() and cold_path() in std::hint
e868a10 Correct counting to four in cell module docs
7ebfea3 doc: Point to methods on `Command` as alternatives to `set/remove_var`
74a5f96 wasi/io: remove dead files
29253bb remove unnecessary rustc_allowed_through_unstable_modules
0cb9f60 further improve panic_immediate_abort by removing rtprintpanic messages
101e6fc cargo update
7342d8f Rewrap following accepting review suggestions from @ibraheemdev
5d341b6 Update library/core/src/slice/mod.rs
00c745c Update library/core/src/slice/mod.rs
187eaa3 Update library/core/src/slice/mod.rs
881832a Update library/core/src/slice/mod.rs
7326106 Update library/core/src/slice/mod.rs
6a2d8b8 Update library/core/src/slice/mod.rs
b764b98 Update library/core/src/slice/mod.rs
623bdc2 Update library/core/src/slice/mod.rs
fe60d99 Update library/core/src/slice/mod.rs
fcd6913 Update library/core/src/slice/mod.rs
72640bc `then be` -> `be` based on feedback from @ibraheemdev
3fe4771 Improve `select_nth_unstable` documentation clarity
2cb818f Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
6d14ec0 Add references to the IEEE functions for `float_next_up_down`
920d386 Stabilize `float_next_up_down`
e53b690 Fix import of pipe in kernel_copy.rs
9613494 Move `std::pipe::*` into `std::io`
41893a0 Clarify note in `std::sync::LazyLock` example
b8303f0 fix typo in library/alloc/src/sync.rs
2103ef3 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a7f7f6e Adjust syntax
2c52964 Less unsafe in `dangling`/`without_provenance`
5de413e fix typo in typenames of pin documentation
15c0127 intrinsics: deprecate calling them via the unstable std::intrinsics path
13c63fe add comments explaining main thread identification
83d97ee std: lazily allocate the main thread handle
de0a334 Revert "Remove the Arc rt::init allocation for thread info"
028efa0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
14af7ad Update compiler-builtins to 0.1.143
b26cfc6 Rename `pos` to `position`
847bb19 Convert `struct FromBytesWithNulError` into enum
e214442 Enforce syntactical stability of const traits in HIR
1511f9e Update compiler-builtins to 0.1.141
1589d0b Add another `Vec::splice` example
a574226 avoid nesting the user-defined main so deeply on the stack
e35d731 use a single large catch_unwind in lang_start
23a5f08 uefi: helpers: Introduce OwnedDevicePath
9db8150 path: Move is_absolute check to sys::path
d3afa44 Update the explanation for why we use box_new in vec!
8ecd1d5 Add #[inline] to copy_from_slice
1b7e73a Add inherent versions of MaybeUninit methods for slices
2671eb5 Make UniqueRc invariant for soundness
1e55e38 update and clarify StructuralPartialEq docs
c3df7cd Use `NonNull::without_provenance` within the standard library
cc0fc4a Initial fs module for uefi
b8ebc3b Improve the safety documentation on new_unchecked
c20c11d Update a bunch of library types for MCP807
914ee4f alloc: remove unsound `IsZero` for raw pointers
aedc4a5 Fix `proc_macro::quote!` for raw ident
c3cca95 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
1375607 Rename the internal simpler `quote` macro to `minimal_quote`
189a1d6 Used pthread name functions returning result for FreeBSD and DragonFly
b4227ca Fix ptr::from_ref documentation example comment
9f7ea6b Improve prose around `as_slice` example of IterMut
8825c2c fmt
0cfcb4b update cfg(bootstrap)
b271343 update version placeholders
3a9b79b Remove some unnecessary `.into()` calls
cbce3da add missing provenance APIs on NonNull
4eef067 More compelling env_clear() examples
b5226d0 Implement Condvar::wait_timeout for targets without threads
70ca299 Impl String::into_chars
add3dd9 Avoid naming variables `str`
285706c [generic_assert] Constify methods used by the formatting system
328351f Add support for wasm exception handling to Emscripten target
fae1945 chore: remove redundant words in comment
0fe9cc2 Add doc aliases for `libm` and IEEE names
2090c36 Mark `slice::reverse` unstably const
7118359 Clarified the documentation on core::iter::from_fn and core::iter::successors
56acaee library: fix adler{-> 2}.debug
bc7ff12 add regression test for unsound Flatten/FlatMap specialization
be95771 do not in-place-iterate over flatmap/flatten
4317f17 Fix UWP build
6da0643 Bump backtrace to 0.3.75
4e0279c sync to actual dep verions of backtrace
181cda1 turn rustc_box into an intrinsic
8974f20 core: use public method instead of instrinsic
f61b805 core: improve comments
111122e core: implement `bool::select_unpredictable`
fe125b2 Switch rtems target to panic unwind
47a3749 path in detail
ce272e6 Move some things to `std::sync::poison` and reexport them in `std::sync`
73137b1 Bump backtrace to rust-lang/backtrace-rs@4d7906b
2f00b57 Try to write the panic message with a single `write_all` call
8fc894e fix doc for missing Box allocator consistency
c123ec7 Remove qualification of `std::cmp::Ordering` in `Ord` doc
5dd3355 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
381118b Avoid use of LFS64 symbols on Emscripten
ae47595 char to_digit: avoid unnecessary casts to u64
3d3342b Remove allowing static_mut_refs lint
f8f894e Tidy up bigint mul methods
153737e fix doc for read write unaligned in zst operation
fb24eac Avoid short writes in LineWriter
c2ab1fb ptr docs: make it clear that we are talking only about memory accesses
8d6f948 Make slice::as_flattened_mut unstably const
d9bd636 rename typed_swap → typed_swap_nonoverlapping
57e6fa0 stabilize const_swap
85e3c60 fix: typos
7e555eb Fix sentence fragment in `pin` module docs
3daa58d docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
2b5202a Fix compilation issues on other unixes
712102c Eliminate redundant statx syscalls
3054f34 Unify fs::copy and io::copy
c28e5f6 Update `compiler-builtins` to 0.1.140
2230aec Update library/alloc/tests/sort/tests.rs
0e779e3 Fix typos
ef8b08d Override `carrying_mul_add` in cg_llvm
b703499 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
84d71a6 Fix mistake in windows file open
4e3170a Windows: Use WriteFile to write to a UTF-8 console
0093861 ptr::copy: fix docs for the overlapping case
d21473a Fix renaming symlinks on Windows
e9b5463 docs: inline `core::ffi::c_str` types to `core::ffi`
20e6f8e docs: inline `std::ffi::c_str` types to `std::ffi`
76e9ed6 unwinding: bump version to fix asm
ae5f4ef docs: update code example for Iterator#rposition
b6b2150 Use scoped threads in `std::sync::Barrier` examples
83aff29 Fix forgetting to save statx availability on success
c2b4f74 Specify only that duplicates are discarded, not the order.
5cd112c Document collection `From` and `FromIterator` impls that drop duplicate keys.
d8bd1fb Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
443681e Impl FromIterator for tuples with arity 1-12
4a9cd56 Fix formatting
835b27e stabilize const_alloc_layout
5b48895 chore: fix typos
948ba40 Windows: Use FILE_ALLOCATION_INFO for truncation
9a2e864 Bump `stdarch`
ae26451 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
d5d26e9 Fixes safety docs for `dyn Any + Send {+ Sync}`
55930bb Use `#[derive(Default)]` instead of manually implementing it
b05e73a Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
bb5b799 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
599256e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
720f561 docs: Permissions.readonly() also ignores root user special permissions
c65986f cargo update
1c7d00a Delete `Rvalue::Len`
b7712d9 Asserts the maximum value that can be returned from `Vec::len`
90c0a7c Document `PointerLike` implementation restrictions.
c5cc438 Use `&raw` for `ptr` primitive docs
61c0a0a Add `is_ascii` function optimized for x86-64 for [u8]
5d95cdc Add new implementation benchmark
2fc67c5 Document CTFE behavior of methods that call is_null
bbbfe3f Correctly document is_null CTFE behavior.
44e4895 Win: rename: Use offset_of! in struct size calculation
7bae459 Win: Remove special casing of the win7 target for `std::fs::rename`
7a248e1 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
d0d2b49 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
8f7cf92 Less unwrap() in documentation
77f3dea Improve prose around into_slice example of IterMut
fb8661d Improve prose around `as_slice` example of Iter
7d06f29 Improve prose around basic examples of Iter and IterMut
54b9f1a Abstract `ProcThreadAttributeList` into its own struct
9d76cf5 fix `PointerLike` docs
29446d2 unimplement `PointerLike` for trait objects
ccfe7aa split up `#[rustc_deny_explicit_impl]` attribute
3194e7d remove reference to dangling from slice::Iter
3a5aee1 mri: add track_caller to thread spawning methods for better backtraces
b54934c fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
c619a0e Improve documentation of `element_offset` and related methods
98a69d6 Rename `elem_offset` to `element_offset`
6e39698 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
91c4ab0 build: Update libc version
0e014f6 fix typo in ptr/mod.rs
144dea3 Stabilize `#[diagnostic::do_not_recommend]`
12e2aec Use field init shorthand where possible
b8796d2 fix(LazyCell): documentation of get[_mut] was wrong
d988e7b 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
0dfcb5a Fix typo in uint_macros.rs
0b6d717 remove obsolete comment and pub(super) visibility
ab9827f remove bounds from vec and linkedlist ExtractIf
13feda4 Add a range argument to vec.extract_if
15bdd31 Stabilize #[coverage] attribute
2322c7a Remove `rustc::existing_doc_keyword` lint.
4a4b343 Move `doc(keyword = "while")`.
509c8a6 rustdoc-search: let From and Into be unboxed
6071a58 Replace i32 by char in `split_at` & `_unchecked`
8e8a475 Add clarity to the "greater" of `VecDeque::insert`
352800a Replace i32 by char to add clarity
ece5840 Add value accessor methods to `Mutex` and `RwLock`
4afa7a6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
f6519f2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
8008896 UniqueRc: PinCoerceUnsized and DerefPure
bcaea4f UniqueRc: comparisons and Hash
973f325 UniqueRc: Add more trait impls.
3f21a79 Remove support for specializing ToString outside the standard library
a18db41 Correct spelling of CURRENT_RUSTC_VERSION
b109dbd Add documentation for anonymous pipe module
7cf2173 feat: clarify how to use `black_box()`
59b15c0 Update includes in '/library/core/src/error.rs';
8a43221 Fix building `std` for Hermit after `c_char` change
f1e5058 Fix `Path::is_absolute` on Hermit
393b70c Fix typos in docs on provenance
ad7465b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1d243af Switch inline(always) in core/src/fmt/rt.rs to plain inline
525f76a Reword prelude for AsyncFn stabilization
8a27c31 Stabilize async closures
f642d1e Remove consteval note from <*mut T>::align_offset docs.
40e1e6a Stabilize the Rust 2024 prelude
b97f4b1 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
7663b8e Move some alloc tests to the alloctests crate
c41ae46 control libunwind linkage mode via `crt-static` on gnullvm targets
a9aa795 Change `GetManyMutError` to match T-libs-api decision
6c26c1f Add references to the specific ABI documents
3f27d14 Remove l4re from the unsigned char operating system list
8dad89d De-duplicate and improve definition of core::ffi::c_char
ea28d00 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
bdc41b0 stabilize const_nonnull_new
0b9fa79 Remove rustc_const_stable attribute on const NOOP
7dc60b0 Add libc funcitons only for wasm32-wasip1-threads.
8a3d98e Fix compilation for wasm32-wasip1 (without threads).
2e3c4c1 Use UNIX thread_local implementation for WASI.
db3dabd Run TLS destructors for wasm32-wasip1-threads
db10ed2 Downgrade cc
71746ce Run `cargo update` and update licenses
d1fec28 chore: Improve doc comments
c5441a0 Refactor ReadDir into a state machine
801f202 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
0ec7440 docs: better examples for `std::ops::ControlFlow`
40b7e34 Expand home_dir docs
ee25eae Add doc alias 'then_with' for `then` method on `bool`
6caf966 Adds new intrinsic declaration
13c822f Define acronym for thread local storage
24d01f8 Add a `collect_into` tuple test case
8a692d7 Don't impl Extend for 13-tuples
0633f80 Simplify documentation for Extend impl for tuples
51e7e30 Add Extend impls for tuples of arity 1 through 12
65ebd99 Unbreak tidy
9720b30 Stabilize `std::io::ErrorKind::QuotaExceeded`
b1c6073 Stabilize `std::io::ErrorKind::CrossesDevices`
55c56a8 Access members of `FormattingOptions` directly instead of via getters/setters
d08846f Removed constness for methods receiving a `&mut` parameter
5b85082 Added better reason for exposing `flags` and `get_flags` as unstable
1a77dd5 Formatted
26aad90 Refactored FormattingOptions to use a bitmask for storing flags
01aa5c5 Revert "Turned public+unstable+hidden functions into private functions"
8143c45 Turned public+unstable+hidden functions into private functions
f2e12e2 Made all fns const
9999525 impl Default for fmt::FormattingOptions
22c0378 Fixed copy+paste error in comment
5a7cd46 fmt::FormattingOptions: Renamed `alignment` to `align`
8917e4b Formatter::with_options: Use different lifetimes
6fccc33 Fixed another broken test
e7da947 Added struct `fmt::FormattingOptions`
7ec5713 Formatter: Access members via getter methods wherever possible
c5be4f9 Stabilize noop_waker
992149b Improve documentation
4623ca3 Reformat Python code with `ruff`
9a261ff Improve comments for the default backtrace printer
90aca0d clarify simd_relaxed_fma non-determinism
9382a29 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
0b6e45d Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
7609542 Allow fn pointers comparisons lint in library
aa74eb2 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ccb8b4 Add `core::arch::breakpoint` and test
abcce94 a release operation synchronizes with an acquire operation
c801b09 Update the definition of `borrowing_sub`
afcc3e9 stabilize const_{size,align}_of_val
1ff28eb ./x miri: fix sysroot build
6ad4c21 stabilize const_collections_with_hasher and build_hasher_default_const_new
f8d800c Match simd_relaxed_fma documentation to fmuladd intrinsic
6aa2851 Add simd_relaxed_fma intrinsic
579e5e1 Fix `f16::midpoint` const feature gate
ef451d5 Use c"lit" for CStrings without unwrap
1f20c08 Stabilize `const_maybe_uninit_write`
520b445 Fix docs for '<[T]>::as_array';
94547e9 Stabilize `ptr::fn_addr_eq`
39e964b rustc_allow_const_fn_unstable is not used in proc_macro
7c3008d get rid of a bunch of unnecessary rustc_const_unstable
5de2b3f remove a whole bunch of unnecessary const feature gates
ed5c4a9 add isatty alias for is_terminal
07ca1fa Stabilize unsigned `num_midpoint` feature
49d16de Mark `slice::copy_from_slice` unstably const
8426192 Fix chaining `carrying_add`s
e0da459 add test for bytewise ptr::swap of a pointer
5d54d49 move swap_nonoverlapping constness to separate feature gate
4417e17 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
26015bb Add diagnostic item for `std::ops::ControlFlow`
4019a11 update link to "C++ Exceptions under the hood" blog
386b985 fix: fix codeblocks in `PathBuf` example
c550669 fix: hurd build, stat64.st_fsid was renamed to st_dev
ae58d9e std: clarify comments about initialization
014fc05 std: refactor `pthread`-based synchronization
54ca95f bump hashbrown version
8afdd20 Fill in a `BTreeSet::entry` example
a0554fb Add a tracking issue for `btree_set_entry`
71144f7 Add `BTreeSet` entry APIs to match `HashSet`
d862a5c Implement code review
eeffc1a thread::available_parallelism for wasm32-wasip1-threads
4529581 changes old intrinsic declaration to new declaration
00777b5 Fix and undeprecate home_dir()
901694b refine mir debuginfo docs
b18cf92 Doc comment custom MIR debuginfo.
0fb7578 Stabilize `extended_varargs_abi_support`
a6289b0 update cfgs
d3d7ff0 replace placeholder version
17ac3a9 Also use zero when referencing to capacity or length
4cf034f Use consistent wording in docs, use zero instead of 0
5cd2f7d Fix typos in pin.rs
129c425 Share inline(never) generics across crates
1eec4db fmt
6a3a37a aix: create shim for lgammaf_r
4a77898 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
ba5ad84 Remove one stray space.
24c150a Update chown help with a link and adding cap warning
709b548 Expand std::os::unix::fs::chown() doc with a warning
1546ede Add missing code examples on `LocalKey`
ca2723b Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
e3cabe5 Remove unnecessary `#![allow(unused_features)]`
0512cb6 Sort and separate lint/feature attributes in `profiler_builtins`
c18f916 std: update internal uses of `io::const_error!`
a01ee48 std: expose `const_io_error!` as `const_error!`
df35e90 Constify Drop and Destruct
fb219bd miri: disable test_downgrade_observe test on macOS
5acb82d Shorten the `MaybeUninit` `Debug` implementation
c6d08f5 Support ranges in `<[T]>::get_many_mut()`
82d4539 btree: add `{Entry,VacantEntry}::insert_entry`
bfbb9b2 std::thread: avoid leading whitespace in some panic messages
062e398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: ef0f097
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 8, 2025
ef0f097 [create-pull-request] automated change
64f2b1a checked_ilog tests: deal with a bit of float imprecision
c3a1bc0 Fix Windows `Command` search path bug
29fb694 make `simd_insert` and `simd_extract` `const fn`s
afb2731 Update some comparison tests now that they pass in LLVM20
8b6e37e Use `.expect(..)` instead
6e79698 Remove speculation on cause of error
70750b5 Return error on unexpected termination in `Thread::join`.
51552a2 add `IntoBounds::intersect` and `RangeBounds::is_empty`
9ee4e11 require trait impls to have matching const stabilities as the traits
f3e33e0 fix: attr cast for espidf
9841ddf Do not use CString in the examples of CStr.
853522b remove MaybeUninit::uninit_array
3addad9 fix doc in library/core/src/pin.rs
85b249a Enable `f16` for MIPS
0f2916e Skip scanning for surrogates when not known valid
81ee13a Add fast path for displaying pre-validated Wtf8Buf
b3806a9 disable a potentially bogus test on Miri
ac1915b Don't doc-comment BTreeMap<K, SetValZST, A>
68ee1c0 Update `compiler-builtins` to 0.1.148
3dc6d78 remove some unnecessary rustc_const_unstable
6149a13 Implement read_buf for zkVM stdin
f318d66 stabilize extract_if
40a6164 Update string.rs
0ac5a98 Update string.rs
38326cd Stabilize `core::str::from_utf8_mut`
e78c427 Explain how Vec::with_capacity is faithful
6058a71 Stabilize `hash_extract_if`
70e30dd std: Fix another new symlink test on Windows
8a3397a remove uses of rustc_intrinsic_must_be_overridden from standard library
2face94 Correct doc about `temp_dir()` behavior on Android
5b9aa0d Simplify trait error message for CoercePointee validation
2338290 Added into_value const function to ControlFlow<T, T>
3b19a00 Fix documentation for unstable sort
61e78f5 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
787edff Fix unbounded_shifts tests
5dc8d55 Stabilize `unbounded_shifts`
d0ada29 tidying up tidy
123493f replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
01d2776 rename sub_ptr 😅
9ebe6db Update `compiler-builtins` to 0.1.147
776d981 add stdarch compatibility hack
4d1145c make the new intrinsics safe
8941ca5 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
c36b267 Remove outdated target `unexpected_cfgs`
3cf65ea update `cfg(bootstrap)`
b63bfd0 update version placeholders
cba55c9 Use faster thread_local! for stdout
bc3bf91 Use faster thread_local in current_thread_id()
614bbf1 Highlight thread_local! const init in docs
70a82a1 fix by comments
4283c44 remove assume_init in stack_overflow
3970915 Consistently using as_mut_ptr() and as_ptr() in thread
166383f Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
ff53ca0 stabilize `unsigned_is_multiple_of`
b374d73 stabilize (const_)ptr_sub_ptr
6ec49b0 Replace some instances of `pub` with `pub(crate)`
62e4416 Use `public-dependencies` in all sysroot crates
2c56cb3 Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
40ee989 Implement feature `isolate_most_least_significant_one` for integer types
7056a1b Add #[track_caller] to Duration Div impl
4581d06 Implement read_buf for WASI stdin
94b401d Stabilise `os_str_display`
ccb6182 core/net: IpAddr*::as_octets()
d9f8eda Optionally add type names to `TypeId`s.
6152c90 reduce `Box::default` stack copies in debug mode
a7e5f20 Remove obsolete MinGW ThinLTO+TLS workaround
2624d21 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
d25d3ae Stabilize `num_midpoint_signed` feature
0bf048d Add real safety comments
79a1d06 Go back to `Some` instead of transmuting to it.
04f474c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
87a50c8 Simplify `slice::Iter::next` enough that it inlines
9a26151 stabilize `inherent_str_constructors`
8524690 Synchronize platform adaptors for OsString/OsStr
ec53d7f Simplify control flow with while-let
ea46bae Improve WTF-8 comments
eeee097 Remove ignored `#[must_use]` attributes from portable-simd
5a108ca Use more explicit and reliable ptr select in sort impls
0df943b Impl TryFrom<Vec<u8>> for String
32b8847 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5dccabc Stabilize file_lock
37a39ca Update library/std/src/fs.rs
d1803a1 Update fs.rs
dd50fef Improve instant docs
13dce06 Stabilize const_slice_flatten
94729c1 Fix typo in hidden internal docs of `TrustedRandomAccess`
0ab8e5c Stabilize (and const-stabilize) `integer_sign_cast`
47d16ac fix docs for inherent str constructors
c07ced2 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
79caf1b Clarify that locking on Windows also works for files opened with `.read(true)`
f4e9888 Document that locking a file fails on Windows if the file is opened only for append
1458509 Reword file lock documentation to clarify advisory vs mandatory
30995a6 add last std diagnostic items for clippy
db00c40 Remove std::os::wasi::fs::FileExt::tell
1a4b1ab tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
9b6a9a3 Make ub_check message clear that it's not an assert
58aae77 Use tell for <File as Seek>::stream_position
c80cbf0 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
54a377b invalid_from_utf8[_unchecked]: also lint inherent methods
6218e42 Fix &&str and trailing commas in io::const_error!
a641bfd Use io::const_error! when possible over io::Error::new
755621f Add an example for std::error::Error
5b9e34d proc_macro: Apply unsafe_op_in_unsafe_fn
edce978 std: Apply unsafe_op_in_unsafe_fn
e30a819 Fix safety of windows uwp functions
6be9348 unwind: Apply unsafe_op_in_unsafe_fn
4f1db6e panic_unwind: Apply unsafe_op_in_unsafe_fn
cdd6410 panic_abort: Apply unsafe_op_in_unsafe_fn
ca7d5a8 core: Apply unsafe_op_in_unsafe_fn
e593619 docs: fix broken intra-doc links that never worked
19783e1 Forward all default methods for I/O impls
541a4d5 Windows: Update generated bindings to 0.59
fb35545 Add safe new to NotAllOnes
576351d Implement Extend<AsciiChar> for String
de22da6 re-export `core::iter::FromCoroutine`
af3a373 Implement `f{16,32,64,128}::{erf,erfc}`
bc12d9e std: Apply deprecated_safe_2024
a80f231 test: Apply deprecated_safe_2024
f6d1020 std: Apply fixes for tail drop expressions
1e0a688 std: Apply rust_2024_incompatible_pat
e0d802d std: Apply dependency_on_unit_never_type_fallback
5812e00 std: Apply missing_unsafe_on_extern
0fe0cd1 std: Apply unsafe_attr_outside_unsafe
d299573 alloc: Apply missing_unsafe_on_extern
ec4f2b9 alloc: Apply unsafe_attr_outside_unsafe
ad33ae4 alloc: Workaround hidden doctest line
06f1f5e Migrate coretests to Rust 2024
6083e3c library: Update rand to 0.9.0
52cabae core: Apply unsafe_attr_outside_unsafe
aef036b Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
48bdfdd alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
2205aeb Use `slice::fill` in `io::Repeat` implementation
31bec16 Remove the common prelude module
7eb7fc4 Correct comment for FreeBSD and DragonFly BSD in unix/thread
2c8633e `transmute` should also assume non-null pointers
9097546 Update backtrace
fc6902d expect EINVAL for pthread_mutex_destroy for aix
ef05bf9 add `IntoBounds` trait
df04622 Stabilize `get_many_mut` as `get_disjoint_mut`
c0478a4 Fix import in bench for wasm
ee7bfa5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
3f1612b Add diagnostic item for `std::io::BufRead`
69714e3 Implement `read*_exact` for `std:io::repeat`
8fe5725 std: replace the `FromInner` implementation for addresses with private conversion functions
341bf46 Stabilize target_feature_11
1471731 Change swap_nonoverlapping from lang to library UB
54440f0 `f128` is quadruple-precision
aba9541 `f16` is half-precision
dbd5829 library: amend revert of extended_varargs_abi_support for beta diff
96524c3 Revert "Stabilize `extended_varargs_abi_support`"
b997811 Change the issue number for `likely_unlikely` and `cold_path`
74af9cb Update docs for impl keyword
11ca36b include note on variance and example
4d07c7f Improve examples for file locking
0f343c6 library: doc: core::alloc::Allocator: trivial typo fix
97a1793 stabilize `NonZero::count_ones`
f78d0b5 Fix long lines which rustfmt fails to format
d291024 Reword doc comment on `CoercePointeeValidated`
d1f2756 block coerce_pointee_validated for stabilization
7260481 rename the trait to validity and place a feature gate afront
b04509b introduce CoercePointeeWellformed for coherence checks at typeck stage
a8d6946 Update `compiler-builtins` to 0.1.146
f0d8947 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c27190b ignore win_delete_self test in Miri
31da512 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d32f519 Mark extern blocks as unsafe
e3a5462 Rename field in OnceWith from gen to make
16b0493 Mark link_section attr with unsafe
c989821 Use Option for FindNextFileHandle
3c7f1e7 fix(libtest): Enable Instant on Emscripten targets
906cd83 Simplify Rc::as_ptr docs + typo fix
726ebbd Stabilize `vec_pop_if`
2aa4937 Rustfmt
732cead occured -> occurred
2ac680a Allow Rust to use a number of libc filesystem calls
fcc12b2 Windows: Test that deleting a running binary fails
75f6307 Update platform information for remove_file
fb5bcee Windows: remove readonly files
03bb961 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
62795e1 Document `Sum::sum` returns additive identities for `[]`
317f65c Clean up 'HashMap' and 'HashSet' docs;
b892d75 Optimize `Rc::<str>::default()` implementation
0c2cc40 std: get rid of `sys_common::io`
ff97a59 std: move `io` module out of `pal`
c58a610 Move two windows process tests to tests/ui
180138f tests(std/net): remove outdated `base_port` calculation
f9ef766 sys: net: Add UEFI stubs
eea1f4e Remove some unnecessary parens in `assert!` conditions
37e6aca remove use of `feature(trait_upcasting)` from core tests
86f4b51 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
e89331c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
4bd3489 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
8999778 Fix unreachable_pub lint for hermit target
c0b3088 Fix link in from_fn.rs
d96f44f Use `widening_mul`
5eaa3d6 Add OneSidedRangeBound to eliminate panic in `split_point_of`
8a60bf4 Rename slice::take methods to split_off
3209f6d Update `compiler-builtins` to 0.1.145
0bd650f specify a prim@slice in docs
6dad5ab implement inherent str constructors
18e2cdc std: move network code into `sys`
13a29e8 uefi: process: Add support for command environment variables
3537d63 Mark `std::fmt::from_fn` as `#[must_use]`
857889f Rename rustc_contract to contract
473b211 Improve contracts intrisics and remove wrapper function
526691d Separate contract feature gates for the internal machinery
26c2f64 Desugars contract into the internal AST extensions
60e508c Express contracts as part of function header and lower it to the contract lang items
e619af7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
8534d8b Contracts core intrinsics.
522dcce More PR feedback
42e9435 PR feedback
62b0a16 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
24acba1 Add note about `FnPtr` being exposed as public bound
3d12914 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
7897e75 For NonZero impl macros, give unsigned impls access to the corresponding signed type
816a396 std::fs: further simplify dirent64 handling
a561a7a add UnsafeCell direct access APIs
5beaefc primitive type migration from mod.rs to primitives.rs
148c63e implement unstable `new_range` feature
27a0a5b std::range
5c166aa Remove stabilized feature gate
1e27979 Move env modifying tests to a separate integration test
10b7576 Fix for SGX
c5e3db5 Fix benchmarking of libstd
d4958a0 Move std::sync unit tests to integration tests
319453a Move std::thread_local unit tests to integration tests
5201ec6 Move std::time unit tests to integration tests
ec5ad10 Move std::path unit tests to integration tests
66fd95c Move std::panic unit tests to integration tests
fdf5133 Move std::num unit tests to integration tests
8d70f37 Move std float unit tests to integration tests
16cbcf2 Move std::error unit tests to integration tests
80c1193 Move std::env unit tests to integration tests
586737e no unsafe pointer and no overflowing_literals in fmt::Display of integers
3d75a0c black_box integer-input on fmt benches
26d6662 OnceCell & OnceLock docs: Using (un)initialized consistently
f8c386b Docs for f16 and f128: correct a typo and add details
7bff6b6 rustc_allowed_through_unstable_modules: require deprecation message
fec18a1 Update encode_utf16 to mention it is native endian
0e54da3 remove Rustc{En,De}codable from library and compiler
f969806 make rustc_encodable_decodable feature properly unstable
2820baf Fix sentence in process::abort
f834210 document ptr comparison being by address
5046d88 stabilize `once_wait`
bcf9324 implement all min/max fns in terms of `<`/`is_lt`
3afca8e improve doc tests for (min/max/minmax).* functions
2596636 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c2ebd3d Add documentation for derive(CoercePointee)
8a57219 Fix off-by-one error causing driftsort to crash
4a787d0 Insert null checks for pointer dereferences when debug assertions are enabled
6746f0f atomic: extend compare_and_swap migration docs
a1b689e float::min/max: mention the non-determinism around signed 0
77b4295 Stabilize `const_black_box`
cc4725e Improve documentation for file locking
d5dc487 Remove minor future footgun in `impl Debug for MaybeUninit`
a6cd342 Add `AsyncFn*` to core prelude
25c44a5 uefi: Implement path
667c939 Implement `int_from_ascii` (rust-lang#134821)
6637642 Cleanup docs for Allocator
416ced1 btree/node.rs: pop_internal_level: does not invalidate other handles
e6434b1 btree/node.rs: remove incorrect comment from pop_internal_level docs
061a6fe add inline attribute and codegen test
8531bd0 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
88d05c0 optimize slice::ptr_rotate for compile-time-constant small rotates
64a9a9f Test pipes also when not running on Windows and Linux simultaneously
6dbe017 uefi: process: Fix args
f910b96 [cfg_match] Document the use of expressions
5edbe52 Update comments and sort target_arch in c_char_definition
74efd97 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
f0bd2d2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
0d0e9d4 Document powf and powi calls that always return 1.0
9070bb8 Document purpose of closure in from_fn.rs more clearly
85d2ef5 add missing allocator safety in alloc crate
bc9b642 alloc: add `#![warn(unreachable_pub)]`
a78c17f Implement `AtomicT::update` & `AtomicT::try_update`
11b4fb7 fix doc for std::sync::mpmc
332ddeb Implement phantom variance markers
e175c96 Clarify WindowsMut (Lending)Iterator
2954733 compiler_fence: fix example
4711205 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
8fdbfcc Move `std::io::pipe` code into its own file
d5bc23e Actually run the bstr test
63aa66e Update comment
b54e951 Put all coretests in a separate crate
5f996bb Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
e0a4de9 add nto80 x86-64 and aarch64 target
70547f0 Add support for QNX 7.1 with io-sock on x64
d87dbcb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
e1768a5 Update a bunch of comments from before wasi support was added
643837f Remove a bunch of emscripten test ignores
3b6f892 Fix testing of the standard library with Emscripten
08d0a4f fix(libtest): Deprecate '--logfile'
65b818a docs: fix typo in std::pin overview
28b9e96 ports last few library files to new intrinsic style
53e6919 Improve and expand documentation of pipes
d479654 Fix set_name in thread mod for NuttX
63f84e9 Fix `FormattingOptions` instantiation with `Default`
5a2c03d Update library/core/src/num/nonzero.rs
28541bb Add memory layout documentation to generic NonZero<T>
2c8447b Fix whitespace
a4fd38e document order of items in iterator from drain
c1d8f3d Add `File already exists` error doc to `hard_link` function
6d92a7f Doc difference between extend and extend_from_slice
d2c23ff Make `Vec::pop_if` a bit more presentable
56c844c Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
73f1b22 remove pointless allowed_through_unstable_modules on TryFromSliceError
18b0426 test: add `#![warn(unreachable_pub)]`
48259e8 proc_macro: add `#![warn(unreachable_pub)]`
49c9ff2 Implement `CloneToUninit` for `ByteStr`
ed7b52a Add doc aliases for BStr and BString
89b94b2 Omit some more `From` impls to avoid inference failures
68d063d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
7561b27 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
9b1947f Implement `ByteStr` and `ByteString` types
11be50b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
467d2e5 Library: Finalize dyn compatibility renaming
883e259 Remove test panic from File::open
37801f8 fix OsString::from_encoded_bytes_unchecked description
359abe2 Add an example of using `carrying_mul_add` to write wider multiplication
4bf0fc9 Outline panicking code for `LocalKey::with`
468d258 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
507ffb5 core: add `#![warn(unreachable_pub)]`
fca1d52 rtstartup: add `#![warn(unreachable_pub)]`
7fede9a panic_unwind: add `#![warn(unreachable_pub)]`
49c0fc2 Recognise new IPv6 documentation range from RFC9637
c91d6e5 1. Removed 'rustc_nounwind' 2. Rewording of comments
9dc5e61 Export likely(), unlikely() and cold_path() in std::hint
e868a10 Correct counting to four in cell module docs
7ebfea3 doc: Point to methods on `Command` as alternatives to `set/remove_var`
74a5f96 wasi/io: remove dead files
29253bb remove unnecessary rustc_allowed_through_unstable_modules
0cb9f60 further improve panic_immediate_abort by removing rtprintpanic messages
101e6fc cargo update
7342d8f Rewrap following accepting review suggestions from @ibraheemdev
5d341b6 Update library/core/src/slice/mod.rs
00c745c Update library/core/src/slice/mod.rs
187eaa3 Update library/core/src/slice/mod.rs
881832a Update library/core/src/slice/mod.rs
7326106 Update library/core/src/slice/mod.rs
6a2d8b8 Update library/core/src/slice/mod.rs
b764b98 Update library/core/src/slice/mod.rs
623bdc2 Update library/core/src/slice/mod.rs
fe60d99 Update library/core/src/slice/mod.rs
fcd6913 Update library/core/src/slice/mod.rs
72640bc `then be` -> `be` based on feedback from @ibraheemdev
3fe4771 Improve `select_nth_unstable` documentation clarity
2cb818f Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
6d14ec0 Add references to the IEEE functions for `float_next_up_down`
920d386 Stabilize `float_next_up_down`
e53b690 Fix import of pipe in kernel_copy.rs
9613494 Move `std::pipe::*` into `std::io`
41893a0 Clarify note in `std::sync::LazyLock` example
b8303f0 fix typo in library/alloc/src/sync.rs
2103ef3 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a7f7f6e Adjust syntax
2c52964 Less unsafe in `dangling`/`without_provenance`
5de413e fix typo in typenames of pin documentation
15c0127 intrinsics: deprecate calling them via the unstable std::intrinsics path
13c63fe add comments explaining main thread identification
83d97ee std: lazily allocate the main thread handle
de0a334 Revert "Remove the Arc rt::init allocation for thread info"
028efa0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
14af7ad Update compiler-builtins to 0.1.143
b26cfc6 Rename `pos` to `position`
847bb19 Convert `struct FromBytesWithNulError` into enum
e214442 Enforce syntactical stability of const traits in HIR
1511f9e Update compiler-builtins to 0.1.141
1589d0b Add another `Vec::splice` example
a574226 avoid nesting the user-defined main so deeply on the stack
e35d731 use a single large catch_unwind in lang_start
23a5f08 uefi: helpers: Introduce OwnedDevicePath
9db8150 path: Move is_absolute check to sys::path
d3afa44 Update the explanation for why we use box_new in vec!
8ecd1d5 Add #[inline] to copy_from_slice
1b7e73a Add inherent versions of MaybeUninit methods for slices
2671eb5 Make UniqueRc invariant for soundness
1e55e38 update and clarify StructuralPartialEq docs
c3df7cd Use `NonNull::without_provenance` within the standard library
cc0fc4a Initial fs module for uefi
b8ebc3b Improve the safety documentation on new_unchecked
c20c11d Update a bunch of library types for MCP807
914ee4f alloc: remove unsound `IsZero` for raw pointers
aedc4a5 Fix `proc_macro::quote!` for raw ident
c3cca95 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
1375607 Rename the internal simpler `quote` macro to `minimal_quote`
189a1d6 Used pthread name functions returning result for FreeBSD and DragonFly
b4227ca Fix ptr::from_ref documentation example comment
9f7ea6b Improve prose around `as_slice` example of IterMut
8825c2c fmt
0cfcb4b update cfg(bootstrap)
b271343 update version placeholders
3a9b79b Remove some unnecessary `.into()` calls
cbce3da add missing provenance APIs on NonNull
4eef067 More compelling env_clear() examples
b5226d0 Implement Condvar::wait_timeout for targets without threads
70ca299 Impl String::into_chars
add3dd9 Avoid naming variables `str`
285706c [generic_assert] Constify methods used by the formatting system
328351f Add support for wasm exception handling to Emscripten target
fae1945 chore: remove redundant words in comment
0fe9cc2 Add doc aliases for `libm` and IEEE names
2090c36 Mark `slice::reverse` unstably const
7118359 Clarified the documentation on core::iter::from_fn and core::iter::successors
56acaee library: fix adler{-> 2}.debug
bc7ff12 add regression test for unsound Flatten/FlatMap specialization
be95771 do not in-place-iterate over flatmap/flatten
4317f17 Fix UWP build
6da0643 Bump backtrace to 0.3.75
4e0279c sync to actual dep verions of backtrace
181cda1 turn rustc_box into an intrinsic
8974f20 core: use public method instead of instrinsic
f61b805 core: improve comments
111122e core: implement `bool::select_unpredictable`
fe125b2 Switch rtems target to panic unwind
47a3749 path in detail
ce272e6 Move some things to `std::sync::poison` and reexport them in `std::sync`
73137b1 Bump backtrace to rust-lang/backtrace-rs@4d7906b
2f00b57 Try to write the panic message with a single `write_all` call
8fc894e fix doc for missing Box allocator consistency
c123ec7 Remove qualification of `std::cmp::Ordering` in `Ord` doc
5dd3355 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
381118b Avoid use of LFS64 symbols on Emscripten
ae47595 char to_digit: avoid unnecessary casts to u64
3d3342b Remove allowing static_mut_refs lint
f8f894e Tidy up bigint mul methods
153737e fix doc for read write unaligned in zst operation
fb24eac Avoid short writes in LineWriter
c2ab1fb ptr docs: make it clear that we are talking only about memory accesses
8d6f948 Make slice::as_flattened_mut unstably const
d9bd636 rename typed_swap → typed_swap_nonoverlapping
57e6fa0 stabilize const_swap
85e3c60 fix: typos
7e555eb Fix sentence fragment in `pin` module docs
3daa58d docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
2b5202a Fix compilation issues on other unixes
712102c Eliminate redundant statx syscalls
3054f34 Unify fs::copy and io::copy
c28e5f6 Update `compiler-builtins` to 0.1.140
2230aec Update library/alloc/tests/sort/tests.rs
0e779e3 Fix typos
ef8b08d Override `carrying_mul_add` in cg_llvm
b703499 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
84d71a6 Fix mistake in windows file open
4e3170a Windows: Use WriteFile to write to a UTF-8 console
0093861 ptr::copy: fix docs for the overlapping case
d21473a Fix renaming symlinks on Windows
e9b5463 docs: inline `core::ffi::c_str` types to `core::ffi`
20e6f8e docs: inline `std::ffi::c_str` types to `std::ffi`
76e9ed6 unwinding: bump version to fix asm
ae5f4ef docs: update code example for Iterator#rposition
b6b2150 Use scoped threads in `std::sync::Barrier` examples
83aff29 Fix forgetting to save statx availability on success
c2b4f74 Specify only that duplicates are discarded, not the order.
5cd112c Document collection `From` and `FromIterator` impls that drop duplicate keys.
d8bd1fb Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
443681e Impl FromIterator for tuples with arity 1-12
4a9cd56 Fix formatting
835b27e stabilize const_alloc_layout
5b48895 chore: fix typos
948ba40 Windows: Use FILE_ALLOCATION_INFO for truncation
9a2e864 Bump `stdarch`
ae26451 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
d5d26e9 Fixes safety docs for `dyn Any + Send {+ Sync}`
55930bb Use `#[derive(Default)]` instead of manually implementing it
b05e73a Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
bb5b799 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
599256e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
720f561 docs: Permissions.readonly() also ignores root user special permissions
c65986f cargo update
1c7d00a Delete `Rvalue::Len`
b7712d9 Asserts the maximum value that can be returned from `Vec::len`
90c0a7c Document `PointerLike` implementation restrictions.
c5cc438 Use `&raw` for `ptr` primitive docs
61c0a0a Add `is_ascii` function optimized for x86-64 for [u8]
5d95cdc Add new implementation benchmark
2fc67c5 Document CTFE behavior of methods that call is_null
bbbfe3f Correctly document is_null CTFE behavior.
44e4895 Win: rename: Use offset_of! in struct size calculation
7bae459 Win: Remove special casing of the win7 target for `std::fs::rename`
7a248e1 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
d0d2b49 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
8f7cf92 Less unwrap() in documentation
77f3dea Improve prose around into_slice example of IterMut
fb8661d Improve prose around `as_slice` example of Iter
7d06f29 Improve prose around basic examples of Iter and IterMut
54b9f1a Abstract `ProcThreadAttributeList` into its own struct
9d76cf5 fix `PointerLike` docs
29446d2 unimplement `PointerLike` for trait objects
ccfe7aa split up `#[rustc_deny_explicit_impl]` attribute
3194e7d remove reference to dangling from slice::Iter
3a5aee1 mri: add track_caller to thread spawning methods for better backtraces
b54934c fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
c619a0e Improve documentation of `element_offset` and related methods
98a69d6 Rename `elem_offset` to `element_offset`
6e39698 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
91c4ab0 build: Update libc version
0e014f6 fix typo in ptr/mod.rs
144dea3 Stabilize `#[diagnostic::do_not_recommend]`
12e2aec Use field init shorthand where possible
b8796d2 fix(LazyCell): documentation of get[_mut] was wrong
d988e7b 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
0dfcb5a Fix typo in uint_macros.rs
0b6d717 remove obsolete comment and pub(super) visibility
ab9827f remove bounds from vec and linkedlist ExtractIf
13feda4 Add a range argument to vec.extract_if
15bdd31 Stabilize #[coverage] attribute
2322c7a Remove `rustc::existing_doc_keyword` lint.
4a4b343 Move `doc(keyword = "while")`.
509c8a6 rustdoc-search: let From and Into be unboxed
6071a58 Replace i32 by char in `split_at` & `_unchecked`
8e8a475 Add clarity to the "greater" of `VecDeque::insert`
352800a Replace i32 by char to add clarity
ece5840 Add value accessor methods to `Mutex` and `RwLock`
4afa7a6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
f6519f2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
8008896 UniqueRc: PinCoerceUnsized and DerefPure
bcaea4f UniqueRc: comparisons and Hash
973f325 UniqueRc: Add more trait impls.
3f21a79 Remove support for specializing ToString outside the standard library
a18db41 Correct spelling of CURRENT_RUSTC_VERSION
b109dbd Add documentation for anonymous pipe module
7cf2173 feat: clarify how to use `black_box()`
59b15c0 Update includes in '/library/core/src/error.rs';
8a43221 Fix building `std` for Hermit after `c_char` change
f1e5058 Fix `Path::is_absolute` on Hermit
393b70c Fix typos in docs on provenance
ad7465b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1d243af Switch inline(always) in core/src/fmt/rt.rs to plain inline
525f76a Reword prelude for AsyncFn stabilization
8a27c31 Stabilize async closures
f642d1e Remove consteval note from <*mut T>::align_offset docs.
40e1e6a Stabilize the Rust 2024 prelude
b97f4b1 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
7663b8e Move some alloc tests to the alloctests crate
c41ae46 control libunwind linkage mode via `crt-static` on gnullvm targets
a9aa795 Change `GetManyMutError` to match T-libs-api decision
6c26c1f Add references to the specific ABI documents
3f27d14 Remove l4re from the unsigned char operating system list
8dad89d De-duplicate and improve definition of core::ffi::c_char
ea28d00 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
bdc41b0 stabilize const_nonnull_new
0b9fa79 Remove rustc_const_stable attribute on const NOOP
7dc60b0 Add libc funcitons only for wasm32-wasip1-threads.
8a3d98e Fix compilation for wasm32-wasip1 (without threads).
2e3c4c1 Use UNIX thread_local implementation for WASI.
db3dabd Run TLS destructors for wasm32-wasip1-threads
db10ed2 Downgrade cc
71746ce Run `cargo update` and update licenses
d1fec28 chore: Improve doc comments
c5441a0 Refactor ReadDir into a state machine
801f202 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
0ec7440 docs: better examples for `std::ops::ControlFlow`
40b7e34 Expand home_dir docs
ee25eae Add doc alias 'then_with' for `then` method on `bool`
6caf966 Adds new intrinsic declaration
13c822f Define acronym for thread local storage
24d01f8 Add a `collect_into` tuple test case
8a692d7 Don't impl Extend for 13-tuples
0633f80 Simplify documentation for Extend impl for tuples
51e7e30 Add Extend impls for tuples of arity 1 through 12
65ebd99 Unbreak tidy
9720b30 Stabilize `std::io::ErrorKind::QuotaExceeded`
b1c6073 Stabilize `std::io::ErrorKind::CrossesDevices`
55c56a8 Access members of `FormattingOptions` directly instead of via getters/setters
d08846f Removed constness for methods receiving a `&mut` parameter
5b85082 Added better reason for exposing `flags` and `get_flags` as unstable
1a77dd5 Formatted
26aad90 Refactored FormattingOptions to use a bitmask for storing flags
01aa5c5 Revert "Turned public+unstable+hidden functions into private functions"
8143c45 Turned public+unstable+hidden functions into private functions
f2e12e2 Made all fns const
9999525 impl Default for fmt::FormattingOptions
22c0378 Fixed copy+paste error in comment
5a7cd46 fmt::FormattingOptions: Renamed `alignment` to `align`
8917e4b Formatter::with_options: Use different lifetimes
6fccc33 Fixed another broken test
e7da947 Added struct `fmt::FormattingOptions`
7ec5713 Formatter: Access members via getter methods wherever possible
c5be4f9 Stabilize noop_waker
992149b Improve documentation
4623ca3 Reformat Python code with `ruff`
9a261ff Improve comments for the default backtrace printer
90aca0d clarify simd_relaxed_fma non-determinism
9382a29 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
0b6e45d Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
7609542 Allow fn pointers comparisons lint in library
aa74eb2 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ccb8b4 Add `core::arch::breakpoint` and test
abcce94 a release operation synchronizes with an acquire operation
c801b09 Update the definition of `borrowing_sub`
afcc3e9 stabilize const_{size,align}_of_val
1ff28eb ./x miri: fix sysroot build
6ad4c21 stabilize const_collections_with_hasher and build_hasher_default_const_new
f8d800c Match simd_relaxed_fma documentation to fmuladd intrinsic
6aa2851 Add simd_relaxed_fma intrinsic
579e5e1 Fix `f16::midpoint` const feature gate
ef451d5 Use c"lit" for CStrings without unwrap
1f20c08 Stabilize `const_maybe_uninit_write`
520b445 Fix docs for '<[T]>::as_array';
94547e9 Stabilize `ptr::fn_addr_eq`
39e964b rustc_allow_const_fn_unstable is not used in proc_macro
7c3008d get rid of a bunch of unnecessary rustc_const_unstable
5de2b3f remove a whole bunch of unnecessary const feature gates
ed5c4a9 add isatty alias for is_terminal
07ca1fa Stabilize unsigned `num_midpoint` feature
49d16de Mark `slice::copy_from_slice` unstably const
8426192 Fix chaining `carrying_add`s
e0da459 add test for bytewise ptr::swap of a pointer
5d54d49 move swap_nonoverlapping constness to separate feature gate
4417e17 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
26015bb Add diagnostic item for `std::ops::ControlFlow`
4019a11 update link to "C++ Exceptions under the hood" blog
386b985 fix: fix codeblocks in `PathBuf` example
c550669 fix: hurd build, stat64.st_fsid was renamed to st_dev
ae58d9e std: clarify comments about initialization
014fc05 std: refactor `pthread`-based synchronization
54ca95f bump hashbrown version
8afdd20 Fill in a `BTreeSet::entry` example
a0554fb Add a tracking issue for `btree_set_entry`
71144f7 Add `BTreeSet` entry APIs to match `HashSet`
d862a5c Implement code review
eeffc1a thread::available_parallelism for wasm32-wasip1-threads
4529581 changes old intrinsic declaration to new declaration
00777b5 Fix and undeprecate home_dir()
901694b refine mir debuginfo docs
b18cf92 Doc comment custom MIR debuginfo.
0fb7578 Stabilize `extended_varargs_abi_support`
a6289b0 update cfgs
d3d7ff0 replace placeholder version
17ac3a9 Also use zero when referencing to capacity or length
4cf034f Use consistent wording in docs, use zero instead of 0
5cd2f7d Fix typos in pin.rs
129c425 Share inline(never) generics across crates
1eec4db fmt
6a3a37a aix: create shim for lgammaf_r
4a77898 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
ba5ad84 Remove one stray space.
24c150a Update chown help with a link and adding cap warning
709b548 Expand std::os::unix::fs::chown() doc with a warning
1546ede Add missing code examples on `LocalKey`
ca2723b Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
e3cabe5 Remove unnecessary `#![allow(unused_features)]`
0512cb6 Sort and separate lint/feature attributes in `profiler_builtins`
c18f916 std: update internal uses of `io::const_error!`
a01ee48 std: expose `const_io_error!` as `const_error!`
df35e90 Constify Drop and Destruct
fb219bd miri: disable test_downgrade_observe test on macOS
5acb82d Shorten the `MaybeUninit` `Debug` implementation
c6d08f5 Support ranges in `<[T]>::get_many_mut()`
82d4539 btree: add `{Entry,VacantEntry}::insert_entry`
bfbb9b2 std::thread: avoid leading whitespace in some panic messages
062e398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: ef0f097
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 9, 2025
ef0f097 [create-pull-request] automated change
64f2b1a checked_ilog tests: deal with a bit of float imprecision
c3a1bc0 Fix Windows `Command` search path bug
29fb694 make `simd_insert` and `simd_extract` `const fn`s
afb2731 Update some comparison tests now that they pass in LLVM20
8b6e37e Use `.expect(..)` instead
6e79698 Remove speculation on cause of error
70750b5 Return error on unexpected termination in `Thread::join`.
51552a2 add `IntoBounds::intersect` and `RangeBounds::is_empty`
9ee4e11 require trait impls to have matching const stabilities as the traits
f3e33e0 fix: attr cast for espidf
9841ddf Do not use CString in the examples of CStr.
853522b remove MaybeUninit::uninit_array
3addad9 fix doc in library/core/src/pin.rs
85b249a Enable `f16` for MIPS
0f2916e Skip scanning for surrogates when not known valid
81ee13a Add fast path for displaying pre-validated Wtf8Buf
b3806a9 disable a potentially bogus test on Miri
ac1915b Don't doc-comment BTreeMap<K, SetValZST, A>
68ee1c0 Update `compiler-builtins` to 0.1.148
3dc6d78 remove some unnecessary rustc_const_unstable
6149a13 Implement read_buf for zkVM stdin
f318d66 stabilize extract_if
40a6164 Update string.rs
0ac5a98 Update string.rs
38326cd Stabilize `core::str::from_utf8_mut`
e78c427 Explain how Vec::with_capacity is faithful
6058a71 Stabilize `hash_extract_if`
70e30dd std: Fix another new symlink test on Windows
8a3397a remove uses of rustc_intrinsic_must_be_overridden from standard library
2face94 Correct doc about `temp_dir()` behavior on Android
5b9aa0d Simplify trait error message for CoercePointee validation
2338290 Added into_value const function to ControlFlow<T, T>
3b19a00 Fix documentation for unstable sort
61e78f5 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
787edff Fix unbounded_shifts tests
5dc8d55 Stabilize `unbounded_shifts`
d0ada29 tidying up tidy
123493f replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
01d2776 rename sub_ptr 😅
9ebe6db Update `compiler-builtins` to 0.1.147
776d981 add stdarch compatibility hack
4d1145c make the new intrinsics safe
8941ca5 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
c36b267 Remove outdated target `unexpected_cfgs`
3cf65ea update `cfg(bootstrap)`
b63bfd0 update version placeholders
cba55c9 Use faster thread_local! for stdout
bc3bf91 Use faster thread_local in current_thread_id()
614bbf1 Highlight thread_local! const init in docs
70a82a1 fix by comments
4283c44 remove assume_init in stack_overflow
3970915 Consistently using as_mut_ptr() and as_ptr() in thread
166383f Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
ff53ca0 stabilize `unsigned_is_multiple_of`
b374d73 stabilize (const_)ptr_sub_ptr
6ec49b0 Replace some instances of `pub` with `pub(crate)`
62e4416 Use `public-dependencies` in all sysroot crates
2c56cb3 Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
40ee989 Implement feature `isolate_most_least_significant_one` for integer types
7056a1b Add #[track_caller] to Duration Div impl
4581d06 Implement read_buf for WASI stdin
94b401d Stabilise `os_str_display`
ccb6182 core/net: IpAddr*::as_octets()
d9f8eda Optionally add type names to `TypeId`s.
6152c90 reduce `Box::default` stack copies in debug mode
a7e5f20 Remove obsolete MinGW ThinLTO+TLS workaround
2624d21 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
d25d3ae Stabilize `num_midpoint_signed` feature
0bf048d Add real safety comments
79a1d06 Go back to `Some` instead of transmuting to it.
04f474c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
87a50c8 Simplify `slice::Iter::next` enough that it inlines
9a26151 stabilize `inherent_str_constructors`
8524690 Synchronize platform adaptors for OsString/OsStr
ec53d7f Simplify control flow with while-let
ea46bae Improve WTF-8 comments
eeee097 Remove ignored `#[must_use]` attributes from portable-simd
5a108ca Use more explicit and reliable ptr select in sort impls
0df943b Impl TryFrom<Vec<u8>> for String
32b8847 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5dccabc Stabilize file_lock
37a39ca Update library/std/src/fs.rs
d1803a1 Update fs.rs
dd50fef Improve instant docs
13dce06 Stabilize const_slice_flatten
94729c1 Fix typo in hidden internal docs of `TrustedRandomAccess`
0ab8e5c Stabilize (and const-stabilize) `integer_sign_cast`
47d16ac fix docs for inherent str constructors
c07ced2 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
79caf1b Clarify that locking on Windows also works for files opened with `.read(true)`
f4e9888 Document that locking a file fails on Windows if the file is opened only for append
1458509 Reword file lock documentation to clarify advisory vs mandatory
30995a6 add last std diagnostic items for clippy
db00c40 Remove std::os::wasi::fs::FileExt::tell
1a4b1ab tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
9b6a9a3 Make ub_check message clear that it's not an assert
58aae77 Use tell for <File as Seek>::stream_position
c80cbf0 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
54a377b invalid_from_utf8[_unchecked]: also lint inherent methods
6218e42 Fix &&str and trailing commas in io::const_error!
a641bfd Use io::const_error! when possible over io::Error::new
755621f Add an example for std::error::Error
5b9e34d proc_macro: Apply unsafe_op_in_unsafe_fn
edce978 std: Apply unsafe_op_in_unsafe_fn
e30a819 Fix safety of windows uwp functions
6be9348 unwind: Apply unsafe_op_in_unsafe_fn
4f1db6e panic_unwind: Apply unsafe_op_in_unsafe_fn
cdd6410 panic_abort: Apply unsafe_op_in_unsafe_fn
ca7d5a8 core: Apply unsafe_op_in_unsafe_fn
e593619 docs: fix broken intra-doc links that never worked
19783e1 Forward all default methods for I/O impls
541a4d5 Windows: Update generated bindings to 0.59
fb35545 Add safe new to NotAllOnes
576351d Implement Extend<AsciiChar> for String
de22da6 re-export `core::iter::FromCoroutine`
af3a373 Implement `f{16,32,64,128}::{erf,erfc}`
bc12d9e std: Apply deprecated_safe_2024
a80f231 test: Apply deprecated_safe_2024
f6d1020 std: Apply fixes for tail drop expressions
1e0a688 std: Apply rust_2024_incompatible_pat
e0d802d std: Apply dependency_on_unit_never_type_fallback
5812e00 std: Apply missing_unsafe_on_extern
0fe0cd1 std: Apply unsafe_attr_outside_unsafe
d299573 alloc: Apply missing_unsafe_on_extern
ec4f2b9 alloc: Apply unsafe_attr_outside_unsafe
ad33ae4 alloc: Workaround hidden doctest line
06f1f5e Migrate coretests to Rust 2024
6083e3c library: Update rand to 0.9.0
52cabae core: Apply unsafe_attr_outside_unsafe
aef036b Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
48bdfdd alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
2205aeb Use `slice::fill` in `io::Repeat` implementation
31bec16 Remove the common prelude module
7eb7fc4 Correct comment for FreeBSD and DragonFly BSD in unix/thread
2c8633e `transmute` should also assume non-null pointers
9097546 Update backtrace
fc6902d expect EINVAL for pthread_mutex_destroy for aix
ef05bf9 add `IntoBounds` trait
df04622 Stabilize `get_many_mut` as `get_disjoint_mut`
c0478a4 Fix import in bench for wasm
ee7bfa5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
3f1612b Add diagnostic item for `std::io::BufRead`
69714e3 Implement `read*_exact` for `std:io::repeat`
8fe5725 std: replace the `FromInner` implementation for addresses with private conversion functions
341bf46 Stabilize target_feature_11
1471731 Change swap_nonoverlapping from lang to library UB
54440f0 `f128` is quadruple-precision
aba9541 `f16` is half-precision
dbd5829 library: amend revert of extended_varargs_abi_support for beta diff
96524c3 Revert "Stabilize `extended_varargs_abi_support`"
b997811 Change the issue number for `likely_unlikely` and `cold_path`
74af9cb Update docs for impl keyword
11ca36b include note on variance and example
4d07c7f Improve examples for file locking
0f343c6 library: doc: core::alloc::Allocator: trivial typo fix
97a1793 stabilize `NonZero::count_ones`
f78d0b5 Fix long lines which rustfmt fails to format
d291024 Reword doc comment on `CoercePointeeValidated`
d1f2756 block coerce_pointee_validated for stabilization
7260481 rename the trait to validity and place a feature gate afront
b04509b introduce CoercePointeeWellformed for coherence checks at typeck stage
a8d6946 Update `compiler-builtins` to 0.1.146
f0d8947 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c27190b ignore win_delete_self test in Miri
31da512 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d32f519 Mark extern blocks as unsafe
e3a5462 Rename field in OnceWith from gen to make
16b0493 Mark link_section attr with unsafe
c989821 Use Option for FindNextFileHandle
3c7f1e7 fix(libtest): Enable Instant on Emscripten targets
906cd83 Simplify Rc::as_ptr docs + typo fix
726ebbd Stabilize `vec_pop_if`
2aa4937 Rustfmt
732cead occured -> occurred
2ac680a Allow Rust to use a number of libc filesystem calls
fcc12b2 Windows: Test that deleting a running binary fails
75f6307 Update platform information for remove_file
fb5bcee Windows: remove readonly files
03bb961 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
62795e1 Document `Sum::sum` returns additive identities for `[]`
317f65c Clean up 'HashMap' and 'HashSet' docs;
b892d75 Optimize `Rc::<str>::default()` implementation
0c2cc40 std: get rid of `sys_common::io`
ff97a59 std: move `io` module out of `pal`
c58a610 Move two windows process tests to tests/ui
180138f tests(std/net): remove outdated `base_port` calculation
f9ef766 sys: net: Add UEFI stubs
eea1f4e Remove some unnecessary parens in `assert!` conditions
37e6aca remove use of `feature(trait_upcasting)` from core tests
86f4b51 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
e89331c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
4bd3489 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
8999778 Fix unreachable_pub lint for hermit target
c0b3088 Fix link in from_fn.rs
d96f44f Use `widening_mul`
5eaa3d6 Add OneSidedRangeBound to eliminate panic in `split_point_of`
8a60bf4 Rename slice::take methods to split_off
3209f6d Update `compiler-builtins` to 0.1.145
0bd650f specify a prim@slice in docs
6dad5ab implement inherent str constructors
18e2cdc std: move network code into `sys`
13a29e8 uefi: process: Add support for command environment variables
3537d63 Mark `std::fmt::from_fn` as `#[must_use]`
857889f Rename rustc_contract to contract
473b211 Improve contracts intrisics and remove wrapper function
526691d Separate contract feature gates for the internal machinery
26c2f64 Desugars contract into the internal AST extensions
60e508c Express contracts as part of function header and lower it to the contract lang items
e619af7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
8534d8b Contracts core intrinsics.
522dcce More PR feedback
42e9435 PR feedback
62b0a16 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
24acba1 Add note about `FnPtr` being exposed as public bound
3d12914 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
7897e75 For NonZero impl macros, give unsigned impls access to the corresponding signed type
816a396 std::fs: further simplify dirent64 handling
a561a7a add UnsafeCell direct access APIs
5beaefc primitive type migration from mod.rs to primitives.rs
148c63e implement unstable `new_range` feature
27a0a5b std::range
5c166aa Remove stabilized feature gate
1e27979 Move env modifying tests to a separate integration test
10b7576 Fix for SGX
c5e3db5 Fix benchmarking of libstd
d4958a0 Move std::sync unit tests to integration tests
319453a Move std::thread_local unit tests to integration tests
5201ec6 Move std::time unit tests to integration tests
ec5ad10 Move std::path unit tests to integration tests
66fd95c Move std::panic unit tests to integration tests
fdf5133 Move std::num unit tests to integration tests
8d70f37 Move std float unit tests to integration tests
16cbcf2 Move std::error unit tests to integration tests
80c1193 Move std::env unit tests to integration tests
586737e no unsafe pointer and no overflowing_literals in fmt::Display of integers
3d75a0c black_box integer-input on fmt benches
26d6662 OnceCell & OnceLock docs: Using (un)initialized consistently
f8c386b Docs for f16 and f128: correct a typo and add details
7bff6b6 rustc_allowed_through_unstable_modules: require deprecation message
fec18a1 Update encode_utf16 to mention it is native endian
0e54da3 remove Rustc{En,De}codable from library and compiler
f969806 make rustc_encodable_decodable feature properly unstable
2820baf Fix sentence in process::abort
f834210 document ptr comparison being by address
5046d88 stabilize `once_wait`
bcf9324 implement all min/max fns in terms of `<`/`is_lt`
3afca8e improve doc tests for (min/max/minmax).* functions
2596636 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c2ebd3d Add documentation for derive(CoercePointee)
8a57219 Fix off-by-one error causing driftsort to crash
4a787d0 Insert null checks for pointer dereferences when debug assertions are enabled
6746f0f atomic: extend compare_and_swap migration docs
a1b689e float::min/max: mention the non-determinism around signed 0
77b4295 Stabilize `const_black_box`
cc4725e Improve documentation for file locking
d5dc487 Remove minor future footgun in `impl Debug for MaybeUninit`
a6cd342 Add `AsyncFn*` to core prelude
25c44a5 uefi: Implement path
667c939 Implement `int_from_ascii` (rust-lang#134821)
6637642 Cleanup docs for Allocator
416ced1 btree/node.rs: pop_internal_level: does not invalidate other handles
e6434b1 btree/node.rs: remove incorrect comment from pop_internal_level docs
061a6fe add inline attribute and codegen test
8531bd0 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
88d05c0 optimize slice::ptr_rotate for compile-time-constant small rotates
64a9a9f Test pipes also when not running on Windows and Linux simultaneously
6dbe017 uefi: process: Fix args
f910b96 [cfg_match] Document the use of expressions
5edbe52 Update comments and sort target_arch in c_char_definition
74efd97 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
f0bd2d2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
0d0e9d4 Document powf and powi calls that always return 1.0
9070bb8 Document purpose of closure in from_fn.rs more clearly
85d2ef5 add missing allocator safety in alloc crate
bc9b642 alloc: add `#![warn(unreachable_pub)]`
a78c17f Implement `AtomicT::update` & `AtomicT::try_update`
11b4fb7 fix doc for std::sync::mpmc
332ddeb Implement phantom variance markers
e175c96 Clarify WindowsMut (Lending)Iterator
2954733 compiler_fence: fix example
4711205 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
8fdbfcc Move `std::io::pipe` code into its own file
d5bc23e Actually run the bstr test
63aa66e Update comment
b54e951 Put all coretests in a separate crate
5f996bb Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
e0a4de9 add nto80 x86-64 and aarch64 target
70547f0 Add support for QNX 7.1 with io-sock on x64
d87dbcb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
e1768a5 Update a bunch of comments from before wasi support was added
643837f Remove a bunch of emscripten test ignores
3b6f892 Fix testing of the standard library with Emscripten
08d0a4f fix(libtest): Deprecate '--logfile'
65b818a docs: fix typo in std::pin overview
28b9e96 ports last few library files to new intrinsic style
53e6919 Improve and expand documentation of pipes
d479654 Fix set_name in thread mod for NuttX
63f84e9 Fix `FormattingOptions` instantiation with `Default`
5a2c03d Update library/core/src/num/nonzero.rs
28541bb Add memory layout documentation to generic NonZero<T>
2c8447b Fix whitespace
a4fd38e document order of items in iterator from drain
c1d8f3d Add `File already exists` error doc to `hard_link` function
6d92a7f Doc difference between extend and extend_from_slice
d2c23ff Make `Vec::pop_if` a bit more presentable
56c844c Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
73f1b22 remove pointless allowed_through_unstable_modules on TryFromSliceError
18b0426 test: add `#![warn(unreachable_pub)]`
48259e8 proc_macro: add `#![warn(unreachable_pub)]`
49c9ff2 Implement `CloneToUninit` for `ByteStr`
ed7b52a Add doc aliases for BStr and BString
89b94b2 Omit some more `From` impls to avoid inference failures
68d063d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
7561b27 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
9b1947f Implement `ByteStr` and `ByteString` types
11be50b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
467d2e5 Library: Finalize dyn compatibility renaming
883e259 Remove test panic from File::open
37801f8 fix OsString::from_encoded_bytes_unchecked description
359abe2 Add an example of using `carrying_mul_add` to write wider multiplication
4bf0fc9 Outline panicking code for `LocalKey::with`
468d258 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
507ffb5 core: add `#![warn(unreachable_pub)]`
fca1d52 rtstartup: add `#![warn(unreachable_pub)]`
7fede9a panic_unwind: add `#![warn(unreachable_pub)]`
49c0fc2 Recognise new IPv6 documentation range from RFC9637
c91d6e5 1. Removed 'rustc_nounwind' 2. Rewording of comments
9dc5e61 Export likely(), unlikely() and cold_path() in std::hint
e868a10 Correct counting to four in cell module docs
7ebfea3 doc: Point to methods on `Command` as alternatives to `set/remove_var`
74a5f96 wasi/io: remove dead files
29253bb remove unnecessary rustc_allowed_through_unstable_modules
0cb9f60 further improve panic_immediate_abort by removing rtprintpanic messages
101e6fc cargo update
7342d8f Rewrap following accepting review suggestions from @ibraheemdev
5d341b6 Update library/core/src/slice/mod.rs
00c745c Update library/core/src/slice/mod.rs
187eaa3 Update library/core/src/slice/mod.rs
881832a Update library/core/src/slice/mod.rs
7326106 Update library/core/src/slice/mod.rs
6a2d8b8 Update library/core/src/slice/mod.rs
b764b98 Update library/core/src/slice/mod.rs
623bdc2 Update library/core/src/slice/mod.rs
fe60d99 Update library/core/src/slice/mod.rs
fcd6913 Update library/core/src/slice/mod.rs
72640bc `then be` -> `be` based on feedback from @ibraheemdev
3fe4771 Improve `select_nth_unstable` documentation clarity
2cb818f Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
6d14ec0 Add references to the IEEE functions for `float_next_up_down`
920d386 Stabilize `float_next_up_down`
e53b690 Fix import of pipe in kernel_copy.rs
9613494 Move `std::pipe::*` into `std::io`
41893a0 Clarify note in `std::sync::LazyLock` example
b8303f0 fix typo in library/alloc/src/sync.rs
2103ef3 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a7f7f6e Adjust syntax
2c52964 Less unsafe in `dangling`/`without_provenance`
5de413e fix typo in typenames of pin documentation
15c0127 intrinsics: deprecate calling them via the unstable std::intrinsics path
13c63fe add comments explaining main thread identification
83d97ee std: lazily allocate the main thread handle
de0a334 Revert "Remove the Arc rt::init allocation for thread info"
028efa0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
14af7ad Update compiler-builtins to 0.1.143
b26cfc6 Rename `pos` to `position`
847bb19 Convert `struct FromBytesWithNulError` into enum
e214442 Enforce syntactical stability of const traits in HIR
1511f9e Update compiler-builtins to 0.1.141
1589d0b Add another `Vec::splice` example
a574226 avoid nesting the user-defined main so deeply on the stack
e35d731 use a single large catch_unwind in lang_start
23a5f08 uefi: helpers: Introduce OwnedDevicePath
9db8150 path: Move is_absolute check to sys::path
d3afa44 Update the explanation for why we use box_new in vec!
8ecd1d5 Add #[inline] to copy_from_slice
1b7e73a Add inherent versions of MaybeUninit methods for slices
2671eb5 Make UniqueRc invariant for soundness
1e55e38 update and clarify StructuralPartialEq docs
c3df7cd Use `NonNull::without_provenance` within the standard library
cc0fc4a Initial fs module for uefi
b8ebc3b Improve the safety documentation on new_unchecked
c20c11d Update a bunch of library types for MCP807
914ee4f alloc: remove unsound `IsZero` for raw pointers
aedc4a5 Fix `proc_macro::quote!` for raw ident
c3cca95 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
1375607 Rename the internal simpler `quote` macro to `minimal_quote`
189a1d6 Used pthread name functions returning result for FreeBSD and DragonFly
b4227ca Fix ptr::from_ref documentation example comment
9f7ea6b Improve prose around `as_slice` example of IterMut
8825c2c fmt
0cfcb4b update cfg(bootstrap)
b271343 update version placeholders
3a9b79b Remove some unnecessary `.into()` calls
cbce3da add missing provenance APIs on NonNull
4eef067 More compelling env_clear() examples
b5226d0 Implement Condvar::wait_timeout for targets without threads
70ca299 Impl String::into_chars
add3dd9 Avoid naming variables `str`
285706c [generic_assert] Constify methods used by the formatting system
328351f Add support for wasm exception handling to Emscripten target
fae1945 chore: remove redundant words in comment
0fe9cc2 Add doc aliases for `libm` and IEEE names
2090c36 Mark `slice::reverse` unstably const
7118359 Clarified the documentation on core::iter::from_fn and core::iter::successors
56acaee library: fix adler{-> 2}.debug
bc7ff12 add regression test for unsound Flatten/FlatMap specialization
be95771 do not in-place-iterate over flatmap/flatten
4317f17 Fix UWP build
6da0643 Bump backtrace to 0.3.75
4e0279c sync to actual dep verions of backtrace
181cda1 turn rustc_box into an intrinsic
8974f20 core: use public method instead of instrinsic
f61b805 core: improve comments
111122e core: implement `bool::select_unpredictable`
fe125b2 Switch rtems target to panic unwind
47a3749 path in detail
ce272e6 Move some things to `std::sync::poison` and reexport them in `std::sync`
73137b1 Bump backtrace to rust-lang/backtrace-rs@4d7906b
2f00b57 Try to write the panic message with a single `write_all` call
8fc894e fix doc for missing Box allocator consistency
c123ec7 Remove qualification of `std::cmp::Ordering` in `Ord` doc
5dd3355 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
381118b Avoid use of LFS64 symbols on Emscripten
ae47595 char to_digit: avoid unnecessary casts to u64
3d3342b Remove allowing static_mut_refs lint
f8f894e Tidy up bigint mul methods
153737e fix doc for read write unaligned in zst operation
fb24eac Avoid short writes in LineWriter
c2ab1fb ptr docs: make it clear that we are talking only about memory accesses
8d6f948 Make slice::as_flattened_mut unstably const
d9bd636 rename typed_swap → typed_swap_nonoverlapping
57e6fa0 stabilize const_swap
85e3c60 fix: typos
7e555eb Fix sentence fragment in `pin` module docs
3daa58d docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
2b5202a Fix compilation issues on other unixes
712102c Eliminate redundant statx syscalls
3054f34 Unify fs::copy and io::copy
c28e5f6 Update `compiler-builtins` to 0.1.140
2230aec Update library/alloc/tests/sort/tests.rs
0e779e3 Fix typos
ef8b08d Override `carrying_mul_add` in cg_llvm
b703499 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
84d71a6 Fix mistake in windows file open
4e3170a Windows: Use WriteFile to write to a UTF-8 console
0093861 ptr::copy: fix docs for the overlapping case
d21473a Fix renaming symlinks on Windows
e9b5463 docs: inline `core::ffi::c_str` types to `core::ffi`
20e6f8e docs: inline `std::ffi::c_str` types to `std::ffi`
76e9ed6 unwinding: bump version to fix asm
ae5f4ef docs: update code example for Iterator#rposition
b6b2150 Use scoped threads in `std::sync::Barrier` examples
83aff29 Fix forgetting to save statx availability on success
c2b4f74 Specify only that duplicates are discarded, not the order.
5cd112c Document collection `From` and `FromIterator` impls that drop duplicate keys.
d8bd1fb Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
443681e Impl FromIterator for tuples with arity 1-12
4a9cd56 Fix formatting
835b27e stabilize const_alloc_layout
5b48895 chore: fix typos
948ba40 Windows: Use FILE_ALLOCATION_INFO for truncation
9a2e864 Bump `stdarch`
ae26451 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
d5d26e9 Fixes safety docs for `dyn Any + Send {+ Sync}`
55930bb Use `#[derive(Default)]` instead of manually implementing it
b05e73a Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
bb5b799 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
599256e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
720f561 docs: Permissions.readonly() also ignores root user special permissions
c65986f cargo update
1c7d00a Delete `Rvalue::Len`
b7712d9 Asserts the maximum value that can be returned from `Vec::len`
90c0a7c Document `PointerLike` implementation restrictions.
c5cc438 Use `&raw` for `ptr` primitive docs
61c0a0a Add `is_ascii` function optimized for x86-64 for [u8]
5d95cdc Add new implementation benchmark
2fc67c5 Document CTFE behavior of methods that call is_null
bbbfe3f Correctly document is_null CTFE behavior.
44e4895 Win: rename: Use offset_of! in struct size calculation
7bae459 Win: Remove special casing of the win7 target for `std::fs::rename`
7a248e1 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
d0d2b49 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
8f7cf92 Less unwrap() in documentation
77f3dea Improve prose around into_slice example of IterMut
fb8661d Improve prose around `as_slice` example of Iter
7d06f29 Improve prose around basic examples of Iter and IterMut
54b9f1a Abstract `ProcThreadAttributeList` into its own struct
9d76cf5 fix `PointerLike` docs
29446d2 unimplement `PointerLike` for trait objects
ccfe7aa split up `#[rustc_deny_explicit_impl]` attribute
3194e7d remove reference to dangling from slice::Iter
3a5aee1 mri: add track_caller to thread spawning methods for better backtraces
b54934c fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
c619a0e Improve documentation of `element_offset` and related methods
98a69d6 Rename `elem_offset` to `element_offset`
6e39698 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
91c4ab0 build: Update libc version
0e014f6 fix typo in ptr/mod.rs
144dea3 Stabilize `#[diagnostic::do_not_recommend]`
12e2aec Use field init shorthand where possible
b8796d2 fix(LazyCell): documentation of get[_mut] was wrong
d988e7b 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
0dfcb5a Fix typo in uint_macros.rs
0b6d717 remove obsolete comment and pub(super) visibility
ab9827f remove bounds from vec and linkedlist ExtractIf
13feda4 Add a range argument to vec.extract_if
15bdd31 Stabilize #[coverage] attribute
2322c7a Remove `rustc::existing_doc_keyword` lint.
4a4b343 Move `doc(keyword = "while")`.
509c8a6 rustdoc-search: let From and Into be unboxed
6071a58 Replace i32 by char in `split_at` & `_unchecked`
8e8a475 Add clarity to the "greater" of `VecDeque::insert`
352800a Replace i32 by char to add clarity
ece5840 Add value accessor methods to `Mutex` and `RwLock`
4afa7a6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
f6519f2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
8008896 UniqueRc: PinCoerceUnsized and DerefPure
bcaea4f UniqueRc: comparisons and Hash
973f325 UniqueRc: Add more trait impls.
3f21a79 Remove support for specializing ToString outside the standard library
a18db41 Correct spelling of CURRENT_RUSTC_VERSION
b109dbd Add documentation for anonymous pipe module
7cf2173 feat: clarify how to use `black_box()`
59b15c0 Update includes in '/library/core/src/error.rs';
8a43221 Fix building `std` for Hermit after `c_char` change
f1e5058 Fix `Path::is_absolute` on Hermit
393b70c Fix typos in docs on provenance
ad7465b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1d243af Switch inline(always) in core/src/fmt/rt.rs to plain inline
525f76a Reword prelude for AsyncFn stabilization
8a27c31 Stabilize async closures
f642d1e Remove consteval note from <*mut T>::align_offset docs.
40e1e6a Stabilize the Rust 2024 prelude
b97f4b1 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
7663b8e Move some alloc tests to the alloctests crate
c41ae46 control libunwind linkage mode via `crt-static` on gnullvm targets
a9aa795 Change `GetManyMutError` to match T-libs-api decision
6c26c1f Add references to the specific ABI documents
3f27d14 Remove l4re from the unsigned char operating system list
8dad89d De-duplicate and improve definition of core::ffi::c_char
ea28d00 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
bdc41b0 stabilize const_nonnull_new
0b9fa79 Remove rustc_const_stable attribute on const NOOP
7dc60b0 Add libc funcitons only for wasm32-wasip1-threads.
8a3d98e Fix compilation for wasm32-wasip1 (without threads).
2e3c4c1 Use UNIX thread_local implementation for WASI.
db3dabd Run TLS destructors for wasm32-wasip1-threads
db10ed2 Downgrade cc
71746ce Run `cargo update` and update licenses
d1fec28 chore: Improve doc comments
c5441a0 Refactor ReadDir into a state machine
801f202 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
0ec7440 docs: better examples for `std::ops::ControlFlow`
40b7e34 Expand home_dir docs
ee25eae Add doc alias 'then_with' for `then` method on `bool`
6caf966 Adds new intrinsic declaration
13c822f Define acronym for thread local storage
24d01f8 Add a `collect_into` tuple test case
8a692d7 Don't impl Extend for 13-tuples
0633f80 Simplify documentation for Extend impl for tuples
51e7e30 Add Extend impls for tuples of arity 1 through 12
65ebd99 Unbreak tidy
9720b30 Stabilize `std::io::ErrorKind::QuotaExceeded`
b1c6073 Stabilize `std::io::ErrorKind::CrossesDevices`
55c56a8 Access members of `FormattingOptions` directly instead of via getters/setters
d08846f Removed constness for methods receiving a `&mut` parameter
5b85082 Added better reason for exposing `flags` and `get_flags` as unstable
1a77dd5 Formatted
26aad90 Refactored FormattingOptions to use a bitmask for storing flags
01aa5c5 Revert "Turned public+unstable+hidden functions into private functions"
8143c45 Turned public+unstable+hidden functions into private functions
f2e12e2 Made all fns const
9999525 impl Default for fmt::FormattingOptions
22c0378 Fixed copy+paste error in comment
5a7cd46 fmt::FormattingOptions: Renamed `alignment` to `align`
8917e4b Formatter::with_options: Use different lifetimes
6fccc33 Fixed another broken test
e7da947 Added struct `fmt::FormattingOptions`
7ec5713 Formatter: Access members via getter methods wherever possible
c5be4f9 Stabilize noop_waker
992149b Improve documentation
4623ca3 Reformat Python code with `ruff`
9a261ff Improve comments for the default backtrace printer
90aca0d clarify simd_relaxed_fma non-determinism
9382a29 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
0b6e45d Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
7609542 Allow fn pointers comparisons lint in library
aa74eb2 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ccb8b4 Add `core::arch::breakpoint` and test
abcce94 a release operation synchronizes with an acquire operation
c801b09 Update the definition of `borrowing_sub`
afcc3e9 stabilize const_{size,align}_of_val
1ff28eb ./x miri: fix sysroot build
6ad4c21 stabilize const_collections_with_hasher and build_hasher_default_const_new
f8d800c Match simd_relaxed_fma documentation to fmuladd intrinsic
6aa2851 Add simd_relaxed_fma intrinsic
579e5e1 Fix `f16::midpoint` const feature gate
ef451d5 Use c"lit" for CStrings without unwrap
1f20c08 Stabilize `const_maybe_uninit_write`
520b445 Fix docs for '<[T]>::as_array';
94547e9 Stabilize `ptr::fn_addr_eq`
39e964b rustc_allow_const_fn_unstable is not used in proc_macro
7c3008d get rid of a bunch of unnecessary rustc_const_unstable
5de2b3f remove a whole bunch of unnecessary const feature gates
ed5c4a9 add isatty alias for is_terminal
07ca1fa Stabilize unsigned `num_midpoint` feature
49d16de Mark `slice::copy_from_slice` unstably const
8426192 Fix chaining `carrying_add`s
e0da459 add test for bytewise ptr::swap of a pointer
5d54d49 move swap_nonoverlapping constness to separate feature gate
4417e17 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
26015bb Add diagnostic item for `std::ops::ControlFlow`
4019a11 update link to "C++ Exceptions under the hood" blog
386b985 fix: fix codeblocks in `PathBuf` example
c550669 fix: hurd build, stat64.st_fsid was renamed to st_dev
ae58d9e std: clarify comments about initialization
014fc05 std: refactor `pthread`-based synchronization
54ca95f bump hashbrown version
8afdd20 Fill in a `BTreeSet::entry` example
a0554fb Add a tracking issue for `btree_set_entry`
71144f7 Add `BTreeSet` entry APIs to match `HashSet`
d862a5c Implement code review
eeffc1a thread::available_parallelism for wasm32-wasip1-threads
4529581 changes old intrinsic declaration to new declaration
00777b5 Fix and undeprecate home_dir()
901694b refine mir debuginfo docs
b18cf92 Doc comment custom MIR debuginfo.
0fb7578 Stabilize `extended_varargs_abi_support`
a6289b0 update cfgs
d3d7ff0 replace placeholder version
17ac3a9 Also use zero when referencing to capacity or length
4cf034f Use consistent wording in docs, use zero instead of 0
5cd2f7d Fix typos in pin.rs
129c425 Share inline(never) generics across crates
1eec4db fmt
6a3a37a aix: create shim for lgammaf_r
4a77898 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
ba5ad84 Remove one stray space.
24c150a Update chown help with a link and adding cap warning
709b548 Expand std::os::unix::fs::chown() doc with a warning
1546ede Add missing code examples on `LocalKey`
ca2723b Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
e3cabe5 Remove unnecessary `#![allow(unused_features)]`
0512cb6 Sort and separate lint/feature attributes in `profiler_builtins`
c18f916 std: update internal uses of `io::const_error!`
a01ee48 std: expose `const_io_error!` as `const_error!`
df35e90 Constify Drop and Destruct
fb219bd miri: disable test_downgrade_observe test on macOS
5acb82d Shorten the `MaybeUninit` `Debug` implementation
c6d08f5 Support ranges in `<[T]>::get_many_mut()`
82d4539 btree: add `{Entry,VacantEntry}::insert_entry`
bfbb9b2 std::thread: avoid leading whitespace in some panic messages
062e398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: ef0f097
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 10, 2025
ef0f097 [create-pull-request] automated change
64f2b1a checked_ilog tests: deal with a bit of float imprecision
c3a1bc0 Fix Windows `Command` search path bug
29fb694 make `simd_insert` and `simd_extract` `const fn`s
afb2731 Update some comparison tests now that they pass in LLVM20
8b6e37e Use `.expect(..)` instead
6e79698 Remove speculation on cause of error
70750b5 Return error on unexpected termination in `Thread::join`.
51552a2 add `IntoBounds::intersect` and `RangeBounds::is_empty`
9ee4e11 require trait impls to have matching const stabilities as the traits
f3e33e0 fix: attr cast for espidf
9841ddf Do not use CString in the examples of CStr.
853522b remove MaybeUninit::uninit_array
3addad9 fix doc in library/core/src/pin.rs
85b249a Enable `f16` for MIPS
0f2916e Skip scanning for surrogates when not known valid
81ee13a Add fast path for displaying pre-validated Wtf8Buf
b3806a9 disable a potentially bogus test on Miri
ac1915b Don't doc-comment BTreeMap<K, SetValZST, A>
68ee1c0 Update `compiler-builtins` to 0.1.148
3dc6d78 remove some unnecessary rustc_const_unstable
6149a13 Implement read_buf for zkVM stdin
f318d66 stabilize extract_if
40a6164 Update string.rs
0ac5a98 Update string.rs
38326cd Stabilize `core::str::from_utf8_mut`
e78c427 Explain how Vec::with_capacity is faithful
6058a71 Stabilize `hash_extract_if`
70e30dd std: Fix another new symlink test on Windows
8a3397a remove uses of rustc_intrinsic_must_be_overridden from standard library
2face94 Correct doc about `temp_dir()` behavior on Android
5b9aa0d Simplify trait error message for CoercePointee validation
2338290 Added into_value const function to ControlFlow<T, T>
3b19a00 Fix documentation for unstable sort
61e78f5 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
787edff Fix unbounded_shifts tests
5dc8d55 Stabilize `unbounded_shifts`
d0ada29 tidying up tidy
123493f replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
01d2776 rename sub_ptr 😅
9ebe6db Update `compiler-builtins` to 0.1.147
776d981 add stdarch compatibility hack
4d1145c make the new intrinsics safe
8941ca5 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
c36b267 Remove outdated target `unexpected_cfgs`
3cf65ea update `cfg(bootstrap)`
b63bfd0 update version placeholders
cba55c9 Use faster thread_local! for stdout
bc3bf91 Use faster thread_local in current_thread_id()
614bbf1 Highlight thread_local! const init in docs
70a82a1 fix by comments
4283c44 remove assume_init in stack_overflow
3970915 Consistently using as_mut_ptr() and as_ptr() in thread
166383f Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
ff53ca0 stabilize `unsigned_is_multiple_of`
b374d73 stabilize (const_)ptr_sub_ptr
6ec49b0 Replace some instances of `pub` with `pub(crate)`
62e4416 Use `public-dependencies` in all sysroot crates
2c56cb3 Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
40ee989 Implement feature `isolate_most_least_significant_one` for integer types
7056a1b Add #[track_caller] to Duration Div impl
4581d06 Implement read_buf for WASI stdin
94b401d Stabilise `os_str_display`
ccb6182 core/net: IpAddr*::as_octets()
d9f8eda Optionally add type names to `TypeId`s.
6152c90 reduce `Box::default` stack copies in debug mode
a7e5f20 Remove obsolete MinGW ThinLTO+TLS workaround
2624d21 Fix `*-win7-windows-msvc` target since c6643e0501a1ae5670ecd636bffa0a8ad762ca4e
d25d3ae Stabilize `num_midpoint_signed` feature
0bf048d Add real safety comments
79a1d06 Go back to `Some` instead of transmuting to it.
04f474c Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
87a50c8 Simplify `slice::Iter::next` enough that it inlines
9a26151 stabilize `inherent_str_constructors`
8524690 Synchronize platform adaptors for OsString/OsStr
ec53d7f Simplify control flow with while-let
ea46bae Improve WTF-8 comments
eeee097 Remove ignored `#[must_use]` attributes from portable-simd
5a108ca Use more explicit and reliable ptr select in sort impls
0df943b Impl TryFrom<Vec<u8>> for String
32b8847 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5dccabc Stabilize file_lock
37a39ca Update library/std/src/fs.rs
d1803a1 Update fs.rs
dd50fef Improve instant docs
13dce06 Stabilize const_slice_flatten
94729c1 Fix typo in hidden internal docs of `TrustedRandomAccess`
0ab8e5c Stabilize (and const-stabilize) `integer_sign_cast`
47d16ac fix docs for inherent str constructors
c07ced2 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
79caf1b Clarify that locking on Windows also works for files opened with `.read(true)`
f4e9888 Document that locking a file fails on Windows if the file is opened only for append
1458509 Reword file lock documentation to clarify advisory vs mandatory
30995a6 add last std diagnostic items for clippy
db00c40 Remove std::os::wasi::fs::FileExt::tell
1a4b1ab tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
9b6a9a3 Make ub_check message clear that it's not an assert
58aae77 Use tell for <File as Seek>::stream_position
c80cbf0 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
54a377b invalid_from_utf8[_unchecked]: also lint inherent methods
6218e42 Fix &&str and trailing commas in io::const_error!
a641bfd Use io::const_error! when possible over io::Error::new
755621f Add an example for std::error::Error
5b9e34d proc_macro: Apply unsafe_op_in_unsafe_fn
edce978 std: Apply unsafe_op_in_unsafe_fn
e30a819 Fix safety of windows uwp functions
6be9348 unwind: Apply unsafe_op_in_unsafe_fn
4f1db6e panic_unwind: Apply unsafe_op_in_unsafe_fn
cdd6410 panic_abort: Apply unsafe_op_in_unsafe_fn
ca7d5a8 core: Apply unsafe_op_in_unsafe_fn
e593619 docs: fix broken intra-doc links that never worked
19783e1 Forward all default methods for I/O impls
541a4d5 Windows: Update generated bindings to 0.59
fb35545 Add safe new to NotAllOnes
576351d Implement Extend<AsciiChar> for String
de22da6 re-export `core::iter::FromCoroutine`
af3a373 Implement `f{16,32,64,128}::{erf,erfc}`
bc12d9e std: Apply deprecated_safe_2024
a80f231 test: Apply deprecated_safe_2024
f6d1020 std: Apply fixes for tail drop expressions
1e0a688 std: Apply rust_2024_incompatible_pat
e0d802d std: Apply dependency_on_unit_never_type_fallback
5812e00 std: Apply missing_unsafe_on_extern
0fe0cd1 std: Apply unsafe_attr_outside_unsafe
d299573 alloc: Apply missing_unsafe_on_extern
ec4f2b9 alloc: Apply unsafe_attr_outside_unsafe
ad33ae4 alloc: Workaround hidden doctest line
06f1f5e Migrate coretests to Rust 2024
6083e3c library: Update rand to 0.9.0
52cabae core: Apply unsafe_attr_outside_unsafe
aef036b Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
48bdfdd alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
2205aeb Use `slice::fill` in `io::Repeat` implementation
31bec16 Remove the common prelude module
7eb7fc4 Correct comment for FreeBSD and DragonFly BSD in unix/thread
2c8633e `transmute` should also assume non-null pointers
9097546 Update backtrace
fc6902d expect EINVAL for pthread_mutex_destroy for aix
ef05bf9 add `IntoBounds` trait
df04622 Stabilize `get_many_mut` as `get_disjoint_mut`
c0478a4 Fix import in bench for wasm
ee7bfa5 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
3f1612b Add diagnostic item for `std::io::BufRead`
69714e3 Implement `read*_exact` for `std:io::repeat`
8fe5725 std: replace the `FromInner` implementation for addresses with private conversion functions
341bf46 Stabilize target_feature_11
1471731 Change swap_nonoverlapping from lang to library UB
54440f0 `f128` is quadruple-precision
aba9541 `f16` is half-precision
dbd5829 library: amend revert of extended_varargs_abi_support for beta diff
96524c3 Revert "Stabilize `extended_varargs_abi_support`"
b997811 Change the issue number for `likely_unlikely` and `cold_path`
74af9cb Update docs for impl keyword
11ca36b include note on variance and example
4d07c7f Improve examples for file locking
0f343c6 library: doc: core::alloc::Allocator: trivial typo fix
97a1793 stabilize `NonZero::count_ones`
f78d0b5 Fix long lines which rustfmt fails to format
d291024 Reword doc comment on `CoercePointeeValidated`
d1f2756 block coerce_pointee_validated for stabilization
7260481 rename the trait to validity and place a feature gate afront
b04509b introduce CoercePointeeWellformed for coherence checks at typeck stage
a8d6946 Update `compiler-builtins` to 0.1.146
f0d8947 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
c27190b ignore win_delete_self test in Miri
31da512 Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d32f519 Mark extern blocks as unsafe
e3a5462 Rename field in OnceWith from gen to make
16b0493 Mark link_section attr with unsafe
c989821 Use Option for FindNextFileHandle
3c7f1e7 fix(libtest): Enable Instant on Emscripten targets
906cd83 Simplify Rc::as_ptr docs + typo fix
726ebbd Stabilize `vec_pop_if`
2aa4937 Rustfmt
732cead occured -> occurred
2ac680a Allow Rust to use a number of libc filesystem calls
fcc12b2 Windows: Test that deleting a running binary fails
75f6307 Update platform information for remove_file
fb5bcee Windows: remove readonly files
03bb961 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
62795e1 Document `Sum::sum` returns additive identities for `[]`
317f65c Clean up 'HashMap' and 'HashSet' docs;
b892d75 Optimize `Rc::<str>::default()` implementation
0c2cc40 std: get rid of `sys_common::io`
ff97a59 std: move `io` module out of `pal`
c58a610 Move two windows process tests to tests/ui
180138f tests(std/net): remove outdated `base_port` calculation
f9ef766 sys: net: Add UEFI stubs
eea1f4e Remove some unnecessary parens in `assert!` conditions
37e6aca remove use of `feature(trait_upcasting)` from core tests
86f4b51 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
e89331c Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
4bd3489 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
8999778 Fix unreachable_pub lint for hermit target
c0b3088 Fix link in from_fn.rs
d96f44f Use `widening_mul`
5eaa3d6 Add OneSidedRangeBound to eliminate panic in `split_point_of`
8a60bf4 Rename slice::take methods to split_off
3209f6d Update `compiler-builtins` to 0.1.145
0bd650f specify a prim@slice in docs
6dad5ab implement inherent str constructors
18e2cdc std: move network code into `sys`
13a29e8 uefi: process: Add support for command environment variables
3537d63 Mark `std::fmt::from_fn` as `#[must_use]`
857889f Rename rustc_contract to contract
473b211 Improve contracts intrisics and remove wrapper function
526691d Separate contract feature gates for the internal machinery
26c2f64 Desugars contract into the internal AST extensions
60e508c Express contracts as part of function header and lower it to the contract lang items
e619af7 contracts: added lang items that act as hooks for rustc-injected code to invoke.
8534d8b Contracts core intrinsics.
522dcce More PR feedback
42e9435 PR feedback
62b0a16 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
24acba1 Add note about `FnPtr` being exposed as public bound
3d12914 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
7897e75 For NonZero impl macros, give unsigned impls access to the corresponding signed type
816a396 std::fs: further simplify dirent64 handling
a561a7a add UnsafeCell direct access APIs
5beaefc primitive type migration from mod.rs to primitives.rs
148c63e implement unstable `new_range` feature
27a0a5b std::range
5c166aa Remove stabilized feature gate
1e27979 Move env modifying tests to a separate integration test
10b7576 Fix for SGX
c5e3db5 Fix benchmarking of libstd
d4958a0 Move std::sync unit tests to integration tests
319453a Move std::thread_local unit tests to integration tests
5201ec6 Move std::time unit tests to integration tests
ec5ad10 Move std::path unit tests to integration tests
66fd95c Move std::panic unit tests to integration tests
fdf5133 Move std::num unit tests to integration tests
8d70f37 Move std float unit tests to integration tests
16cbcf2 Move std::error unit tests to integration tests
80c1193 Move std::env unit tests to integration tests
586737e no unsafe pointer and no overflowing_literals in fmt::Display of integers
3d75a0c black_box integer-input on fmt benches
26d6662 OnceCell & OnceLock docs: Using (un)initialized consistently
f8c386b Docs for f16 and f128: correct a typo and add details
7bff6b6 rustc_allowed_through_unstable_modules: require deprecation message
fec18a1 Update encode_utf16 to mention it is native endian
0e54da3 remove Rustc{En,De}codable from library and compiler
f969806 make rustc_encodable_decodable feature properly unstable
2820baf Fix sentence in process::abort
f834210 document ptr comparison being by address
5046d88 stabilize `once_wait`
bcf9324 implement all min/max fns in terms of `<`/`is_lt`
3afca8e improve doc tests for (min/max/minmax).* functions
2596636 docs: Documented Send and Sync requirements for Mutex + MutexGuard
c2ebd3d Add documentation for derive(CoercePointee)
8a57219 Fix off-by-one error causing driftsort to crash
4a787d0 Insert null checks for pointer dereferences when debug assertions are enabled
6746f0f atomic: extend compare_and_swap migration docs
a1b689e float::min/max: mention the non-determinism around signed 0
77b4295 Stabilize `const_black_box`
cc4725e Improve documentation for file locking
d5dc487 Remove minor future footgun in `impl Debug for MaybeUninit`
a6cd342 Add `AsyncFn*` to core prelude
25c44a5 uefi: Implement path
667c939 Implement `int_from_ascii` (rust-lang#134821)
6637642 Cleanup docs for Allocator
416ced1 btree/node.rs: pop_internal_level: does not invalidate other handles
e6434b1 btree/node.rs: remove incorrect comment from pop_internal_level docs
061a6fe add inline attribute and codegen test
8531bd0 split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
88d05c0 optimize slice::ptr_rotate for compile-time-constant small rotates
64a9a9f Test pipes also when not running on Windows and Linux simultaneously
6dbe017 uefi: process: Fix args
f910b96 [cfg_match] Document the use of expressions
5edbe52 Update comments and sort target_arch in c_char_definition
74efd97 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
f0bd2d2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
0d0e9d4 Document powf and powi calls that always return 1.0
9070bb8 Document purpose of closure in from_fn.rs more clearly
85d2ef5 add missing allocator safety in alloc crate
bc9b642 alloc: add `#![warn(unreachable_pub)]`
a78c17f Implement `AtomicT::update` & `AtomicT::try_update`
11b4fb7 fix doc for std::sync::mpmc
332ddeb Implement phantom variance markers
e175c96 Clarify WindowsMut (Lending)Iterator
2954733 compiler_fence: fix example
4711205 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
8fdbfcc Move `std::io::pipe` code into its own file
d5bc23e Actually run the bstr test
63aa66e Update comment
b54e951 Put all coretests in a separate crate
5f996bb Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
e0a4de9 add nto80 x86-64 and aarch64 target
70547f0 Add support for QNX 7.1 with io-sock on x64
d87dbcb Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
e1768a5 Update a bunch of comments from before wasi support was added
643837f Remove a bunch of emscripten test ignores
3b6f892 Fix testing of the standard library with Emscripten
08d0a4f fix(libtest): Deprecate '--logfile'
65b818a docs: fix typo in std::pin overview
28b9e96 ports last few library files to new intrinsic style
53e6919 Improve and expand documentation of pipes
d479654 Fix set_name in thread mod for NuttX
63f84e9 Fix `FormattingOptions` instantiation with `Default`
5a2c03d Update library/core/src/num/nonzero.rs
28541bb Add memory layout documentation to generic NonZero<T>
2c8447b Fix whitespace
a4fd38e document order of items in iterator from drain
c1d8f3d Add `File already exists` error doc to `hard_link` function
6d92a7f Doc difference between extend and extend_from_slice
d2c23ff Make `Vec::pop_if` a bit more presentable
56c844c Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
73f1b22 remove pointless allowed_through_unstable_modules on TryFromSliceError
18b0426 test: add `#![warn(unreachable_pub)]`
48259e8 proc_macro: add `#![warn(unreachable_pub)]`
49c9ff2 Implement `CloneToUninit` for `ByteStr`
ed7b52a Add doc aliases for BStr and BString
89b94b2 Omit some more `From` impls to avoid inference failures
68d063d Support `no_rc`, `no_sync`, and `no_global_oom_handling`
7561b27 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
9b1947f Implement `ByteStr` and `ByteString` types
11be50b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
467d2e5 Library: Finalize dyn compatibility renaming
883e259 Remove test panic from File::open
37801f8 fix OsString::from_encoded_bytes_unchecked description
359abe2 Add an example of using `carrying_mul_add` to write wider multiplication
4bf0fc9 Outline panicking code for `LocalKey::with`
468d258 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
507ffb5 core: add `#![warn(unreachable_pub)]`
fca1d52 rtstartup: add `#![warn(unreachable_pub)]`
7fede9a panic_unwind: add `#![warn(unreachable_pub)]`
49c0fc2 Recognise new IPv6 documentation range from RFC9637
c91d6e5 1. Removed 'rustc_nounwind' 2. Rewording of comments
9dc5e61 Export likely(), unlikely() and cold_path() in std::hint
e868a10 Correct counting to four in cell module docs
7ebfea3 doc: Point to methods on `Command` as alternatives to `set/remove_var`
74a5f96 wasi/io: remove dead files
29253bb remove unnecessary rustc_allowed_through_unstable_modules
0cb9f60 further improve panic_immediate_abort by removing rtprintpanic messages
101e6fc cargo update
7342d8f Rewrap following accepting review suggestions from @ibraheemdev
5d341b6 Update library/core/src/slice/mod.rs
00c745c Update library/core/src/slice/mod.rs
187eaa3 Update library/core/src/slice/mod.rs
881832a Update library/core/src/slice/mod.rs
7326106 Update library/core/src/slice/mod.rs
6a2d8b8 Update library/core/src/slice/mod.rs
b764b98 Update library/core/src/slice/mod.rs
623bdc2 Update library/core/src/slice/mod.rs
fe60d99 Update library/core/src/slice/mod.rs
fcd6913 Update library/core/src/slice/mod.rs
72640bc `then be` -> `be` based on feedback from @ibraheemdev
3fe4771 Improve `select_nth_unstable` documentation clarity
2cb818f Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
6d14ec0 Add references to the IEEE functions for `float_next_up_down`
920d386 Stabilize `float_next_up_down`
e53b690 Fix import of pipe in kernel_copy.rs
9613494 Move `std::pipe::*` into `std::io`
41893a0 Clarify note in `std::sync::LazyLock` example
b8303f0 fix typo in library/alloc/src/sync.rs
2103ef3 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
a7f7f6e Adjust syntax
2c52964 Less unsafe in `dangling`/`without_provenance`
5de413e fix typo in typenames of pin documentation
15c0127 intrinsics: deprecate calling them via the unstable std::intrinsics path
13c63fe add comments explaining main thread identification
83d97ee std: lazily allocate the main thread handle
de0a334 Revert "Remove the Arc rt::init allocation for thread info"
028efa0 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
14af7ad Update compiler-builtins to 0.1.143
b26cfc6 Rename `pos` to `position`
847bb19 Convert `struct FromBytesWithNulError` into enum
e214442 Enforce syntactical stability of const traits in HIR
1511f9e Update compiler-builtins to 0.1.141
1589d0b Add another `Vec::splice` example
a574226 avoid nesting the user-defined main so deeply on the stack
e35d731 use a single large catch_unwind in lang_start
23a5f08 uefi: helpers: Introduce OwnedDevicePath
9db8150 path: Move is_absolute check to sys::path
d3afa44 Update the explanation for why we use box_new in vec!
8ecd1d5 Add #[inline] to copy_from_slice
1b7e73a Add inherent versions of MaybeUninit methods for slices
2671eb5 Make UniqueRc invariant for soundness
1e55e38 update and clarify StructuralPartialEq docs
c3df7cd Use `NonNull::without_provenance` within the standard library
cc0fc4a Initial fs module for uefi
b8ebc3b Improve the safety documentation on new_unchecked
c20c11d Update a bunch of library types for MCP807
914ee4f alloc: remove unsound `IsZero` for raw pointers
aedc4a5 Fix `proc_macro::quote!` for raw ident
c3cca95 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
1375607 Rename the internal simpler `quote` macro to `minimal_quote`
189a1d6 Used pthread name functions returning result for FreeBSD and DragonFly
b4227ca Fix ptr::from_ref documentation example comment
9f7ea6b Improve prose around `as_slice` example of IterMut
8825c2c fmt
0cfcb4b update cfg(bootstrap)
b271343 update version placeholders
3a9b79b Remove some unnecessary `.into()` calls
cbce3da add missing provenance APIs on NonNull
4eef067 More compelling env_clear() examples
b5226d0 Implement Condvar::wait_timeout for targets without threads
70ca299 Impl String::into_chars
add3dd9 Avoid naming variables `str`
285706c [generic_assert] Constify methods used by the formatting system
328351f Add support for wasm exception handling to Emscripten target
fae1945 chore: remove redundant words in comment
0fe9cc2 Add doc aliases for `libm` and IEEE names
2090c36 Mark `slice::reverse` unstably const
7118359 Clarified the documentation on core::iter::from_fn and core::iter::successors
56acaee library: fix adler{-> 2}.debug
bc7ff12 add regression test for unsound Flatten/FlatMap specialization
be95771 do not in-place-iterate over flatmap/flatten
4317f17 Fix UWP build
6da0643 Bump backtrace to 0.3.75
4e0279c sync to actual dep verions of backtrace
181cda1 turn rustc_box into an intrinsic
8974f20 core: use public method instead of instrinsic
f61b805 core: improve comments
111122e core: implement `bool::select_unpredictable`
fe125b2 Switch rtems target to panic unwind
47a3749 path in detail
ce272e6 Move some things to `std::sync::poison` and reexport them in `std::sync`
73137b1 Bump backtrace to rust-lang/backtrace-rs@4d7906b
2f00b57 Try to write the panic message with a single `write_all` call
8fc894e fix doc for missing Box allocator consistency
c123ec7 Remove qualification of `std::cmp::Ordering` in `Ord` doc
5dd3355 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
381118b Avoid use of LFS64 symbols on Emscripten
ae47595 char to_digit: avoid unnecessary casts to u64
3d3342b Remove allowing static_mut_refs lint
f8f894e Tidy up bigint mul methods
153737e fix doc for read write unaligned in zst operation
fb24eac Avoid short writes in LineWriter
c2ab1fb ptr docs: make it clear that we are talking only about memory accesses
8d6f948 Make slice::as_flattened_mut unstably const
d9bd636 rename typed_swap → typed_swap_nonoverlapping
57e6fa0 stabilize const_swap
85e3c60 fix: typos
7e555eb Fix sentence fragment in `pin` module docs
3daa58d docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
2b5202a Fix compilation issues on other unixes
712102c Eliminate redundant statx syscalls
3054f34 Unify fs::copy and io::copy
c28e5f6 Update `compiler-builtins` to 0.1.140
2230aec Update library/alloc/tests/sort/tests.rs
0e779e3 Fix typos
ef8b08d Override `carrying_mul_add` in cg_llvm
b703499 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
84d71a6 Fix mistake in windows file open
4e3170a Windows: Use WriteFile to write to a UTF-8 console
0093861 ptr::copy: fix docs for the overlapping case
d21473a Fix renaming symlinks on Windows
e9b5463 docs: inline `core::ffi::c_str` types to `core::ffi`
20e6f8e docs: inline `std::ffi::c_str` types to `std::ffi`
76e9ed6 unwinding: bump version to fix asm
ae5f4ef docs: update code example for Iterator#rposition
b6b2150 Use scoped threads in `std::sync::Barrier` examples
83aff29 Fix forgetting to save statx availability on success
c2b4f74 Specify only that duplicates are discarded, not the order.
5cd112c Document collection `From` and `FromIterator` impls that drop duplicate keys.
d8bd1fb Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
443681e Impl FromIterator for tuples with arity 1-12
4a9cd56 Fix formatting
835b27e stabilize const_alloc_layout
5b48895 chore: fix typos
948ba40 Windows: Use FILE_ALLOCATION_INFO for truncation
9a2e864 Bump `stdarch`
ae26451 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
d5d26e9 Fixes safety docs for `dyn Any + Send {+ Sync}`
55930bb Use `#[derive(Default)]` instead of manually implementing it
b05e73a Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
bb5b799 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
599256e docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
720f561 docs: Permissions.readonly() also ignores root user special permissions
c65986f cargo update
1c7d00a Delete `Rvalue::Len`
b7712d9 Asserts the maximum value that can be returned from `Vec::len`
90c0a7c Document `PointerLike` implementation restrictions.
c5cc438 Use `&raw` for `ptr` primitive docs
61c0a0a Add `is_ascii` function optimized for x86-64 for [u8]
5d95cdc Add new implementation benchmark
2fc67c5 Document CTFE behavior of methods that call is_null
bbbfe3f Correctly document is_null CTFE behavior.
44e4895 Win: rename: Use offset_of! in struct size calculation
7bae459 Win: Remove special casing of the win7 target for `std::fs::rename`
7a248e1 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
d0d2b49 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
8f7cf92 Less unwrap() in documentation
77f3dea Improve prose around into_slice example of IterMut
fb8661d Improve prose around `as_slice` example of Iter
7d06f29 Improve prose around basic examples of Iter and IterMut
54b9f1a Abstract `ProcThreadAttributeList` into its own struct
9d76cf5 fix `PointerLike` docs
29446d2 unimplement `PointerLike` for trait objects
ccfe7aa split up `#[rustc_deny_explicit_impl]` attribute
3194e7d remove reference to dangling from slice::Iter
3a5aee1 mri: add track_caller to thread spawning methods for better backtraces
b54934c fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
c619a0e Improve documentation of `element_offset` and related methods
98a69d6 Rename `elem_offset` to `element_offset`
6e39698 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
91c4ab0 build: Update libc version
0e014f6 fix typo in ptr/mod.rs
144dea3 Stabilize `#[diagnostic::do_not_recommend]`
12e2aec Use field init shorthand where possible
b8796d2 fix(LazyCell): documentation of get[_mut] was wrong
d988e7b 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
0dfcb5a Fix typo in uint_macros.rs
0b6d717 remove obsolete comment and pub(super) visibility
ab9827f remove bounds from vec and linkedlist ExtractIf
13feda4 Add a range argument to vec.extract_if
15bdd31 Stabilize #[coverage] attribute
2322c7a Remove `rustc::existing_doc_keyword` lint.
4a4b343 Move `doc(keyword = "while")`.
509c8a6 rustdoc-search: let From and Into be unboxed
6071a58 Replace i32 by char in `split_at` & `_unchecked`
8e8a475 Add clarity to the "greater" of `VecDeque::insert`
352800a Replace i32 by char to add clarity
ece5840 Add value accessor methods to `Mutex` and `RwLock`
4afa7a6 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
f6519f2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
8008896 UniqueRc: PinCoerceUnsized and DerefPure
bcaea4f UniqueRc: comparisons and Hash
973f325 UniqueRc: Add more trait impls.
3f21a79 Remove support for specializing ToString outside the standard library
a18db41 Correct spelling of CURRENT_RUSTC_VERSION
b109dbd Add documentation for anonymous pipe module
7cf2173 feat: clarify how to use `black_box()`
59b15c0 Update includes in '/library/core/src/error.rs';
8a43221 Fix building `std` for Hermit after `c_char` change
f1e5058 Fix `Path::is_absolute` on Hermit
393b70c Fix typos in docs on provenance
ad7465b Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
1d243af Switch inline(always) in core/src/fmt/rt.rs to plain inline
525f76a Reword prelude for AsyncFn stabilization
8a27c31 Stabilize async closures
f642d1e Remove consteval note from <*mut T>::align_offset docs.
40e1e6a Stabilize the Rust 2024 prelude
b97f4b1 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
7663b8e Move some alloc tests to the alloctests crate
c41ae46 control libunwind linkage mode via `crt-static` on gnullvm targets
a9aa795 Change `GetManyMutError` to match T-libs-api decision
6c26c1f Add references to the specific ABI documents
3f27d14 Remove l4re from the unsigned char operating system list
8dad89d De-duplicate and improve definition of core::ffi::c_char
ea28d00 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
bdc41b0 stabilize const_nonnull_new
0b9fa79 Remove rustc_const_stable attribute on const NOOP
7dc60b0 Add libc funcitons only for wasm32-wasip1-threads.
8a3d98e Fix compilation for wasm32-wasip1 (without threads).
2e3c4c1 Use UNIX thread_local implementation for WASI.
db3dabd Run TLS destructors for wasm32-wasip1-threads
db10ed2 Downgrade cc
71746ce Run `cargo update` and update licenses
d1fec28 chore: Improve doc comments
c5441a0 Refactor ReadDir into a state machine
801f202 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
0ec7440 docs: better examples for `std::ops::ControlFlow`
40b7e34 Expand home_dir docs
ee25eae Add doc alias 'then_with' for `then` method on `bool`
6caf966 Adds new intrinsic declaration
13c822f Define acronym for thread local storage
24d01f8 Add a `collect_into` tuple test case
8a692d7 Don't impl Extend for 13-tuples
0633f80 Simplify documentation for Extend impl for tuples
51e7e30 Add Extend impls for tuples of arity 1 through 12
65ebd99 Unbreak tidy
9720b30 Stabilize `std::io::ErrorKind::QuotaExceeded`
b1c6073 Stabilize `std::io::ErrorKind::CrossesDevices`
55c56a8 Access members of `FormattingOptions` directly instead of via getters/setters
d08846f Removed constness for methods receiving a `&mut` parameter
5b85082 Added better reason for exposing `flags` and `get_flags` as unstable
1a77dd5 Formatted
26aad90 Refactored FormattingOptions to use a bitmask for storing flags
01aa5c5 Revert "Turned public+unstable+hidden functions into private functions"
8143c45 Turned public+unstable+hidden functions into private functions
f2e12e2 Made all fns const
9999525 impl Default for fmt::FormattingOptions
22c0378 Fixed copy+paste error in comment
5a7cd46 fmt::FormattingOptions: Renamed `alignment` to `align`
8917e4b Formatter::with_options: Use different lifetimes
6fccc33 Fixed another broken test
e7da947 Added struct `fmt::FormattingOptions`
7ec5713 Formatter: Access members via getter methods wherever possible
c5be4f9 Stabilize noop_waker
992149b Improve documentation
4623ca3 Reformat Python code with `ruff`
9a261ff Improve comments for the default backtrace printer
90aca0d clarify simd_relaxed_fma non-determinism
9382a29 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
0b6e45d Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
7609542 Allow fn pointers comparisons lint in library
aa74eb2 Update `NonZero` and `NonNull` to not field-project (per MCP807)
9ccb8b4 Add `core::arch::breakpoint` and test
abcce94 a release operation synchronizes with an acquire operation
c801b09 Update the definition of `borrowing_sub`
afcc3e9 stabilize const_{size,align}_of_val
1ff28eb ./x miri: fix sysroot build
6ad4c21 stabilize const_collections_with_hasher and build_hasher_default_const_new
f8d800c Match simd_relaxed_fma documentation to fmuladd intrinsic
6aa2851 Add simd_relaxed_fma intrinsic
579e5e1 Fix `f16::midpoint` const feature gate
ef451d5 Use c"lit" for CStrings without unwrap
1f20c08 Stabilize `const_maybe_uninit_write`
520b445 Fix docs for '<[T]>::as_array';
94547e9 Stabilize `ptr::fn_addr_eq`
39e964b rustc_allow_const_fn_unstable is not used in proc_macro
7c3008d get rid of a bunch of unnecessary rustc_const_unstable
5de2b3f remove a whole bunch of unnecessary const feature gates
ed5c4a9 add isatty alias for is_terminal
07ca1fa Stabilize unsigned `num_midpoint` feature
49d16de Mark `slice::copy_from_slice` unstably const
8426192 Fix chaining `carrying_add`s
e0da459 add test for bytewise ptr::swap of a pointer
5d54d49 move swap_nonoverlapping constness to separate feature gate
4417e17 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
26015bb Add diagnostic item for `std::ops::ControlFlow`
4019a11 update link to "C++ Exceptions under the hood" blog
386b985 fix: fix codeblocks in `PathBuf` example
c550669 fix: hurd build, stat64.st_fsid was renamed to st_dev
ae58d9e std: clarify comments about initialization
014fc05 std: refactor `pthread`-based synchronization
54ca95f bump hashbrown version
8afdd20 Fill in a `BTreeSet::entry` example
a0554fb Add a tracking issue for `btree_set_entry`
71144f7 Add `BTreeSet` entry APIs to match `HashSet`
d862a5c Implement code review
eeffc1a thread::available_parallelism for wasm32-wasip1-threads
4529581 changes old intrinsic declaration to new declaration
00777b5 Fix and undeprecate home_dir()
901694b refine mir debuginfo docs
b18cf92 Doc comment custom MIR debuginfo.
0fb7578 Stabilize `extended_varargs_abi_support`
a6289b0 update cfgs
d3d7ff0 replace placeholder version
17ac3a9 Also use zero when referencing to capacity or length
4cf034f Use consistent wording in docs, use zero instead of 0
5cd2f7d Fix typos in pin.rs
129c425 Share inline(never) generics across crates
1eec4db fmt
6a3a37a aix: create shim for lgammaf_r
4a77898 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
ba5ad84 Remove one stray space.
24c150a Update chown help with a link and adding cap warning
709b548 Expand std::os::unix::fs::chown() doc with a warning
1546ede Add missing code examples on `LocalKey`
ca2723b Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
e3cabe5 Remove unnecessary `#![allow(unused_features)]`
0512cb6 Sort and separate lint/feature attributes in `profiler_builtins`
c18f916 std: update internal uses of `io::const_error!`
a01ee48 std: expose `const_io_error!` as `const_error!`
df35e90 Constify Drop and Destruct
fb219bd miri: disable test_downgrade_observe test on macOS
5acb82d Shorten the `MaybeUninit` `Debug` implementation
c6d08f5 Support ranges in `<[T]>::get_many_mut()`
82d4539 btree: add `{Entry,VacantEntry}::insert_entry`
bfbb9b2 std::thread: avoid leading whitespace in some panic messages
062e398 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: ef0f097
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
2faa3f7c8b4 [create-pull-request] automated change
534f664479d Rollup merge of #137730 - RalfJung:checked_ilog_tests, r=tgross35
0009666d82c Rollup merge of #137673 - ChrisDenton:search-path-bug, r=dtolnay
ab8c0cfc5d8 checked_ilog tests: deal with a bit of float imprecision
f25513693c6 Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung
ef22eba437f Fix Windows `Command` search path bug
ce4e90b25b9 Rollup merge of #137620 - SergioGasquez:fix/espidf-maybeunit, r=ChrisDenton
96922313a57 Rollup merge of #137197 - scottmcm:cmp-20, r=ibraheemdev
5479b2ad6ab make `simd_insert` and `simd_extract` `const fn`s
eb5654f2eae Rollup merge of #136187 - hkBst:patch-27, r=workingjubilee
cd635d994e0 Rollup merge of #137480 - fuzzypixelz:fix/124466, r=workingjubilee
4a53c0ae580 Rollup merge of #134585 - cyrgani:uninit_array, r=Amanieu
9d63c81d91e Rollup merge of #137304 - pitaj:rangebounds-is_empty-intersect, r=ibraheemdev
a4651968d1e Rollup merge of #137614 - xizheyin:issue-134874, r=cuviper
32760e6fb81 require trait impls to have matching const stabilities as the traits
b34926b7454 fix: attr cast for espidf
33f4731e738 Update some comparison tests now that they pass in LLVM20
e70b1ff3285 Do not use CString in the examples of CStr.
915269dc271 Use `.expect(..)` instead
5adeacff2e9 remove MaybeUninit::uninit_array
7705cdfbb1b add `IntoBounds::intersect` and `RangeBounds::is_empty`
869d022a1cf Rollup merge of #137311 - martn3:enable-f16-mips, r=tgross35
72dbd1c0a44 fix doc in library/core/src/pin.rs
30326222d56 Remove speculation on cause of error
d6a2f47fa48 Rollup merge of #137154 - thaliaarchi:wtf8-fast-paths, r=ChrisDenton
c44bf6092e6 Return error on unexpected termination in `Thread::join`.
fdd2b941388 Auto merge of #137594 - RalfJung:miri-sync, r=RalfJung
23d7eb68d9f Auto merge of #137608 - fmease:rollup-h4siso6, r=fmease
8f4472439c5 Rollup merge of #137515 - tgross35:update-builtins, r=tgross35
3488cddc017 Auto merge of #137571 - tgross35:rollup-i1tcnv1, r=tgross35
777eb99bac9 Enable `f16` for MIPS
54ff5f14eb4 Skip scanning for surrogates when not known valid
1aa165f13c3 disable a potentially bogus test on Miri
4deee2f6d22 Rollup merge of #137576 - goffrie:setvalzst, r=lcnr
1f29091cb16 Update `compiler-builtins` to 0.1.148
e075ffa20d0 Rollup merge of #137543 - petrochenkov:wintest, r=ChrisDenton
f479cf06a2d Rollup merge of #137516 - RalfJung:rustc_const_unstable-cleanup, r=Amanieu
9ae17c4ab0a Add fast path for displaying pre-validated Wtf8Buf
aeb606f73ca Merge from rustc
d1d90a7ac0b Don't doc-comment BTreeMap<K, SetValZST, A>
4c37e11f15a Rollup merge of #137489 - RalfJung:no-more-rustc_intrinsic_must_be_overridden, r=oli-obk
5cce5b7cf69 Rollup merge of #137349 - thaliaarchi:io-optional-methods/zkvm, r=Noratrieb
5bd07475269 Merge from rustc
62afeaef8dc Rollup merge of #137321 - aviraxp:patch-1, r=cuviper
da0d982d549 Rollup merge of #137109 - bend-n:knife, r=oli-obk
f14cd2458ca Merge from rustc
5a36578d0cc Simplify trait error message for CoercePointee validation
5abd4842766 Rollup merge of #136775 - robertbastian:patch-2, r=Amanieu
5c3316fe7f9 Merge from rustc
992429ab2d1 Merge from rustc
ec26d66a2d4 Merge from rustc
ef05336af4b Merge from rustc
672a79aee02 Merge from rustc
be9424d8607 Merge from rustc
0741a544fce remove some unnecessary rustc_const_unstable
2bc4b64227e Implement read_buf for zkVM stdin
bc3a61fc61b stabilize extract_if
3bf9c33a87e Rollup merge of #136668 - WaffleLapkin:from_utf8_mut, r=Amanieu
4f39af59827 Update string.rs
8eba2b6091d Rollup merge of #135933 - hkBst:patch-19, r=workingjubilee
de8f76701a7 Stabilize `core::str::from_utf8_mut`
fe32499093f Update string.rs
35e9fddcdbb Rollup merge of #134655 - GrigorenkoPV:hash_extract_if, r=cuviper
1b69fc2ffbc Explain how Vec::with_capacity is faithful
6223aa0fb89 Stabilize `hash_extract_if`
c7caf81fcc8 Rollup merge of #137483 - bend-n:😅, r=Noratrieb
f1fd901a0ca std: Fix another new symlink test on Windows
0272ab0ad12 Rollup merge of #137495 - madhav-madhusoodanan:feature-unstable-control-flow-into-value, r=jhpratt
e53e618a729 remove uses of rustc_intrinsic_must_be_overridden from standard library
58e14c5a08b Correct doc about `temp_dir()` behavior on Android
9a67325bd65 tidying up tidy
fd31454ed56 Rollup merge of #137194 - kornelski:ftls, r=tgross35
b468e6f5ef5 Rollup merge of #137297 - tgross35:update-builtins, r=tgross35
5d96c0eb7f4 rename sub_ptr 😅
aac9abe8d7d Rollup merge of #137484 - chenyukang:yukang-fix-sort-doc, r=Noratrieb
a648e8dae3a Added into_value const function to ControlFlow<T, T>
3038d7dc2b7 replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
f48be49f92a Rollup merge of #136826 - xizheyin:issue-136737, r=thomcc
0860a5bb780 Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35
8cbc0a92989 Rollup merge of #137482 - rust9x:win-file-open-truncate, r=ChrisDenton
ac72d17b959 Fix documentation for unstable sort
8ff19cd2688 Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrum
b996f44eb42 Rollup merge of #137393 - chorman0773:unbounded-shifts-stabilize, r=Amanieu
0cf580d229d Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
d301b900d7c Rollup merge of #137061 - progressive-galib:gen_future-closing#76249, r=ibraheemdev
89aab83adb0 Fix unbounded_shifts tests
27ce5417730 Stabilize `unbounded_shifts`
35c4cb8816d Rollup merge of #137383 - folkertdev:stabilize-unsigned-is-multiple-of, r=Noratrieb
be8323f6160 Use faster thread_local! for stdout
0261d2a2d59 Update `compiler-builtins` to 0.1.147
fb4e13bed34 fix by comments
1c34210df0c add stdarch compatibility hack
85c9853792b Rollup merge of #137388 - PaulDance:disable-rename-posix-semantics-tests-under-win7, r=ChrisDenton
8be8047c51d Remove outdated target `unexpected_cfgs`
adea8ad20df Rollup merge of #137121 - bend-n:master, r=Noratrieb
221385a917c stabilize `unsigned_is_multiple_of`
a54fda2b385 Use faster thread_local in current_thread_id()
11411181da1 remove assume_init in stack_overflow
549534e8ba1 make the new intrinsics safe
e7564768204 Rollup merge of #136910 - okaneco:sig_ones, r=thomcc
483de1dface Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
b327b84b988 update `cfg(bootstrap)`
7df9d8c6bd0 Rollup merge of #135501 - tgross35:stdlib-dependencies-private, r=bjorn3
413a3310c0e stabilize (const_)ptr_sub_ptr
7c86b36c74b Highlight thread_local! const init in docs
f7b7aac866c Consistently using as_mut_ptr() and as_ptr() in thread
e459c9f24b6 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
4415d0742b5 Rollup merge of #137207 - petertodd:2025-add-track-caller-to-duration-div, r=jhpratt
fb387be63b8 Auto merge of #137371 - matthiaskrgr:rollup-3qkdqar, r=matthiaskrgr
0c1fbdb8c85 update version placeholders
a47d1610722 Replace some instances of `pub` with `pub(crate)`
48a14f65549 Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
1a4ad2c3913 Auto merge of #137397 - matthiaskrgr:rollup-ls2pilo, r=matthiaskrgr
6edaafa07dd Use `public-dependencies` in all sysroot crates
0c893c48e28 Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboet
093b2dd2c7b Auto merge of #137192 - kornelski:windows-tls-lto, r=ChrisDenton
262b27961d7 Implement feature `isolate_most_least_significant_one` for integer types
e9bacf56aff Rollup merge of #137270 - QianNangong:master, r=ChrisDenton
25dc446e48e Add #[track_caller] to Duration Div impl
42e50993daa Rollup merge of #136089 - jwong101:box-default-debug-stack-usage, r=Amanieu
3193246955e Rollup merge of #137353 - thaliaarchi:io-optional-methods/wasi-stdin, r=alexcrichton
b5c451aceb2 Rollup merge of #134340 - Urgau:stabilize-num_midpoint_signed, r=scottmcm
41f44c0c2a3 Rollup merge of #137336 - riverbl:stabilise-os-str-display, r=tgross35
b8e78e4dd65 Implement read_buf for WASI stdin
1d2dfe5d1df Rollup merge of #136609 - mammothbane:master, r=scottmcm
efe7f5c8635 Stabilise `os_str_display`
f6853d3032f Rollup merge of #136148 - kpreid:type-str, r=joboet
3084f21ee06 core/net: IpAddr*::as_octets()
4c35ec344e3 Optionally add type names to `TypeId`s.
6df10f0d69d Auto merge of #137290 - matthiaskrgr:rollup-a7xdbi4, r=matthiaskrgr
47c13945bbd Rollup merge of #137228 - steffahn:one-coerces-to-supertypes-not-subtypes, r=the8472
45df460bc7e Auto merge of #137295 - matthiaskrgr:rollup-tdu3t39, r=matthiaskrgr
e977bf15ab6 Add real safety comments
c43b4a18dcc Remove obsolete MinGW ThinLTO+TLS workaround
93a7cf2a97a Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306
0d3a9c03707 reduce `Box::default` stack copies in debug mode
dd04daec27b Stabilize `num_midpoint_signed` feature
fd1c0eb71ea Rollup merge of #136794 - cberner:stabilize, r=joshtriplett
1f0ce6c90cb Rollup merge of #137155 - thaliaarchi:wtf8-organize, r=ChrisDenton
aa859ac3694 Rollup merge of #137277 - m4rch3n1ng:stabilize-inherent-str-constructors, r=tgross35
013d2bbf3ce Go back to `Some` instead of transmuting to it.
4cdfcdc9eda Rollup merge of #136347 - allevo:patch-1, r=Amanieu
507792b5923 Rollup merge of #136923 - samueltardieu:push-vxxqvqwspssv, r=davidtwco
e3ff56ffacb stabilize `inherent_str_constructors`
46a1649e515 Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
cbe0653d2ce Rollup merge of #136301 - hkBst:patch-33, r=thomcc
5d9388a665d Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-ptr-select, r=thomcc
343b2f64bb3 Simplify `slice::Iter::next` enough that it inlines
9e5f0441451 Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=Amanieu
2a2dbaeef74 Rollup merge of #132268 - elichai:string_try_from_vec, r=Amanieu
2caf94f6291 Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se
41361dac70c Use more explicit and reliable ptr select in sort impls
64c93ea3b67 Rollup merge of #137026 - GrigorenkoPV:integer_sign_cast, r=jhpratt
424699cf8d9 Synchronize platform adaptors for OsString/OsStr
dbd9cedd8df Remove ignored `#[must_use]` attributes from portable-simd
f92489246ed Impl TryFrom<Vec<u8>> for String
5ad759b763c Auto merge of #137235 - matthiaskrgr:rollup-2kjua2t, r=matthiaskrgr
202dbd1f737 Simplify control flow with while-let
ed9315df70a Rollup merge of #137214 - cyrgani:clippy_diagnostic_items, r=compiler-errors
3679c0befaf Improve WTF-8 comments
fcf29f1bbf4 Rollup merge of #137205 - thaliaarchi:remove-wasi-fileext-tell, r=alexcrichton
f0eef585628 Rollup merge of #137167 - martn3:reliable_f16_math-f16-erfc, r=tgross35
20fc20e346b Rollup merge of #136750 - kornelski:ub-bug, r=saethlin
b2a8d7a568b Fix typo in hidden internal docs of `TrustedRandomAccess`
aecf5dc60be Stabilize file_lock
41da80beaa4 Update library/std/src/fs.rs
f18a9df4f26 Improve instant docs
5c5b9457412 Stabilize const_slice_flatten
2194daa6b5a add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
5ddf2effc5c Stabilize (and const-stabilize) `integer_sign_cast`
00ab0520732 Rollup merge of #137126 - m4rch3n1ng:fix-inherent-str-docs, r=Amanieu
0fc401590d4 add last std diagnostic items for clippy
0bc1f50f46e Remove std::os::wasi::fs::FileExt::tell
37bce540536 Update fs.rs
127536c4152 Rollup merge of #136876 - joshtriplett:locking-might-not-be-advisory, r=Amanieu
d46c1158fd1 fix docs for inherent str constructors
0f003d5d543 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
959937c3333 Clarify that locking on Windows also works for files opened with `.read(true)`
ffa405cf0d8 Document that locking a file fails on Windows if the file is opened only for append
2459763ecf6 Reword file lock documentation to clarify advisory vs mandatory
71651c380d1 Auto merge of #137164 - matthiaskrgr:rollup-dj5826k, r=matthiaskrgr
ea95884ae1b Auto merge of #137065 - jhpratt:rollup-ree9mej, r=jhpratt
bd34cdb4a5e Rollup merge of #137165 - thaliaarchi:file-tell, r=ChrisDenton
1b96604d651 Rollup merge of #137114 - ChrisDenton:error, r=Noratrieb
58f85ded087 Fix &&str and trailing commas in io::const_error!
058bf2127b2 Rollup merge of #136983 - ehuss:misc-2024-prep, r=tgross35
1647e58efa7 docs: fix broken intra-doc links that never worked
b1b5e298cf3 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
b513281f252 Make ub_check message clear that it's not an assert
c55966be8b2 Rollup merge of #136976 - jedbrown:jed/doc-boxed-deferred-init, r=tgross35
dc92bbb3d89 Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=Urgau
fa5189d50da Rollup merge of #137105 - zachs18:cow-derefpure-restrict, r=Nadrieril
73f44f78f59 Auto merge of #136324 - GrigorenkoPV:erf, r=tgross35
4c9761775a9 Rollup merge of #137062 - thaliaarchi:io-optional-methods/write, r=workingjubilee
2c71ad17347 Use tell for <File as Seek>::stream_position
14d691f418e Rollup merge of #136986 - ehuss:library-unsafe-fun, r=Noratrieb
ffe84fff3a9 Add an example for std::error::Error
335acee1020 Use io::const_error! when possible over io::Error::new
c6cbff9e0a0 Rollup merge of #134016 - zachs18:stable-const-str-split_at, r=Amanieu
6b40d8ad1fe Rollup merge of #136967 - DaniPopes:io-repeat-fill, r=joboet
d71a4644722 Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
988870ffe34 invalid_from_utf8[_unchecked]: also lint inherent methods
290b6a60dab Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
27f347e0bc8 Rollup merge of #136978 - ChrisDenton:windows-bindgen, r=Amanieu
25187205ee9 Forward all default methods for I/O impls
98105f36f4d proc_macro: Apply unsafe_op_in_unsafe_fn
3bbbf42e07d Rollup merge of #136879 - kornelski:non1, r=Noratrieb
572414e74a7 std: Apply unsafe_op_in_unsafe_fn
71ce2bdb809 Rollup merge of #136749 - mzeitlin11:extend-asciichar, r=scottmcm
29c1eeff19c Fix safety of windows uwp functions
38e87f92a1d Rollup merge of #135687 - joseluis:feat-reexport_from_coroutine, r=scottmcm
9b22cb80d27 unwind: Apply unsafe_op_in_unsafe_fn
1705de8e70b panic_unwind: Apply unsafe_op_in_unsafe_fn
d0700abec83 panic_abort: Apply unsafe_op_in_unsafe_fn
6083784fc05 core: Apply unsafe_op_in_unsafe_fn
542a752c435 std: Apply deprecated_safe_2024
d47029e790d Implement `f{16,32,64,128}::{erf,erfc}`
f2bbc565dcd Rollup merge of #136886 - ehuss:remove-prelude-common, r=jhpratt
275c20c513d Windows: Update generated bindings to 0.59
1e64ed9c57a Add safe new to NotAllOnes
a81117646e6 Implement Extend<AsciiChar> for String
338454a8a27 re-export `core::iter::FromCoroutine`
93e381990b7 Auto merge of #136735 - scottmcm:transmute-nonnull, r=oli-obk
93c147f58b9 test: Apply deprecated_safe_2024
4fcfc289648 Rollup merge of #136052 - no1wudi:fix, r=workingjubilee
c08b2796eaf Rollup merge of #136992 - ehuss:update-backtrace, r=workingjubilee
2538dbc6ef0 std: Apply fixes for tail drop expressions
fd10bd261a5 Rollup merge of #136908 - mustartt:aix-mutex-destory-einval, r=joboet
d036e2ea0cb std: Apply rust_2024_incompatible_pat
50cba691b78 Rollup merge of #136904 - pitaj:range-into_bounds, r=tgross35
ff5f812a9e4 Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviper
7f43e012253 Rollup merge of #136945 - samueltardieu:push-rsqlyknnvyqm, r=fmease
f2c42c9a031 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
cc3b4f3cb7d Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
95dd71787b9 Use `slice::fill` in `io::Repeat` implementation
770553c6500 Remove the common prelude module
5e8e07f5431 `transmute` should also assume non-null pointers
280b371b0ed Correct comment for FreeBSD and DragonFly BSD in unix/thread
b435bb8fab2 Update backtrace
08f2576fd8c std: Apply dependency_on_unit_never_type_fallback
2e1f95046d8 Rollup merge of #136949 - ehuss:wasm-bench-time, r=jhpratt
02020fd5274 Rollup merge of #136818 - a1phyr:io_repeat_exact, r=jhpratt
c9596d6b46a std: Apply missing_unsafe_on_extern
71b655502aa Rollup merge of #136660 - compiler-errors:BikeshedGuaranteedNoDrop, r=lcnr
3132ff74a6b std: Apply unsafe_attr_outside_unsafe
b7b093a5e40 alloc: Apply missing_unsafe_on_extern
8927d3d66dd alloc: Apply unsafe_attr_outside_unsafe
e6d7f591547 alloc: Workaround hidden doctest line
cd108abdaef Migrate coretests to Rust 2024
bcf9e350328 library: Update rand to 0.9.0
e2ecb7d1da7 core: Apply unsafe_attr_outside_unsafe
59fb4eec0a0 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
5d46dccf34d Auto merge of #136897 - workingjubilee:revert-unfcped-stab, r=WaffleLapkin
6c3812a8dc1 expect EINVAL for pthread_mutex_destroy for aix
c6f1b6d70ca add `IntoBounds` trait
dbddb7b91c2 Stabilize `get_many_mut` as `get_disjoint_mut`
896960bafcf Add diagnostic item for `std::io::BufRead`
7e227b9cc0a Fix import in bench for wasm
60608970734 Rollup merge of #136699 - joboet:netaddr_from_inner, r=cuviper
58c91d43dc0 Implement `read*_exact` for `std:io::repeat`
bf0be1b4f5c Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung
4147cec2561 Auto merge of #136918 - GuillaumeGomez:rollup-f6h21gg, r=GuillaumeGomez
9b53cbb05d2 Rollup merge of #134090 - veluca93:stable-tf11, r=oli-obk
256c502d022 std: replace the `FromInner` implementation for addresses with private conversion functions
6fc9d804609 Change swap_nonoverlapping from lang to library UB
c6379d38bab Rollup merge of #136915 - eyelash:float-precision, r=workingjubilee
5591f8f2f8d Stabilize target_feature_11
91e69c8946e Auto merge of #136823 - matthiaskrgr:rollup-vp20mk1, r=matthiaskrgr
1928fc43e0a Rollup merge of #136354 - hkBst:patch-34, r=ibraheemdev
bd204869e9a Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhpratt
4322ecac0ed Rollup merge of #136874 - tgross35:likely-unlikely-tracking, r=jhpratt
26693e32414 library: amend revert of extended_varargs_abi_support for beta diff
bdd68eccd3e Rollup merge of #136107 - dingxiangfei2009:coerce-pointee-wellformed, r=compiler-errors
5ff8d7cf1f0 Rollup merge of #136875 - BoxyUwU:rdg-push, r=jieyouxu
4ed3c3e009b `f128` is quadruple-precision
4e37d766a2d Auto merge of #135701 - calebzulawski:sync-from-portable-simd-2025-01-18, r=workingjubilee
8426a69acd6 Rollup merge of #136246 - hkBst:patch-29, r=ibraheemdev
1b0a9ad9ba7 Update docs for impl keyword
3dad72c8530 Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdev
1c3f1888b82 Change the issue number for `likely_unlikely` and `cold_path`
2c739e20e9e Revert "Stabilize `extended_varargs_abi_support`"
3890690d522 Merge from rustc
abc9673b439 `f16` is half-precision
a0650c42d97 include note on variance and example
2ed24026590 Rollup merge of #136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper
3e4df80b3e9 Improve examples for file locking
d57627f46ff Merge from rustc
72830f4eb3c Rollup merge of #136663 - WaffleLapkin:count-non-zero-ones, r=cuviper
9c157ba327e Fix long lines which rustfmt fails to format
62cabb84587 Rollup merge of #136714 - tgross35:update-builtins, r=tgross35
e11d62aae3d Reword doc comment on `CoercePointeeValidated`
1d6f47c07f8 Rollup merge of #136805 - RalfJung:miri-win-delete-self, r=Noratrieb
c90c822004e Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
ef09740694b library: doc: core::alloc::Allocator: trivial typo fix
16799a55ad1 stabilize `NonZero::count_ones`
cab9763ddfb Update `compiler-builtins` to 0.1.146
44782574ab9 block coerce_pointee_validated for stabilization
873be02f532 Rollup merge of #136705 - compiler-errors:edition-library, r=jhpratt
02adfe7cb12 ignore win_delete_self test in Miri
1dfcabf7e70 rename the trait to validity and place a feature gate afront
a0b6ec54ac3 Rollup merge of #136552 - ChrisDenton:option-find-handle, r=Mark-Simulacrum
cafca3be1e0 introduce CoercePointeeWellformed for coherence checks at typeck stage
16db876c02b Rollup merge of #136353 - purplesyringa:libtest-instant-wasm, r=Mark-Simulacrum
2feefb1ba98 Rollup merge of #136228 - hkBst:patch-28, r=Mark-Simulacrum
2b6e0b5cebf Auto merge of #136754 - Urgau:rollup-qlkhjqr, r=Urgau
8b1cc571f4c Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum
5c3257167bb Rollup merge of #135488 - GrigorenkoPV:vec_pop_if, r=jhpratt
b5c85f2286e Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
a4d2882bd9c Use Option for FindNextFileHandle
8443daefc60 Rollup merge of #136099 - Kijewski:pr-rc-str-default, r=ibraheemdev
b41429a1de1 fix(libtest): Enable Instant on Emscripten targets
bfe81712864 Simplify Rc::as_ptr docs + typo fix
94627a7acd3 Rollup merge of #136724 - steffahn:asyncfn-non-fundamental, r=compiler-errors
ab77653dea1 Rollup merge of #136601 - compiler-errors:borrow-null-zst, r=saethlin
e913eba2cb7 Rustfmt
99148f7ff0b Stabilize `vec_pop_if`
96741b6d758 Mark extern blocks as unsafe
236345afe7a Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb
b10af806cc1 Rollup merge of #136710 - JakenHerman:jaken/iterator-docs, r=workingjubilee
90cab3802a5 Rename field in OnceWith from gen to make
a2f8502c001 Rollup merge of #136686 - bjoernager:master, r=jhpratt
4d9c35ff217 Mark link_section attr with unsafe
1ddaa63534d Rollup merge of #135945 - estebank:useless-parens, r=compiler-errors
c23ba293a2b Auto merge of #136713 - matthiaskrgr:rollup-sy6py39, r=matthiaskrgr
556a71a5ad3 Rollup merge of #136634 - bjoernager:const-mut-cursor, r=m-ou-se
df2b28f4cc2 Optimize `Rc::<str>::default()` implementation
0a8e0ae70d2 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
babe720d8d5 Rollup merge of #136213 - erickt:fs, r=Mark-Simulacrum
487228111da occured -> occurred
f5cbf0b076e std: get rid of `sys_common::io`
73263e0c2c9 Document `Sum::sum` returns additive identities for `[]`
2668ab7df56 Clean up 'HashMap' and 'HashSet' docs;
faf1fa55cd2 Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, r=compiler-errors
46d1a628f42 Rollup merge of #136682 - ChrisDenton:move-win-proc-tests, r=joboet
cc9f6150551 Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-Simulacrum
676f0dc6b88 Allow Rust to use a number of libc filesystem calls
485c78afbd9 std: move `io` module out of `pal`
a51f1336522 Rollup merge of #136635 - jieyouxu:base_port, r=joboet
d63c02feafb Windows: Test that deleting a running binary fails
405de076539 Rollup merge of #136615 - Ayush1325:uefi-net-unsupported, r=joboet
9c108e6ae99 Update platform information for remove_file
ed73b90f955 Windows: remove readonly files
8fd1be1fc92 Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnay
1e966caca8a Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett
e7e091f280c Use `widening_mul`
a5a7aa57451 Rollup merge of #136630 - jieyouxu:render_tests, r=ChrisDenton
6f08a8baae5 Remove some unnecessary parens in `assert!` conditions
dbe679e7b92 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
6f5f4c6b45e remove use of `feature(trait_upcasting)` from core tests
fbb038cb3ba Move two windows process tests to tests/ui
625515aea76 tests(std/net): remove outdated `base_port` calculation
4212c244e13 sys: net: Add UEFI stubs
d1c9f09fa8e Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obk
27807262a03 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
57714491ddd Auto merge of #136613 - workingjubilee:rollup-ry6rw0m, r=workingjubilee
49980e97e80 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
fecb7bd1e46 Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrum
819ec8b3ff2 Rollup merge of #136555 - cramertj:split_off, r=dtolnay
86a08cf5c97 Auto merge of #135760 - scottmcm:disjoint-bitor, r=WaffleLapkin
5218d095293 Rollup merge of #136595 - thaliaarchi:hermit-unreachable-pub, r=Noratrieb
be6f2c1d2d9 Rollup merge of #136537 - tgross35:update-builtins, r=tgross35
5fb44eb49eb Rollup merge of #136566 - hkBst:patch-1, r=scottmcm
d62ea01a329 Fix unreachable_pub lint for hermit target
9b438c66ca7 Rollup merge of #136517 - m4rch3n1ng:inherent-str-constructors, r=jhpratt
413676690c7 Fix link in from_fn.rs
150cb0588b6 Rollup merge of #136449 - joboet:move_pal_net, r=ChrisDenton
ef227845f3c Rollup merge of #136418 - Ayush1325:command-env, r=jhpratt
a35e7dfdace Auto merge of #135265 - pascaldekloe:fmt-int-speed, r=tgross35,ChrisDenton
36061e0452f Auto merge of #136533 - jhpratt:rollup-s0ign8n, r=jhpratt
203b704fa31 Mark `std::fmt::from_fn` as `#[must_use]`
5d134c64b2d Rename rustc_contract to contract
6962454c646 Add OneSidedRangeBound to eliminate panic in `split_point_of`
15bcd0a5a8d Auto merge of #136534 - jhpratt:rollup-dnz57dq, r=jhpratt
08c3ce221b7 More PR feedback
ee844e70671 Update `compiler-builtins` to 0.1.145
a2827b06c26 specify a prim@slice in docs
ad2725f5d75 std: move network code into `sys`
6e9ac9b4622 uefi: process: Add support for command environment variables
300e8fc6f86 Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35
f4208ee75ff Rollup merge of #136334 - ricci009:primitivers, r=tgross35
b7bb312d222 Improve contracts intrisics and remove wrapper function
ac458f18cb6 Rename slice::take methods to split_off
dd30ea2ad34 Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb
45b4c7a0668 PR feedback
dcba615e5f3 implement inherent str constructors
1aa43ba6783 Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
bdae382f34e Separate contract feature gates for the internal machinery
39089eef4bf Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
3c33169df45 Add note about `FnPtr` being exposed as public bound
d7242d63ffe Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
514bab55d35 Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=Noratrieb
394dcb3e051 Desugars contract into the internal AST extensions
a1746473dce Rollup merge of #136479 - RalfJung:dirent64, r=tgross35
a79b9bac5e8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
f34447ba6d7 Express contracts as part of function header and lower it to the contract lang items
1366e7a2a0c Rollup merge of #136398 - pitaj:unsafecell_access, r=dtolnay
939915fc40e std::fs: further simplify dirent64 handling
fc5034db5f8 For NonZero impl macros, give unsigned impls access to the corresponding signed type
552162b9386 contracts: added lang items that act as hooks for rustc-injected code to invoke.
efb9264f7de add UnsafeCell direct access APIs
a53d530e7c2 Contracts core intrinsics.
7d6cbfd0321 Rollup merge of #136452 - RalfJung:miri-sync, r=RalfJung
5e3f612c6e5 Rollup merge of #136351 - Darksonn:coerce-pointee-docs, r=compiler-errors
346b1b9e4d3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
872d2d5e201 Rollup merge of #136364 - hkBst:ptr_cmp_docs, r=tgross35
2dd6f1b954c Docs for f16 and f128: correct a typo and add details
36ee538e947 OnceCell & OnceLock docs: Using (un)initialized consistently
cbcd042fa02 primitive type migration from mod.rs to primitives.rs
a2f17b528ca implement unstable `new_range` feature
545037dfc1f Remove stabilized feature gate
51781333738 Rollup merge of #136434 - RalfJung:rustc_allowed_through_unstable_modules-deprecation-required, r=compiler-errors
dcd915af09a Merge from rustc
d60bdc00a40 Rollup merge of #136163 - uellenberg:driftsort-off-by-one, r=Mark-Simulacrum
239c1fe9c11 black_box integer-input on fmt benches
8fac9d94bdf Rollup merge of #136360 - slanterns:once_wait, r=tgross35
1414e14e849 std::range
4596929935a Move env modifying tests to a separate integration test
5fd1bb52045 Rollup merge of #136283 - hkBst:patch-31, r=workingjubilee
5376994956a rustc_allowed_through_unstable_modules: require deprecation message
85576a8adf6 Merge from rustc
2b9bf95ee7c Rollup merge of #136307 - WaffleLapkin:minminmin, r=scottmcm
9291bab54d7 Fix for SGX
57f8c67fa58 Rollup merge of #134272 - RalfJung:destabilize-rustc_encodable_decodable, r=oli-obk
682595d3679 Merge from rustc
71f0bd67237 Rollup merge of #135684 - ranger-ross:mutex-docs, r=joboet
b495363cf8d Fix benchmarking of libstd
bf36b6da300 Rollup merge of #136133 - hkBst:patch-23, r=ibraheemdev
a628f824f4d Merge from rustc
0495d281aea Move std::sync unit tests to integration tests
5e153c12d71 Merge from rustc
e5ad7c036b2 Move std::thread_local unit tests to integration tests
a668198c1a7 Move std::time unit tests to integration tests
b9146161549 Move std::path unit tests to integration tests
35d67c0c45a Move std::panic unit tests to integration tests
1baab4f2f66 Move std::num unit tests to integration tests
7c5f24af08d Move std float unit tests to integration tests
fc16a437ebd Move std::error unit tests to integration tests
28f5e19b58f Move std::env unit tests to integration tests
6b4756955a3 Rollup merge of #136296 - RalfJung:float-min-max, r=tgross35
60d61846b8f Auto merge of #136332 - jhpratt:rollup-aa69d0e, r=jhpratt
3183d2486aa Rollup merge of #136288 - joshtriplett:would-you-could-you-with-some-locks--would-you-could-you-in-some-docs, r=m-ou-se
97ffa18e8b7 Add documentation for derive(CoercePointee)
9ba61538858 document ptr comparison being by address
e889acbc44e Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdev
e72e22d748c Auto merge of #134424 - 1c3t3a:null-checks, r=saethlin
f52f37b64aa Fix off-by-one error causing driftsort to crash
d045c6564e8 stabilize `once_wait`
7da926f4b8d Update encode_utf16 to mention it is native endian
566a5925c01 implement all min/max fns in terms of `<`/`is_lt`
53520b0e8c5 remove Rustc{En,De}codable from library and compiler
60ee85ff5e1 docs: Documented Send and Sync requirements for Mutex + MutexGuard
789f98920cd Fix sentence in process::abort
f5f5b66a6a0 float::min/max: mention the non-determinism around signed 0
4ada84a9be5 Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay
0dce309955f Rollup merge of #136300 - RalfJung:compare-and-swap, r=joboet
d49c94b7e1a Rollup merge of #136271 - Sky9x:debug-maybeuninit-footgun, r=tgross35
a5953ffe26b Insert null checks for pointer dereferences when debug assertions are enabled
477fe78bcef improve doc tests for (min/max/minmax).* functions
4daacfd4e5e make rustc_encodable_decodable feature properly unstable
7b0bae311a0 Stabilize `const_black_box`
696ed0b019e atomic: extend compare_and_swap migration docs
b526b38305c Rollup merge of #135852 - lukas-code:asyncfn-prelude-core, r=compiler-errors
57502ae8f45 Rollup merge of #135475 - Ayush1325:uefi-absolute-path, r=jhpratt
da7c5ba28ef Rollup merge of #136259 - hkBst:patch-30, r=thomcc
8d2b87f1012 Rollup merge of #135625 - c410-f3r:cfg-match-foo-bar-baz, r=tgross35,jhpratt
7358983940e Auto merge of #136248 - matthiaskrgr:rollup-leaxgfd, r=matthiaskrgr
6d9ab56fa76 Improve documentation for file locking
a3c624cdddd Implement `int_from_ascii` (#134821)
ba1a8d32f52 Remove minor future footgun in `impl Debug for MaybeUninit`
5cff2cbb997 Add `AsyncFn*` to core prelude
de79c4679bd uefi: Implement path
826fd52be60 Rollup merge of #136215 - btj:patch-1, r=cuviper
ef5c91b3b11 Cleanup docs for Allocator
109ac8f47de Auto merge of #136227 - fmease:rollup-ewpvznh, r=fmease
3b89126217e Rollup merge of #136092 - tbu-:pr_io_pipe_test, r=joboet
bacd65f90f9 Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcm
43f9d04b18b btree/node.rs: pop_internal_level: does not invalidate other handles
f079c8ac698 add inline attribute and codegen test
945cda6afc7 btree/node.rs: remove incorrect comment from pop_internal_level docs
7a07efab38f split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
9d6cd040bfa optimize slice::ptr_rotate for compile-time-constant small rotates
338e97ae5d4 Auto merge of #136110 - RalfJung:miri-sync, r=RalfJung
ace9ceaeede Auto merge of #136116 - fmease:rollup-c8pk3mj, r=fmease
4d5a27623bd Rollup merge of #135876 - usamoi:mpmc-doc, r=tgross35
dae2af17933 Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgr
603f0641f16 Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35
2dc1920a6da [cfg_match] Document the use of expressions
f22a83346af Rollup merge of #136186 - Ayush1325:uefi-process-args-fix, r=nicholasbishop,Noratrieb
629a414e673 Test pipes also when not running on Windows and Linux simultaneously
2cb7f8e7b52 Rollup merge of #136012 - hkBst:patch-22, r=workingjubilee,tgross35
b315a0f3de9 Rollup merge of #135807 - jhpratt:phantom-variance, r=Amanieu
53898c04f20 Rollup merge of #136173 - taiki-e:c-char, r=tgross35
e8989e545ce uefi: process: Fix args
e474bddea42 Rollup merge of #135886 - hkBst:patch-14, r=workingjubilee
32193f9a947 Document powf and powi calls that always return 1.0
41c64eee9da Rollup merge of #135773 - hkBst:patch-10, r=tgross35
28e01c38bec Rollup merge of #136071 - wowinter13:clippy-add-diagnostic-items, r=flip1995
7b555b2f54f Update comments and sort target_arch in c_char_definition
cf42e055734 Rollup merge of #135805 - DiuDiu777:master, r=Noratrieb
72e67242a22 Rollup merge of #135869 - hkBst:patch-12, r=Noratrieb
2ff422c08af [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c2d176b4f6f Rollup merge of #135367 - Urgau:unreach_pub-std-3, r=Noratrieb
3494f8f0c9b Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
67df310f041 Rollup merge of #133829 - GrigorenkoPV:fetch_update_infallible, r=Noratrieb
352a163d96d Rollup merge of #136039 - nvanbenschoten:pin-typo, r=Amanieu
0c9a1eb5f29 Rollup merge of #135991 - no1wudi:master, r=thomcc
cd5fd526399 Auto merge of #136087 - jhpratt:rollup-tam1mzn, r=jhpratt
da5a6b9e97c Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum
178314d41fd Merge from rustc
59f932e69d9 Rollup merge of #136079 - RalfJung:compiler-fence-example, r=jhpratt
97d526057d1 fix doc for std::sync::mpmc
38a7085ef95 Actually run the bstr test
3c5567b1b6e Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
1d46984c30b Implement phantom variance markers
f190cc65ac6 Document purpose of closure in from_fn.rs more clearly
0cd822c2be6 Clarify WindowsMut (Lending)Iterator
45de455044f add missing allocator safety in alloc crate
d5bdbec687e alloc: add `#![warn(unreachable_pub)]`
513ce5be854 Implement `AtomicT::update` & `AtomicT::try_update`
08a8e379cd1 Rollup merge of #136005 - BLANKatGITHUB:library, r=RalfJung
b90df2b2421 Rollup merge of #135977 - nyurik:fix-fmt-options, r=joboet
99ceeecf2bf Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-Simulacrum
f2855b7c4b0 Rollup merge of #134283 - epage:logfile, r=Amanieu
756e9987736 Merge from rustc
b3533525b98 Rollup merge of #135635 - tbu-:pr_io_pipe, r=joboet
bd0b64380d2 compiler_fence: fix example
4ef7ff23205 Update comment
85603b0989f Move `std::io::pipe` code into its own file
2730800bf90 Improve and expand documentation of pipes
6cca0e21fb5 Rollup merge of #133631 - flba-eb:add_nto_qnx71_iosock_support, r=workingjubilee
7a027f878c7 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
f228279fdec Put all coretests in a separate crate
018b8cfbe65 add nto80 x86-64 and aarch64 target
8f906695c8f Add support for QNX 7.1 with io-sock on x64
17ea58476e3 Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
fa9f10a618c Rollup merge of #135983 - hkBst:patch-13, r=jhpratt
65064c66990 Rollup merge of #135883 - GrigorenkoPV:btree_set_upper_bound_mut, r=tgross35
f3b0c5de77e Auto merge of #135978 - matthiaskrgr:rollup-ni16gqr, r=matthiaskrgr
5965328b56e docs: fix typo in std::pin overview
1a43c91bf7c Fix set_name in thread mod for NuttX
5ebb9b0dbd1 Update a bunch of comments from before wasi support was added
280579b0e64 ports last few library files to new intrinsic style
d7be70d2498 Rollup merge of #135938 - carlsverre:master, r=joboet
64dc2e2881b Fix `FormattingOptions` instantiation with `Default`
ab2aae3059d fix(libtest): Deprecate '--logfile'
416530660b9 Rollup merge of #135956 - GrigorenkoPV:vec_pop_off, r=dtolnay
f51dbbe32c3 Doc difference between extend and extend_from_slice
e33ed931544 Auto merge of #135959 - matthiaskrgr:rollup-0jenyfw, r=matthiaskrgr
59bbbfd1991 Rollup merge of #135890 - GrigorenkoPV:deque-pop-if, r=thomcc
68bf05eab3b Remove a bunch of emscripten test ignores
def0e3fdfd5 Rollup merge of #135728 - hkBst:patch-8, r=joboet
3e1c8fd4372 Update library/core/src/num/nonzero.rs
49413a0e583 Rollup merge of #135073 - joshtriplett:bstr, r=BurntSushi
beb62d1e0c6 Make `Vec::pop_if` a bit more presentable
14692cb73a0 Rollup merge of #135366 - Urgau:unreach_pub-std-2, r=cuviper
decbeed8f89 Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35
28681bf5492 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
e6dae77e656 Fix testing of the standard library with Emscripten
3990de0922a Rollup merge of #135415 - Harshit933:hard-link-error, r=ChrisDenton
36d426a2eae Fix whitespace
af8bebf2e89 Add memory layout documentation to generic NonZero<T>
bbc192435d3 remove pointless allowed_through_unstable_modules on TryFromSliceError
b27e19cc6bf Add `File already exists` error doc to `hard_link` function
8ffe65b41f8 document order of items in iterator from drain
7651c270120 Rollup merge of #135856 - fmease:library-mv-obj-save-dyn-compat-ii, r=tgross35
1a62fd5d776 Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviper
a8a008c5a9b Rollup merge of #135821 - hkBst:patch-11, r=ibraheemdev
6e4b1e4369b Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
c07ef0cc502 Implement `CloneToUninit` for `ByteStr`
2372a0e8aa6 test: add `#![warn(unreachable_pub)]`
0988d269593 Rollup merge of #135837 - ChrisDenton:trunc, r=Noratrieb
92d506bb89f Library: Finalize dyn compatibility renaming
7bf569ac8ef Auto merge of #134286 - Urgau:unreach_pub-std, r=ibraheemdev
7cfd8b7452c Outline panicking code for `LocalKey::with`
17a5fcda59e Rollup merge of #135750 - scottmcm:cma-example, r=cuviper
df4138c7579 fix OsString::from_encoded_bytes_unchecked description
f082d0503fa Add doc aliases for BStr and BString
e17bb4b7260 proc_macro: add `#![warn(unreachable_pub)]`
6281651f43e Remove test panic from File::open
5d8ff700b16 Rollup merge of #135741 - bardiharborow:std/net/rfc9637, r=Amanieu
116bda38044 Add an example of using `carrying_mul_add` to write wider multiplication
24951f74074 Omit some more `From` impls to avoid inference failures
9072ebd71b9 Rollup merge of #133695 - x17jiri:hint_likely, r=Amanieu
99da8ef76b8 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
3fa2a3228c7 Rollup merge of #135762 - TomFryersMidsummer:patch-1, r=joboet
955a59303bf Add `#[cfg(not(test))]` to some impls to work around https://github.com/rust-lang/rust/issues/135100
ceb67fa1590 Rollup merge of #135626 - clubby789:env-note, r=ibraheemdev
196b8e096c4 Implement `ByteStr` and `ByteString` types
344c704afca Rollup merge of #135491 - RalfJung:remove-dead-rustc_allowed_through_unstable_modules, r=Mark-Simulacrum
f77ca067551 Auto merge of #135714 - rust-lang:cargo_update, r=clubby789
be08a093c42 Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdev
288931bc461 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
7361f398f77 Recognise new IPv6 documentation range from RFC9637
164d8e33936 1. Removed 'rustc_nounwind' 2. Rewording of comments
3d325d714de Correct counting to four in cell module docs
bf25c184ab9 doc: Point to methods on `Command` as alternatives to `set/remove_var`
2592843c025 Rollup merge of #135446 - klensy:panic_immediate_abort_ext, r=Mark-Simulacrum
b1b054ee1a7 wasi/io: remove dead files
94dedd3f6b7 cargo update
d6a1744cbc5 Auto merge of #135709 - lqd:bring-back-len, r=compiler-errors
789ff2a6fbd Rewrap following accepting review suggestions from @ibraheemdev
ce098a55e9c core: add `#![warn(unreachable_pub)]`
edc2593c7b1 Export likely(), unlikely() and cold_path() in std::hint
69cf947e4ca further improve panic_immediate_abort by removing rtprintpanic messages
d207e54829a remove unnecessary rustc_allowed_through_unstable_modules
fe9afd2c322 Rollup merge of #135661 - tgross35:stabilize-float_next_up_down, r=scottmcm
14ee0b17904 Update library/core/src/slice/mod.rs
748d0aea302 rtstartup: add `#![warn(unreachable_pub)]`
1f893ef3511 Rollup merge of #135583 - NobodyXu:move-pipe-to-io, r=joshtriplett
ad43ce43d47 Update library/core/src/slice/mod.rs
0f133c47c1d panic_unwind: add `#![warn(unreachable_pub)]`
760be706a63 Update library/core/src/slice/mod.rs
bb552f305f2 Update library/core/src/slice/mod.rs
7b0632349f8 Rollup merge of #135556 - AeonSolstice:patch-1, r=tgross35
e5ee93dbe25 Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
1cdc6e3044e Add references to the IEEE functions for `float_next_up_down`
6bc12e061f8 Fix import of pipe in kernel_copy.rs
3185ca2fbf3 Update library/core/src/slice/mod.rs
a8ab90278c0 Rollup merge of #134496 - DiuDiu777:fix-doc, r=ibraheemdev
18b98a64742 Clarify note in `std::sync::LazyLock` example
746de56afda Stabilize `float_next_up_down`
08be32e6afa Move `std::pipe::*` into `std::io`
3a16aa1acda Update library/core/src/slice/mod.rs
0fda8d5b87c Rollup merge of #133720 - c410-f3r:cfg-match-foo-bar-baz, r=joshtriplett
0dfee752e16 fix typo in library/alloc/src/sync.rs
f960e15c61c Less unsafe in `dangling`/`without_provenance`
74bac88495d Update library/core/src/slice/mod.rs
0111dd63fe0 Adjust syntax
e46d8fc2087 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
3b9643ce23e Auto merge of #135555 - matthiaskrgr:rollup-jnqdbuu, r=matthiaskrgr
b1c0cf9ea1c Update library/core/src/slice/mod.rs
04a2f29ea01 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
9c62a74abd8 Update library/core/src/slice/mod.rs
0abd52ffbab Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton
83ac196933c Update library/core/src/slice/mod.rs
ef0774a88c0 `then be` -> `be` based on feedback from @ibraheemdev
13d8bfbab1f Improve `select_nth_unstable` documentation clarity
a7db84c9ce7 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgr
ad7d754a96a Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhpratt
b4bd8628dfa Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
dfc75dacde1 alloc: remove unsound `IsZero` for raw pointers
e5fb21f5c29 Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt
3c0d7e50bab Rollup merge of #135497 - DJMrTV:master, r=jhpratt
2be2b2670eb intrinsics: deprecate calling them via the unstable std::intrinsics path
0f249df53ea add comments explaining main thread identification
45017d3d3da Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
d64f897ad99 Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross35
9b7fbf18068 Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross35
3bc678c4f0f Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc
3bab8e46999 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrum
da98d1e46d3 Add inherent versions of MaybeUninit methods for slices
8610d3c4304 Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJung
6cdf20cf1dc Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35
40530b8b963 fix typo in typenames of pin documentation
df2e474e444 Update compiler-builtins to 0.1.141
40ea7097744 std: lazily allocate the main thread handle
9254186407f avoid nesting the user-defined main so deeply on the stack
e6bcb57d847 Add another `Vec::splice` example
87bae801bc1 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
a1d9fd2ab49 path: Move is_absolute check to sys::path
67f43a68cfb uefi: helpers: Introduce OwnedDevicePath
f568a1e95bb Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors
3947bc26902 Make UniqueRc invariant for soundness
322d8204b7b Enforce syntactical stability of const traits in HIR
9241bd7529e Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyo
28853f9cee6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
863625372e1 Revert "Remove the Arc rt::init allocation for thread info"
7a0ae510eb3 use a single large catch_unwind in lang_start
453a0d09da6 Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhpratt
af3fec81727 Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboet
026346ff356 Update the explanation for why we use box_new in vec!
070b0d3ba6e update and clarify StructuralPartialEq docs
bf496f4948d Rollup merge of #134143 - nyurik:err-nul, r=dtolnay
92e16bf88c9 Update compiler-builtins to 0.1.143
21d679aa039 Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet
755dfe3dce3 Use `NonNull::without_provenance` within the standard library
52bae79bdba Add #[inline] to copy_from_slice
e7dfd002454 Rename `pos` to `position`
c0f881bd170 Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton
0ec2ec34838 Convert `struct FromBytesWithNulError` into enum
5f93459fd50 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross35
be57dc37e71 Initial fs module for uefi
c5138809bc9 Improve the safety documentation on new_unchecked
c4e74a93a6a Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
d7f1e02303a Fix `proc_macro::quote!` for raw ident
2f129feaa84 Update a bunch of library types for MCP807
440a9c7993d Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev
7593e8c08da Used pthread name functions returning result for FreeBSD and DragonFly
8c71c64f0f9 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
435632819aa Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
326867e6762 Rollup merge of #134619 - hkBst:patch-7, r=jhpratt
50749415ccb Fix ptr::from_ref documentation example comment
7e9916791c8 Rename the internal simpler `quote` macro to `minimal_quote`
e3f4dc872c1 Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors
95b7094421d fmt
2039e8df997 Improve prose around `as_slice` example of IterMut
5d599f86db2 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratt
470a19ef9a9 update cfg(bootstrap)
01959a0f0cd Avoid naming variables `str`
3aff376e546 Remove some unnecessary `.into()` calls
3ad71e11eb8 Rollup merge of #135176 - kornelski:env-example, r=cuviper
3ce08450cb6 add missing provenance APIs on NonNull
1f8f9d1bb7a update version placeholders
50598e921e2 Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt
ce13c0a4b2c Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-se
da93e788516 More compelling env_clear() examples
d71e2a7b6dc Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee
14b5f1bba24 [generic_assert] Constify methods used by the formatting system
ae6d0c8996f Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu
981947c8b11 Implement Condvar::wait_timeout for targets without threads
086ab355a3e Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb
fbd5a0531e7 Rollup merge of #135153 - crystalstall:master, r=workingjubilee
b3e6b8b622e Add support for wasm exception handling to Emscripten target
4bc0d59f028 Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubilee
a0ddf4ab33e Impl String::into_chars
226b5755c82 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratt
ef6152cc0f9 Add doc aliases for `libm` and IEEE names
7f65de518d3 chore: remove redundant words in comment
79903f9d43b Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum
7923bb5f756 library: fix adler{-> 2}.debug
c4017fd1ecb Clarified the documentation on core::iter::from_fn and core::iter::successors
6bee808b40b Mark `slice::reverse` unstably const
3d27a72d06f Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
3a8c5a287b2 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee
d7cc83ba407 Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee
d938ba2c6f7 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross35
53d537fbd8d fix doc for missing Box allocator consistency
23ddd02a180 add regression test for unsound Flatten/FlatMap specialization
c79c7190828 Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee
1ee92f98104 Fix UWP build
5b2b3c3096d Bump backtrace to 0.3.75
9110a8ff844 Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors
5f771af4181 sync to actual dep verions of backtrace
eb900b2d619 core: use public method instead of instrinsic
c837683764d Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr
06408480d33 do not in-place-iterate over flatmap/flatten
cde9f27826b Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgr
740560e4138 Switch rtems target to panic unwind
c9e2487cf46 turn rustc_box into an intrinsic
8655f273b07 Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35
8a62db80a39 core: improve comments
3a3146b65fd Rollup merge of #134241 - liigo:patch-16, r=dtolnay
e0ec275f7ad Bump backtrace to rust-lang/backtrace-rs@4d7906b
5287cd190ef core: implement `bool::select_unpredictable`
6e3e9450326 path in detail
2259e76b521 Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472
a222c95d3f6 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
6a4f5400e41 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb
cb28bad5686 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
b526b0da304 Move some things to `std::sync::poison` and reexport them in `std::sync`
a2b498b9538 Try to write the panic message with a single `write_all` call
11e4b71295e Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank
b240f7d15b1 char to_digit: avoid unnecessary casts to u64
adc2653945b std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
69b0fa44900 Remove qualification of `std::cmp::Ordering` in `Ord` doc
ee9a7688711 Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm
697f28c53c3 Remove allowing static_mut_refs lint
05e93dc814c Avoid use of LFS64 symbols on Emscripten
3ef3a4c8c1f Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgr
562249b99ce Tidy up bigint mul methods
9fcf85b78a5 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross35
ec702d2bfe7 Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu
adbb9b7eebd Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhpratt
22d86e4b085 Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35
dce6c6f58b2 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJung
9bb9676e641 Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
dbb40a32a09 Avoid short writes in LineWriter
c01618d365d Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross35
22793b88951 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum
c4eeaafd4fa Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcm
29d517cbdfd ptr docs: make it clear that we are talking only about memory accesses
af8229d31ea Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc
fc51735237e docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
df713c31ec6 fix doc for read write unaligned in zst operation
88e328a42d0 Override `carrying_mul_add` in cg_llvm
e896c946904 Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross35
d09e7862ab7 Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum
bc7ebfb8c71 Fix mistake in windows file open
27790d84a83 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
463088b1eb9 Make slice::as_flattened_mut unstably const
6c8fda2768e Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
2ba4093561f Rollup merge of #134832 - tgross35:update-builtins, r=tgross35
5c0677a593a Fix compilation issues on other unixes
1f5b3045be0 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
727f7a9c5ef Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum
236ef9b1463 Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrum
18e2c0d3490 rename typed_swap → typed_swap_nonoverlapping
a18e662fec7 Rollup merge of #134870 - geofft:patch-1, r=jhpratt
a1ac3297d45 fix: typos
9643e93b3a4 Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay
34bc9bb9e6e Update `compiler-builtins` to 0.1.140
98b8e1a91b8 Eliminate redundant statx syscalls
6ba80f87919 Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
7cd8922d4e2 stabilize const_swap
743aa5aef7c Fix sentence fragment in `pin` module docs
bd8181fce26 Update library/alloc/tests/sort/tests.rs
f3f7f4d70a2 Unify fs::copy and io::copy
49201fd5452 Fix typos
6b9bf38917a Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
91e2cfe7ad9 Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser
0590e1b585b Fix renaming symlinks on Windows
1a44c2b8380 docs: inline `core::ffi::c_str` types to `core::ffi`
2ed469a073a Windows: Use WriteFile to write to a UTF-8 console
485dd5e5b90 Impl FromIterator for tuples with arity 1-12
c7f76b091ba unwinding: bump version to fix asm
21c2c8c67d0 ptr::copy: fix docs for the overlapping case
74bb3ce4cf9 Rollup merge of #134728 - deltragon:barrier-doc, r=tgross35
cb89336f07f docs: update code example for Iterator#rposition
ba0943ad7de Auto merge of #134729 - oliveredget:typo, r=jieyouxu
b40cc1459b5 Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu
3510a5c2dcb core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
1a43c8e1181 Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr
4adc73546f3 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
6efae8c1e5a stabilize const_alloc_layout
5560d0f5aec docs: inline `std::ffi::c_str` types to `std::ffi`
93827feac89 Fix formatting
a1be2e39fa4 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcc
9c317c27776 Use scoped threads in `std::sync::Barrier` examples
2ac5591fe1d Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu
f8668aa23d0 chore: fix typos
4a79c5e078e Rollup merge of #134363 - estebank:derive-default, r=SparrowLii
d87071864d6 Fixes safety docs for `dyn Any + Send {+ Sync}`
aa5298bdc29 Auto merge of #131311 - rust-lang:cargo_update, r=clubby789
83d8e04c381 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
f38b7a8eb70 Fix forgetting to save statx availability on success
84732df6524 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda
e59f16b2659 Windows: Use FILE_ALLOCATION_INFO for truncation
709d7714762 Use `#[derive(Default)]` instead of manually implementing it
be13ae728b1 Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
b04e6d31eb4 Specify only that duplicates are discarded, not the order.
b2613470eb1 Bump `stdarch`
b6f92379aa9 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
cf4353a8d7a Document collection `From` and `FromIterator` impls that drop duplicate keys.
062ca741752 Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr
5c2a3f5c0dd Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
6ee934f66fe Auto merge of #130733 - okaneco:is_ascii, r=scottmcm
f67f15cd92a Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton
ace863d1990 Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors
5aee570630e Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472
ae6117c66d2 Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper
1a1f2eed685 cargo update
c3da4055571 Rollup merge of #134630 - fifty-six:master, r=workingjubilee
2840d177bb3 Rollup merge of #134579 - hkBst:patch-6, r=jhpratt
b1ec7aa2a5b Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung
3f039d44b0b Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubilee
820149307d0 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
bd1bcb03ef5 Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross35
86d342fce83 Asserts the maximum value that can be returned from `Vec::len`
d37e1841722 Delete `Rvalue::Len`
03d93454780 Use `&raw` for `ptr` primitive docs
43c74f9d408 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt
5e7f3ecc813 Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton
185a174290a Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton
76b88277d58 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
44eb34b3368 Document `PointerLike` implementation restrictions.
35a52dee7df Rollup merge of #134576 - hkBst:patch-4, r=jhpratt
9a0553ebaf9 docs: Permissions.readonly() also ignores root user special permissions
ea2bbafa4d1 Less unwrap() in documentation
ae390de3544 Add `is_ascii` function optimized for x86-64 for [u8]
8c4e4172ea4 Rollup merge of #134573 - lukas-code:unimpl-dyn-pointerlike, r=compiler-errors
65eb1f38744 Abstract `ProcThreadAttributeList` into its own struct
bda1416b4c4 Improve prose around into_slice example of IterMut
25401efd1e2 Document CTFE behavior of methods that call is_null
a849da28cde Improve prose around `as_slice` example of Iter
f37928c7f7e Win: rename: Use offset_of! in struct size calculation
730d7b39757 Rollup merge of #134518 - hltj:typo-fix, r=tgross35
d9ad5101237 Improve prose around basic examples of Iter and IterMut
f0a62358887 Add new implementation benchmark
cfad6698f2d Rollup merge of #134570 - hkBst:patch-3, r=joboet
975e6a476c7 fix `PointerLike` docs
eaf8ddf0fdd Correctly document is_null CTFE behavior.
91749613e6b Win: Remove special casing of the win7 target for `std::fs::rename`
a81068cc3a1 Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35
d82aa03a786 Rollup merge of #134560 - RalfJung:miri-thread-spawn, r=jhpratt
96675c61a8f remove reference to dangling from slice::Iter
6ee6550b2f5 unimplement `PointerLike` for trait objects
ced362460ca Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
86274a989a8 Rollup merge of #126118 - jan-ferdinand:docs_for_vec_set_len, r=the8472
f9a6f81feee mri: add track_caller to thread spawning methods for better backtraces
4d0d8530873 split up `#[rustc_deny_explicit_impl]` attribute
323895fc242 Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
c8496ccf737 build: Update libc version
d961be2645b Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez
d235ece08bd Auto merge of #134425 - clubby789:cargo-update, r=jieyouxu
86484052651 Auto merge of #134258 - bjorn3:no_public_specialization, r=petrochenkov
a430eb008a4 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
335abd37067 Improve documentation of `element_offset` and related methods
58a0a0f033f docs: Mention `spare_capacity_mut()` in `Vec::set_len`
1e8c0163933 Rollup merge of #134490 - hong9lol:typo, r=jhpratt
5f9fc8f40ed Auto merge of #134332 - Zalathar:rollup-oe23hkw, r=Zalathar
29209a70862 rustdoc-search: let From and Into be unboxed
90931c410c9 Rollup merge of #134426 - hkBst:patch-3, r=lqd
ccab7f859a2 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
43f555b192a Rename `elem_offset` to `element_offset`
589340bf8a3 Rollup merge of #132056 - weiznich:diagnostic_do_not_recommend_final_tests, r=compiler-errors
054027d1915 fix typo in ptr/mod.rs
4ebb52245e6 Auto merge of #133223 - zachs18:uniquerc-impls, r=Noratrieb
aa5bd6ec17d Rollup merge of #134310 - tkr-sh:master, r=Noratrieb
6f9e907a02d Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
085718d0f94 Fix typo in uint_macros.rs
792104b06bb Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
a49074f79e3 Stabilize `#[diagnostic::do_not_recommend]`
ccbd471119c Rollup merge of #133406 - EFanZh:lock-value-accessors, r=Noratrieb
7f38bd9249a Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser
e6221ccc914 remove obsolete comment and pub(super) visibility
3e2f2bef5ba Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35
0a84af4a845 Use field init shorthand where possible
0ec3ee74059 Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper
275117be975 Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez
c36087fdc89 Stabilize #[coverage] attribute
2e09db085df remove bounds from vec and linkedlist ExtractIf
f737117b57f fix(LazyCell): documentation of get[_mut] was wrong
36762279990 Remove `rustc::existing_doc_keyword` lint.
e0d5972dbc4 Add a range argument to vec.extract_if
10055d30399 Move `doc(keyword = "while")`.
c79f381f8cb Rollup merge of #134022 - shahn:doc_clarify_extend_for_tuple_version, r=tgross35
482ac626467 Remove support for specializing ToString outside the standard library
7b776b10a41 Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se
defc8957db2 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
d264b861ef3 Replace i32 by char in `split_at` & `_unchecked`
6b9a87f6cb5 Add value accessor methods to `Mutex` and `RwLock`
f9d5a5459ea std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
752d48d9724 Rollup merge of #133986 - olishmollie:tracking-issue-127154-documentation, r=tgross35
d57e06c85f3 Correct spelling of CURRENT_RUSTC_VERSION
e3531cbbb3c Rollup merge of #134179 - zachs18:align_offset_mut_ptr_doc, r=workingjubilee
525c478edc7 Reword prelude for AsyncFn stabilization
66c89ceefa1 UniqueRc: PinCoerceUnsized and DerefPure
1ac8ad94557 Add clarity to the "greater" of `VecDeque::insert`
5216be921b7 Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr
7716936340d Add documentation for anonymous pipe module
2198b5fa530 Stabilize async closures
a147b279904 UniqueRc: comparisons and Hash
c953d929206 Replace i32 by char to add clarity
c2c06f91fbd Rollup merge of #134255 - bjoernager:master, r=Noratrieb
f689885403f Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
cff172484ba UniqueRc: Add more trait impls.
1c0b879495a Rollup merge of #134254 - hermit-os:hermit-c_char, r=workingjubilee
70a1177e009 Update includes in '/library/core/src/error.rs';
2aec00baec2 Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlin
e788f7b3d9c feat: clarify how to use `black_box()`
1dd52c9e2d4 Rollup merge of #134252 - hermit-os:hermit-is_absolute, r=tgross35
bf710ada1e6 Fix building `std` for Hermit after `c_char` change
dea03df7e6c Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obk
de2cb00e2a3 Fix typos in docs on provenance
0632f329d09 Fix `Path::is_absolute` on Hermit
1e3d7ef3678 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
5866fdf5ef6 Rollup merge of #133472 - rust-wasi-web:master, r=joboet
7ed41ff0b0a Switch inline(always) in core/src/fmt/rt.rs to plain inline
394d9a6b2f1 Rollup merge of #134178 - ehuss:stabilize-2024-prelude, r=amanieu,traviscross,tgross35
9c96061c1d9 Remove consteval note from <*mut T>::align_offset docs.
b59baf07f30 Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton
1f38b0de3d7 Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross35
a8a0f6a754f Stabilize the Rust 2024 prelude
6cddada3308 Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhpratt
cef207f79bc Rollup merge of #133859 - bjorn3:move_tests_to_alloctests, r=tgross35
35fd88c392b Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
77686a282e8 Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnay
03b2eb79772 Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov
9ef3c0d479b Move some alloc tests to the alloctests crate
e3792e78842 Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr
a3f6e0a59e1 control libunwind linkage mode via `crt-static` on gnullvm targets
c765a343d3d Rollup merge of #134079 - tbu-:pr_doc_x8_to_fro…
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
…ewjasper

Delete `Rvalue::Len` 🎉

Everything's moved to `PtrMetadata`, so we can get rid of the `Len` variant now.

~~Depends on rust-lang#134326, so draft until that lands~~ Ready!

r? mir
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
… r=matthewjasper"

This reverts commit e108481, reversing
changes made to 303e8bd.
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
Temporarily bring back `Rvalue::Len`

r? `@compiler-errors` as requested in rust-lang#135671 (comment)

> However, in the mean time, I'd rather we not crunch trying to find and more importantly validate the soundness of a solution 🤔

Agreed. To fix the IMO P-critical rust-lang#135671 for which we somehow didn't have test coverage, this PR temporarily reverts:
- rust-lang#133734
- its bugfix rust-lang#134371
- rust-lang#134330

cc `@scottmcm`

I added the few samples from that issue as a test, but we can add more in the future, in particular it seems `@steffahn` [will work on that](rust-lang#135671 (comment)).

Fixes rust-lang#135671. And if we want to land this, it should also be nominated for beta backport.
github-actions bot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
0f3a7e97f23 [create-pull-request] automated change
071d976677d Rollup merge of #137730 - RalfJung:checked_ilog_tests, r=tgross35
23d9066ec80 Rollup merge of #137673 - ChrisDenton:search-path-bug, r=dtolnay
f7930f32a43 Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung
eeaf188b75b Rollup merge of #137197 - scottmcm:cmp-20, r=ibraheemdev
ce363e1f5a3 checked_ilog tests: deal with a bit of float imprecision
527700acb28 make `simd_insert` and `simd_extract` `const fn`s
655937cfffd Rollup merge of #137480 - fuzzypixelz:fix/124466, r=workingjubilee
8e62371cff2 Rollup merge of #137304 - pitaj:rangebounds-is_empty-intersect, r=ibraheemdev
bcd2e09423d require trait impls to have matching const stabilities as the traits
83e302acdba Rollup merge of #137620 - SergioGasquez:fix/espidf-maybeunit, r=ChrisDenton
97600a048b0 Rollup merge of #136187 - hkBst:patch-27, r=workingjubilee
ea50b435ee8 Rollup merge of #134585 - cyrgani:uninit_array, r=Amanieu
f30b9d5a2fa Fix Windows `Command` search path bug
af61cb55382 Rollup merge of #137614 - xizheyin:issue-134874, r=cuviper
9f8f1da9f8a Rollup merge of #137311 - martn3:enable-f16-mips, r=tgross35
d98eda35cc7 Rollup merge of #137154 - thaliaarchi:wtf8-fast-paths, r=ChrisDenton
38b89473ddd Auto merge of #137594 - RalfJung:miri-sync, r=RalfJung
df916c9f372 Auto merge of #137608 - fmease:rollup-h4siso6, r=fmease
129cda1f586 fix: attr cast for espidf
3aeaf5120c8 fix doc in library/core/src/pin.rs
9768712318a Rollup merge of #137515 - tgross35:update-builtins, r=tgross35
87be353d74c Use `.expect(..)` instead
ea230c2badf Rollup merge of #137576 - goffrie:setvalzst, r=lcnr
33c26395bed disable a potentially bogus test on Miri
24657f1ca1d Merge from rustc
48573410f77 Auto merge of #137571 - tgross35:rollup-i1tcnv1, r=tgross35
bdf09503ea5 Don't doc-comment BTreeMap<K, SetValZST, A>
34f05a38094 Rollup merge of #137543 - petrochenkov:wintest, r=ChrisDenton
0e4b3df587c Rollup merge of #137489 - RalfJung:no-more-rustc_intrinsic_must_be_overridden, r=oli-obk
3b6f96f870c Rollup merge of #137321 - aviraxp:patch-1, r=cuviper
4ed2ab3ed35 Rollup merge of #137516 - RalfJung:rustc_const_unstable-cleanup, r=Amanieu
763f918aa56 Rollup merge of #137349 - thaliaarchi:io-optional-methods/zkvm, r=Noratrieb
8df024d161b Rollup merge of #137109 - bend-n:knife, r=oli-obk
00bb0b92047 Rollup merge of #136775 - robertbastian:patch-2, r=Amanieu
128fd654118 Rollup merge of #136668 - WaffleLapkin:from_utf8_mut, r=Amanieu
3fc5093bfbc Rollup merge of #135933 - hkBst:patch-19, r=workingjubilee
fdc6f873867 Rollup merge of #134655 - GrigorenkoPV:hash_extract_if, r=cuviper
780a3d470ae Simplify trait error message for CoercePointee validation
f5c2e86bd6b std: Fix another new symlink test on Windows
4c451e86fe9 Update string.rs
9d1ad26a7c4 Remove speculation on cause of error
2dad07891a2 remove some unnecessary rustc_const_unstable
9bcae8d3756 Update `compiler-builtins` to 0.1.148
474351c0ffe Rollup merge of #137495 - madhav-madhusoodanan:feature-unstable-control-flow-into-value, r=jhpratt
c0b3b0214a1 Rollup merge of #137484 - chenyukang:yukang-fix-sort-doc, r=Noratrieb
8b8593f569f Rollup merge of #137482 - rust9x:win-file-open-truncate, r=ChrisDenton
42749e05c04 Rollup merge of #137393 - chorman0773:unbounded-shifts-stabilize, r=Amanieu
e63e6ce99cb Rollup merge of #137061 - progressive-galib:gen_future-closing#76249, r=ibraheemdev
377b0d5e48d Merge from rustc
7be8a82ca96 remove uses of rustc_intrinsic_must_be_overridden from standard library
f7b28853ff5 Added into_value const function to ControlFlow<T, T>
4fb5a2768e0 Rollup merge of #137483 - bend-n:😅, r=Noratrieb
87f88783d22 Rollup merge of #137297 - tgross35:update-builtins, r=tgross35
33e45d65a21 Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35
e11873b1751 rename sub_ptr 😅
e29396c8cb0 Fix documentation for unstable sort
eb9a602d424 Stabilize `core::str::from_utf8_mut`
0d6361ef2c0 stabilize extract_if
66d3b7527b8 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
9d830bdb584 Return error on unexpected termination in `Thread::join`.
3abc6940750 Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrum
4eb3105e762 add stdarch compatibility hack
97b3a661885 Rollup merge of #137194 - kornelski:ftls, r=tgross35
947d1fa0376 Rollup merge of #136826 - xizheyin:issue-136737, r=thomcc
f31cb937609 Update `compiler-builtins` to 0.1.147
85335cc78f3 Rollup merge of #137383 - folkertdev:stabilize-unsigned-is-multiple-of, r=Noratrieb
e5b671a44a5 Rollup merge of #137121 - bend-n:master, r=Noratrieb
36a59f86f93 Rollup merge of #135501 - tgross35:stdlib-dependencies-private, r=bjorn3
359de44870d make the new intrinsics safe
a36adc48c04 Rollup merge of #137388 - PaulDance:disable-rename-posix-semantics-tests-under-win7, r=ChrisDenton
9294e5f976f Rollup merge of #136910 - okaneco:sig_ones, r=thomcc
37defc963bf Rollup merge of #137207 - petertodd:2025-add-track-caller-to-duration-div, r=jhpratt
6a5acde0349 Auto merge of #137397 - matthiaskrgr:rollup-ls2pilo, r=matthiaskrgr
e2bc4b8c37b Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
00c5f8a98e1 Fix unbounded_shifts tests
8960db9c01c Rollup merge of #137353 - thaliaarchi:io-optional-methods/wasi-stdin, r=alexcrichton
f192be550c3 Rollup merge of #137336 - riverbl:stabilise-os-str-display, r=tgross35
72deb39375c Rollup merge of #136609 - mammothbane:master, r=scottmcm
b8795e9e25f Rollup merge of #136148 - kpreid:type-str, r=joboet
45635480085 Replace some instances of `pub` with `pub(crate)`
dd5703d6193 Use `public-dependencies` in all sysroot crates
28e2c6a465a Stabilize `unbounded_shifts`
ec588f17554 stabilize `unsigned_is_multiple_of`
5a68dd2c32e Auto merge of #137371 - matthiaskrgr:rollup-3qkdqar, r=matthiaskrgr
e7ca18efc24 Do not use CString in the examples of CStr.
42e10aff157 Use faster thread_local! for stdout
267c460933d Use faster thread_local in current_thread_id()
c572f028539 Highlight thread_local! const init in docs
71a1fb96c06 Rollup merge of #136089 - jwong101:box-default-debug-stack-usage, r=Amanieu
919ca9f6cc0 Explain how Vec::with_capacity is faithful
0a38e5c2335 Auto merge of #137192 - kornelski:windows-tls-lto, r=ChrisDenton
388d94e67e5 Implement read_buf for WASI stdin
56175d3c50a Implement read_buf for zkVM stdin
beb7d40fb5d Rollup merge of #137270 - QianNangong:master, r=ChrisDenton
e05373bef28 Rollup merge of #134340 - Urgau:stabilize-num_midpoint_signed, r=scottmcm
3205f6f8401 Stabilise `os_str_display`
c33f0218629 Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboet
7f2f0ccc4db Correct doc about `temp_dir()` behavior on Android
ca767c6a439 Enable `f16` for MIPS
5fb2e42857d Implement feature `isolate_most_least_significant_one` for integer types
d6b87df28e3 add `IntoBounds::intersect` and `RangeBounds::is_empty`
f1c6d786632 Skip scanning for surrogates when not known valid
86402a4df84 Add fast path for displaying pre-validated Wtf8Buf
f9d795e857b Auto merge of #137295 - matthiaskrgr:rollup-tdu3t39, r=matthiaskrgr
b51ff7a2af3 Rollup merge of #137277 - m4rch3n1ng:stabilize-inherent-str-constructors, r=tgross35
e7decbcc618 Auto merge of #137290 - matthiaskrgr:rollup-a7xdbi4, r=matthiaskrgr
fb345261a92 Rollup merge of #137155 - thaliaarchi:wtf8-organize, r=ChrisDenton
7b3d14c2dac Rollup merge of #136923 - samueltardieu:push-vxxqvqwspssv, r=davidtwco
105431d09b4 Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-ptr-select, r=thomcc
0083d27be4c Rollup merge of #132268 - elichai:string_try_from_vec, r=Amanieu
daabdc1c710 Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se
85ae6a2f8f3 stabilize `inherent_str_constructors`
3a375d00778 Rollup merge of #136794 - cberner:stabilize, r=joshtriplett
2a2c9d829b0 Rollup merge of #136347 - allevo:patch-1, r=Amanieu
d1667fc8ca4 Rollup merge of #136301 - hkBst:patch-33, r=thomcc
baacf0f3994 Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=Amanieu
18931269a1c fix by comments
ff43a1fcdca Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306
9584036e9b5 Update library/std/src/fs.rs
667572fc819 core/net: IpAddr*::as_octets()
e3bbe483fd3 remove assume_init in stack_overflow
af9fc8f38f4 Merge from rustc
fd5d2c601ae Rollup merge of #137228 - steffahn:one-coerces-to-supertypes-not-subtypes, r=the8472
7f4597fc397 Rollup merge of #137026 - GrigorenkoPV:integer_sign_cast, r=jhpratt
d48df9dfe47 Auto merge of #137235 - matthiaskrgr:rollup-2kjua2t, r=matthiaskrgr
2a68133763c Remove outdated target `unexpected_cfgs`
1eeac08ba0d Rollup merge of #137126 - m4rch3n1ng:fix-inherent-str-docs, r=Amanieu
f1f08cafa7a Rollup merge of #136876 - joshtriplett:locking-might-not-be-advisory, r=Amanieu
102e63b0480 Rollup merge of #137214 - cyrgani:clippy_diagnostic_items, r=compiler-errors
5b72eaad8ed Rollup merge of #137205 - thaliaarchi:remove-wasi-fileext-tell, r=alexcrichton
1220ccf6944 Rollup merge of #137167 - martn3:reliable_f16_math-f16-erfc, r=tgross35
d9110584f0d Rollup merge of #136750 - kornelski:ub-bug, r=saethlin
48b02132eac update `cfg(bootstrap)`
d43df0d231a Fix typo in hidden internal docs of `TrustedRandomAccess`
ac553cb6319 update version placeholders
ba8bd37a540 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
84472b88ffe Clarify that locking on Windows also works for files opened with `.read(true)`
1eb38edd9fa add last std diagnostic items for clippy
dad8c58641e Add #[track_caller] to Duration Div impl
74abdb5a254 Remove std::os::wasi::fs::FileExt::tell
c439b11d9f4 Update some comparison tests now that they pass in LLVM20
33d4cd0c792 Remove obsolete MinGW ThinLTO+TLS workaround
b7b81469900 Rollup merge of #137165 - thaliaarchi:file-tell, r=ChrisDenton
f6b7cbc698d Use tell for <File as Seek>::stream_position
083489d1c96 Auto merge of #137164 - matthiaskrgr:rollup-dj5826k, r=matthiaskrgr
087c32bace1 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
48884882a6e Rollup merge of #137105 - zachs18:cow-derefpure-restrict, r=Nadrieril
ebcf8a346b7 Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=Urgau
319f0802bbb Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
900e66fd93c Merge from rustc
e9eaf8fd3df stabilize (const_)ptr_sub_ptr
25f6fd491c7 Synchronize platform adaptors for OsString/OsStr
d68ea39842d Simplify control flow with while-let
61eea6c7af2 Improve WTF-8 comments
78f5f6895e8 Rollup merge of #137114 - ChrisDenton:error, r=Noratrieb
f49474ec257 Rollup merge of #136986 - ehuss:library-unsafe-fun, r=Noratrieb
c9de0946aa8 invalid_from_utf8[_unchecked]: also lint inherent methods
bfeda0a52f7 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
0aeba5b388f fix docs for inherent str constructors
0ca46456e46 Add an example for std::error::Error
9b26bae8acd Merge from rustc
263e4b25f16 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
6b9b271d1bd Make ub_check message clear that it's not an assert
4f6a457616c remove MaybeUninit::uninit_array
27d76de79bf docs: fix broken intra-doc links that never worked
16ea589cd4b Auto merge of #137065 - jhpratt:rollup-ree9mej, r=jhpratt
c2b1e088c4f Rollup merge of #137062 - thaliaarchi:io-optional-methods/write, r=workingjubilee
94b1a33307f Rollup merge of #136978 - ChrisDenton:windows-bindgen, r=Amanieu
2bc3e8b2635 Rollup merge of #136879 - kornelski:non1, r=Noratrieb
df761061e6d Rollup merge of #136749 - mzeitlin11:extend-asciichar, r=scottmcm
2d1f245f652 Rollup merge of #135687 - joseluis:feat-reexport_from_coroutine, r=scottmcm
7496de0af43 tidying up tidy
45580317d51 Add real safety comments
c71d9b123fb Go back to `Some` instead of transmuting to it.
304ce1b3b8a Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
f13856002b6 Simplify `slice::Iter::next` enough that it inlines
c887174a273 Forward all default methods for I/O impls
a7c46dd7b8d replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
d241320273b Merge from rustc
9691b85c13c Auto merge of #136324 - GrigorenkoPV:erf, r=tgross35
147f24812ad Rollup merge of #136983 - ehuss:misc-2024-prep, r=tgross35
64d4df82fa3 Rollup merge of #134016 - zachs18:stable-const-str-split_at, r=Amanieu
a1d6e57f8da Stabilize (and const-stabilize) `integer_sign_cast`
5f7a207ad9a proc_macro: Apply unsafe_op_in_unsafe_fn
231fc7d5115 std: Apply unsafe_op_in_unsafe_fn
13e034d1509 Fix safety of windows uwp functions
99021161db3 unwind: Apply unsafe_op_in_unsafe_fn
0ed0d928c15 panic_unwind: Apply unsafe_op_in_unsafe_fn
1ed3d402bd4 panic_abort: Apply unsafe_op_in_unsafe_fn
4c1262b3978 core: Apply unsafe_op_in_unsafe_fn
0617326e5e1 Rollup merge of #136976 - jedbrown:jed/doc-boxed-deferred-init, r=tgross35
ab7e5e6e973 Rollup merge of #136967 - DaniPopes:io-repeat-fill, r=joboet
a26d6a8d876 Rollup merge of #136886 - ehuss:remove-prelude-common, r=jhpratt
d8188dd66e1 Rollup merge of #136052 - no1wudi:fix, r=workingjubilee
827593948bc Add safe new to NotAllOnes
74c0eeaca74 Auto merge of #136735 - scottmcm:transmute-nonnull, r=oli-obk
30de706e194 Rollup merge of #136992 - ehuss:update-backtrace, r=workingjubilee
a8d90674e4e Rollup merge of #136908 - mustartt:aix-mutex-destory-einval, r=joboet
e455964a4d1 Rollup merge of #136904 - pitaj:range-into_bounds, r=tgross35
44c37a8084d Update backtrace
ab632ba7993 Implement `f{16,32,64,128}::{erf,erfc}`
346c0f5521a std: Apply deprecated_safe_2024
f158ad20936 test: Apply deprecated_safe_2024
163c2871768 std: Apply fixes for tail drop expressions
d5feb71dd61 std: Apply rust_2024_incompatible_pat
a9dddc5ef5b std: Apply dependency_on_unit_never_type_fallback
378344935e6 std: Apply missing_unsafe_on_extern
3140f7daeff std: Apply unsafe_attr_outside_unsafe
eb27443f29d alloc: Apply missing_unsafe_on_extern
8aab2dd2569 alloc: Apply unsafe_attr_outside_unsafe
e983f6aed11 alloc: Workaround hidden doctest line
55127d7d462 Migrate coretests to Rust 2024
ad44a5905b9 Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviper
680d54900c2 library: Update rand to 0.9.0
c8c0557cfc7 core: Apply unsafe_attr_outside_unsafe
216bdd3e399 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
6f4d9234b93 Consistently using as_mut_ptr() and as_ptr() in thread
d7dc0a00893 Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
0ab18c7b508 Use `slice::fill` in `io::Repeat` implementation
da4ed381b0a Windows: Update generated bindings to 0.59
3a3d327ef19 Rollup merge of #136949 - ehuss:wasm-bench-time, r=jhpratt
1ee869f3c63 Rollup merge of #136660 - compiler-errors:BikeshedGuaranteedNoDrop, r=lcnr
8ea18d80d82 `transmute` should also assume non-null pointers
32f3b03288c Merge from rustc
b1035170c03 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
19c0893315e Rollup merge of #136945 - samueltardieu:push-rsqlyknnvyqm, r=fmease
966b014bfdf Rollup merge of #136818 - a1phyr:io_repeat_exact, r=jhpratt
55830306895 Rollup merge of #136699 - joboet:netaddr_from_inner, r=cuviper
c795fe44468 Rollup merge of #134090 - veluca93:stable-tf11, r=oli-obk
7b96a46867d add `IntoBounds` trait
fc1fd29a71a Fix import in bench for wasm
9219f4e6c4c Add diagnostic item for `std::io::BufRead`
0e05aa56601 Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung
3715d9e0c16 Change swap_nonoverlapping from lang to library UB
384e69994e1 std: replace the `FromInner` implementation for addresses with private conversion functions
8676bc869bd Remove ignored `#[must_use]` attributes from portable-simd
b2adc75b1d3 Auto merge of #136918 - GuillaumeGomez:rollup-f6h21gg, r=GuillaumeGomez
4104dfa0c49 Rollup merge of #136915 - eyelash:float-precision, r=workingjubilee
eac6d788e7f Rollup merge of #136875 - BoxyUwU:rdg-push, r=jieyouxu
7b900a0c001 Auto merge of #136897 - workingjubilee:revert-unfcped-stab, r=WaffleLapkin
d7a30378ff8 `f128` is quadruple-precision
c747c4c9355 `f16` is half-precision
c01794babe2 expect EINVAL for pthread_mutex_destroy for aix
64453dd64ac Rollup merge of #136874 - tgross35:likely-unlikely-tracking, r=jhpratt
dbf8f031153 library: amend revert of extended_varargs_abi_support for beta diff
703da525681 Optionally add type names to `TypeId`s.
a3aa8e0ebf9 Revert "Stabilize `extended_varargs_abi_support`"
7fb3f7ff532 Remove the common prelude module
66541f0e466 Document that locking a file fails on Windows if the file is opened only for append
168693dd1b7 Reword file lock documentation to clarify advisory vs mandatory
9cb690dbd8a Rollup merge of #136354 - hkBst:patch-34, r=ibraheemdev
e0b12260f17 Rollup merge of #136246 - hkBst:patch-29, r=ibraheemdev
928bef99674 Change the issue number for `likely_unlikely` and `cold_path`
aae7e6cad6b Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhpratt
b4de212ba47 include note on variance and example
98e87084daf Update docs for impl keyword
53df90005c6 Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdev
13617787a75 Rollup merge of #136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper
890c49d1e28 Rollup merge of #136663 - WaffleLapkin:count-non-zero-ones, r=cuviper
961e80f546e Merge from rustc
91276cbc2e2 Fix long lines which rustfmt fails to format
ea86b6b61d0 Rollup merge of #136107 - dingxiangfei2009:coerce-pointee-wellformed, r=compiler-errors
e262e3ea663 Fix &&str and trailing commas in io::const_error!
7dd9fdced8c Use io::const_error! when possible over io::Error::new
8937afec85c Auto merge of #136823 - matthiaskrgr:rollup-vp20mk1, r=matthiaskrgr
0ae37883417 Reword doc comment on `CoercePointeeValidated`
30a505f2920 Rollup merge of #136714 - tgross35:update-builtins, r=tgross35
038d4e4e622 Auto merge of #135701 - calebzulawski:sync-from-portable-simd-2025-01-18, r=workingjubilee
1d698993f59 Implement `read*_exact` for `std:io::repeat`
66529b7c34d Rollup merge of #136805 - RalfJung:miri-win-delete-self, r=Noratrieb
a995068a518 Rollup merge of #136705 - compiler-errors:edition-library, r=jhpratt
40908d20b69 Rollup merge of #136552 - ChrisDenton:option-find-handle, r=Mark-Simulacrum
2710c50c59d Rollup merge of #136353 - purplesyringa:libtest-instant-wasm, r=Mark-Simulacrum
5e7940f9979 Rollup merge of #136228 - hkBst:patch-28, r=Mark-Simulacrum
a2ba8ac771d ignore win_delete_self test in Miri
df899865ee4 Merge from rustc
92386bd518c Stabilize file_lock
4fa9ad28bb2 fix(libtest): Enable Instant on Emscripten targets
6980c51378f block coerce_pointee_validated for stabilization
951ffaba4e3 Rollup merge of #135488 - GrigorenkoPV:vec_pop_if, r=jhpratt
cbc61e8f2ba Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d9e0a425f20 Mark extern blocks as unsafe
370f8629369 Rename field in OnceWith from gen to make
2dc589bef37 Mark link_section attr with unsafe
1fdb5970812 Update string.rs
8d0206bb68c Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum
372b6212e4a Auto merge of #136754 - Urgau:rollup-qlkhjqr, r=Urgau
e7b600fe4b4 rename the trait to validity and place a feature gate afront
767ecf57208 introduce CoercePointeeWellformed for coherence checks at typeck stage
594556dd299 Rollup merge of #136724 - steffahn:asyncfn-non-fundamental, r=compiler-errors
69d386ec244 Rollup merge of #136710 - JakenHerman:jaken/iterator-docs, r=workingjubilee
3d64f4c1ba6 Rollup merge of #136686 - bjoernager:master, r=jhpratt
9e2eb8d4b91 Rollup merge of #136601 - compiler-errors:borrow-null-zst, r=saethlin
de555d8a276 Rollup merge of #136213 - erickt:fs, r=Mark-Simulacrum
3bc72bb59f9 Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-Simulacrum
275be806bf5 occured -> occurred
c74f8b5fc1f Rustfmt
88ee8a04b47 Document `Sum::sum` returns additive identities for `[]`
9cf53b6ea43 Implement Extend<AsciiChar> for String
1d535de7364 Rollup merge of #136099 - Kijewski:pr-rc-str-default, r=ibraheemdev
c6124b4c448 Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb
2a7a079772a Merge from rustc
2b41365cfca Auto merge of #136713 - matthiaskrgr:rollup-sy6py39, r=matthiaskrgr
95ea59d5173 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
ad5aea5e454 Update `compiler-builtins` to 0.1.146
82e98ea854e Rollup merge of #136682 - ChrisDenton:move-win-proc-tests, r=joboet
20e702ffb2e Rollup merge of #136635 - jieyouxu:base_port, r=joboet
f673e1606ed Rollup merge of #136615 - Ayush1325:uefi-net-unsupported, r=joboet
fc11b454ce5 Improve examples for file locking
4b3e632673b Rollup merge of #135945 - estebank:useless-parens, r=compiler-errors
0d0527e1702 Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, r=compiler-errors
7dd6829164d std: get rid of `sys_common::io`
9b7104dbe47 std: move `io` module out of `pal`
c1f3f20b634 Use more explicit and reliable ptr select in sort impls
e8e96403b8a Clean up 'HashMap' and 'HashSet' docs;
8f754628013 Rollup merge of #136634 - bjoernager:const-mut-cursor, r=m-ou-se
1ff33ee233d Move two windows process tests to tests/ui
ff5abb62988 library: doc: core::alloc::Allocator: trivial typo fix
fe1439a94eb remove use of `feature(trait_upcasting)` from core tests
4c33132baee Remove some unnecessary parens in `assert!` conditions
10eb42d9237 stabilize `NonZero::count_ones`
10c27803bc3 Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett
f973a52645b Rollup merge of #136630 - jieyouxu:render_tests, r=ChrisDenton
bf2eee8a588 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
c055c57b6f9 tests(std/net): remove outdated `base_port` calculation
0a62a04415e tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
26037053b33 Auto merge of #136613 - workingjubilee:rollup-ry6rw0m, r=workingjubilee
94b8c8abce3 sys: net: Add UEFI stubs
0e43e9c22ce Rollup merge of #136595 - thaliaarchi:hermit-unreachable-pub, r=Noratrieb
ef106388320 Rollup merge of #136566 - hkBst:patch-1, r=scottmcm
ccd78f8a0e2 Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrum
ae8a4a9d009 Rollup merge of #136555 - cramertj:split_off, r=dtolnay
5792f5cd50b Rollup merge of #136537 - tgross35:update-builtins, r=tgross35
29d0feddcab Rollup merge of #136517 - m4rch3n1ng:inherent-str-constructors, r=jhpratt
48b038cf2af Rollup merge of #136449 - joboet:move_pal_net, r=ChrisDenton
a20c46c0a18 Rollup merge of #136418 - Ayush1325:command-env, r=jhpratt
b0449f2f6e1 Fix link in from_fn.rs
3dd32ae84d9 Fix unreachable_pub lint for hermit target
08a556e6906 Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnay
1420e0334e9 Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obk
b5db0562096 Add OneSidedRangeBound to eliminate panic in `split_point_of`
3daa09ada6e Rename slice::take methods to split_off
10189db6e75 Use Option for FindNextFileHandle
d9ad3d612d2 Auto merge of #135760 - scottmcm:disjoint-bitor, r=WaffleLapkin
023ac462a65 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
3e9dee72261 Auto merge of #136534 - jhpratt:rollup-dnz57dq, r=jhpratt
f3cc8954938 Auto merge of #136533 - jhpratt:rollup-s0ign8n, r=jhpratt
5880f67026b Update `compiler-builtins` to 0.1.145
c78c36fa474 Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb
40c37fc3799 Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
4a1eec8014f Rollup merge of #136479 - RalfJung:dirent64, r=tgross35
0bb9ad7ace0 Rollup merge of #136398 - pitaj:unsafecell_access, r=dtolnay
29498e70b30 Rollup merge of #136334 - ricci009:primitivers, r=tgross35
6e1295bc8c9 Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
dbe125183da Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=Noratrieb
ecfdcb94bc0 Auto merge of #135265 - pascaldekloe:fmt-int-speed, r=tgross35,ChrisDenton
ee3eff0675a specify a prim@slice in docs
43ef876e485 implement inherent str constructors
c1c78464cdb Add note about `FnPtr` being exposed as public bound
60976d84595 primitive type migration from mod.rs to primitives.rs
8de1ae17be7 Rename rustc_contract to contract
b2f1b5b4843 Improve contracts intrisics and remove wrapper function
900d21991f3 Separate contract feature gates for the internal machinery
3c987305a09 Desugars contract into the internal AST extensions
0cd98e7eeb8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
b861e819bfe Express contracts as part of function header and lower it to the contract lang items
4b5a5aa6989 contracts: added lang items that act as hooks for rustc-injected code to invoke.
9130a03fa38 Contracts core intrinsics.
32a2eb06555 Mark `std::fmt::from_fn` as `#[must_use]`
76c4a227353 Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35
19154314fd1 no unsafe pointer and no overflowing_literals in fmt::Display of integers
ea88c5f84a4 For NonZero impl macros, give unsigned impls access to the corresponding signed type
3b1968368f2 OnceCell & OnceLock docs: Using (un)initialized consistently
a6874f4ca1e std::fs: further simplify dirent64 handling
e39a0b26a7b Merge from rustc
4a49a0c399e Docs for f16 and f128: correct a typo and add details
d3a623284ec Rollup merge of #136452 - RalfJung:miri-sync, r=RalfJung
9c480135f36 Remove stabilized feature gate
b6239637fc3 std: move network code into `sys`
703cbc1fec9 Rollup merge of #136434 - RalfJung:rustc_allowed_through_unstable_modules-deprecation-required, r=compiler-errors
7af9dd25aff Rollup merge of #136283 - hkBst:patch-31, r=workingjubilee
74f272849c8 Rollup merge of #134272 - RalfJung:destabilize-rustc_encodable_decodable, r=oli-obk
a58c0451843 Merge from rustc
54a0b27009a rustc_allowed_through_unstable_modules: require deprecation message
a120861e34b Rollup merge of #136133 - hkBst:patch-23, r=ibraheemdev
4ad629e9758 uefi: process: Add support for command environment variables
046ce6a1061 Use `widening_mul`
1c4078f12c8 add UnsafeCell direct access APIs
c74858a43f2 Rollup merge of #136364 - hkBst:ptr_cmp_docs, r=tgross35
b55be6bc42d Rollup merge of #136360 - slanterns:once_wait, r=tgross35
b2c29a5d3ce Rollup merge of #136307 - WaffleLapkin:minminmin, r=scottmcm
bd111f66c41 Rollup merge of #135684 - ranger-ross:mutex-docs, r=joboet
4d54555054f document ptr comparison being by address
322f4ff60ea Fix sentence in process::abort
86eb99c849a More PR feedback
1ad1e30da56 PR feedback
21ff5a9f1e2 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
7c35620e431 docs: Documented Send and Sync requirements for Mutex + MutexGuard
bd42cf90f26 Merge from rustc
fdf76cc8147 Rollup merge of #136351 - Darksonn:coerce-pointee-docs, r=compiler-errors
c019c23231f Rollup merge of #136163 - uellenberg:driftsort-off-by-one, r=Mark-Simulacrum
fed18ca6d6c stabilize `once_wait`
f29597fd21e Auto merge of #134424 - 1c3t3a:null-checks, r=saethlin
2db2320e5b6 Add documentation for derive(CoercePointee)
d3b13153b26 Insert null checks for pointer dereferences when debug assertions are enabled
aa603ac5d92 Update encode_utf16 to mention it is native endian
8c6905a4de2 Update fs.rs
16badee296b Auto merge of #136332 - jhpratt:rollup-aa69d0e, r=jhpratt
28c497cc543 Rollup merge of #136300 - RalfJung:compare-and-swap, r=joboet
a5de5134ed8 Rollup merge of #136296 - RalfJung:float-min-max, r=tgross35
ca9639dab13 Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay
370a1cdeea7 Merge from rustc
b88edf4ecc1 implement all min/max fns in terms of `<`/`is_lt`
fcb2bc3cc94 implement unstable `new_range` feature
24bdb9aa495 improve doc tests for (min/max/minmax).* functions
f7de368b9dd std::range
137c2bb32b5 Rollup merge of #136288 - joshtriplett:would-you-could-you-with-some-locks--would-you-could-you-in-some-docs, r=m-ou-se
796e5e780fd Rollup merge of #136271 - Sky9x:debug-maybeuninit-footgun, r=tgross35
163f5dd0a3f Rollup merge of #135852 - lukas-code:asyncfn-prelude-core, r=compiler-errors
edde199a2aa Rollup merge of #135475 - Ayush1325:uefi-absolute-path, r=jhpratt
c31ed471b03 black_box integer-input on fmt benches
10a7afcda8c Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdev
cea1bedbf46 Improve instant docs
26491184e2e atomic: extend compare_and_swap migration docs
0c79ce207e1 float::min/max: mention the non-determinism around signed 0
b4e2280fef5 Improve documentation for file locking
21622375a4e Merge from rustc
24ff8ae468a Rollup merge of #136259 - hkBst:patch-30, r=thomcc
83aa5c1315a Rollup merge of #136215 - btj:patch-1, r=cuviper
6d7c45f8fd6 Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcm
819ca901db1 Remove minor future footgun in `impl Debug for MaybeUninit`
3830bbed32e Cleanup docs for Allocator
e4ae302d24f add inline attribute and codegen test
b4f1712972e split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
963194bd855 Auto merge of #136248 - matthiaskrgr:rollup-leaxgfd, r=matthiaskrgr
506db6f503d Rollup merge of #136092 - tbu-:pr_io_pipe_test, r=joboet
665fab7c016 Auto merge of #136227 - fmease:rollup-ewpvznh, r=fmease
10598dc2e3b Fix off-by-one error causing driftsort to crash
f23398091be btree/node.rs: pop_internal_level: does not invalidate other handles
579d90bd9ff Merge from rustc
72aeea30fa0 Simplify Rc::as_ptr docs + typo fix
44051b31651 Rollup merge of #136186 - Ayush1325:uefi-process-args-fix, r=nicholasbishop,Noratrieb
c8953bcdc54 Rollup merge of #135625 - c410-f3r:cfg-match-foo-bar-baz, r=tgross35,jhpratt
7276d04619b Allow Rust to use a number of libc filesystem calls
dcd657596b0 btree/node.rs: remove incorrect comment from pop_internal_level docs
e6a7f5d73d6 Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgr
7205f0af655 Rollup merge of #136173 - taiki-e:c-char, r=tgross35
0ae2a30dfce Rollup merge of #136071 - wowinter13:clippy-add-diagnostic-items, r=flip1995
e449a6c2eba Rollup merge of #135869 - hkBst:patch-12, r=Noratrieb
ced312fce29 Stabilize `get_many_mut` as `get_disjoint_mut`
344f948cf64 uefi: process: Fix args
496fe7162ba Rollup merge of #136012 - hkBst:patch-22, r=workingjubilee,tgross35
7a3a419ca8a Rollup merge of #135886 - hkBst:patch-14, r=workingjubilee
d53c0000980 Rollup merge of #135805 - DiuDiu777:master, r=Noratrieb
d37ac725dd2 Rollup merge of #135367 - Urgau:unreach_pub-std-3, r=Noratrieb
403b0b39947 Rollup merge of #133829 - GrigorenkoPV:fetch_update_infallible, r=Noratrieb
061edde269f Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
527882bf14d Document powf and powi calls that always return 1.0
c4cd0b7c050 Update comments and sort target_arch in c_char_definition
b93feb588c2 Stabilize target_feature_11
1056a819cfd Auto merge of #136110 - RalfJung:miri-sync, r=RalfJung
f9be93972e7 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
35704ea4c8d Stabilize `num_midpoint_signed` feature
32749149926 Rollup merge of #135876 - usamoi:mpmc-doc, r=tgross35
f64b962fba0 Rollup merge of #135807 - jhpratt:phantom-variance, r=Amanieu
a50e3d7f54a Rollup merge of #135773 - hkBst:patch-10, r=tgross35
63483318baa Clarify WindowsMut (Lending)Iterator
6837e59fd85 Stabilize `const_black_box`
fb9d3ac464c Auto merge of #136116 - fmease:rollup-c8pk3mj, r=fmease
67ec627b006 Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35
5b36cacd712 fix doc for std::sync::mpmc
1f97890ce49 Rollup merge of #136079 - RalfJung:compiler-fence-example, r=jhpratt
87604101dfd Rollup merge of #135635 - tbu-:pr_io_pipe, r=joboet
84e37e67d7a compiler_fence: fix example
bcb90340247 Optimize `Rc::<str>::default()` implementation
89d7937a36b Document purpose of closure in from_fn.rs more clearly
68f6b01c245 Auto merge of #136087 - jhpratt:rollup-tam1mzn, r=jhpratt
d98d447d2b7 Test pipes also when not running on Windows and Linux simultaneously
d1fa0a4fbd4 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
7ce37737631 Move `std::io::pipe` code into its own file
21785685d34 Actually run the bstr test
8033d307f45 Move env modifying tests to a separate integration test
fcaf2f1c5f0 Fix for SGX
a3e6b238bf3 Fix benchmarking of libstd
2e6b5b9050d Move std::sync unit tests to integration tests
d2711596742 Move std::thread_local unit tests to integration tests
7e7ca2b9660 Move std::time unit tests to integration tests
316f77df27a Move std::path unit tests to integration tests
8c02a576d13 Move std::panic unit tests to integration tests
74893de3fef Move std::num unit tests to integration tests
a32e504c488 Move std float unit tests to integration tests
bac6108c031 Move std::error unit tests to integration tests
f7bc549cb3f Move std::env unit tests to integration tests
555025b0c6f Update comment
06ee7516ffb Put all coretests in a separate crate
1396e007c88 reduce `Box::default` stack copies in debug mode
7aec69acb8a Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-Simulacrum
567ad8ea64d Rollup merge of #133631 - flba-eb:add_nto_qnx71_iosock_support, r=workingjubilee
cd30b1eb972 Windows: Test that deleting a running binary fails
063f8c2636a Update platform information for remove_file
c3df8206e50 Windows: remove readonly files
ddd1a4cecea Merge from rustc
5fe03baa519 Implement phantom variance markers
c0037d7ad4d Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum
ca5e77e0499 Rollup merge of #134283 - epage:logfile, r=Amanieu
9d4544cc8ca [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
90506de9204 Rollup merge of #136039 - nvanbenschoten:pin-typo, r=Amanieu
af1ba12a51d Rollup merge of #136005 - BLANKatGITHUB:library, r=RalfJung
f1213b300c6 Improve and expand documentation of pipes
6c1c3c0bf7c Correct comment for FreeBSD and DragonFly BSD in unix/thread
0285d898938 Rollup merge of #135991 - no1wudi:master, r=thomcc
bb0afaa57fe Rollup merge of #135977 - nyurik:fix-fmt-options, r=joboet
ff9e88a2097 docs: fix typo in std::pin overview
37370b0c584 Merge from rustc
8ecd2bcf0a9 Rollup merge of #135938 - carlsverre:master, r=joboet
cdb3e29386a Rollup merge of #135728 - hkBst:patch-8, r=joboet
773b5d508cb Rollup merge of #135415 - Harshit933:hard-link-error, r=ChrisDenton
af788b438df Stabilize `vec_pop_if`
03ab09910c1 fix(libtest): Deprecate '--logfile'
74e2341dc38 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
eb6fbc8096a Update library/core/src/num/nonzero.rs
92835a3f194 Add `File already exists` error doc to `hard_link` function
f0f1a87d800 ports last few library files to new intrinsic style
cf546c814bb Rollup merge of #135983 - hkBst:patch-13, r=jhpratt
7edb3047441 Rollup merge of #135956 - GrigorenkoPV:vec_pop_off, r=dtolnay
ee9cefa410f Fix set_name in thread mod for NuttX
3620eec3493 add nto80 x86-64 and aarch64 target
9bb1668f214 Add support for QNX 7.1 with io-sock on x64
d6342fa9aba Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
035c12ec8bf Doc difference between extend and extend_from_slice
a274dc05834 Update a bunch of comments from before wasi support was added
558f11a550d Remove a bunch of emscripten test ignores
2b9f32ec29a Fix testing of the standard library with Emscripten
5551cba498d Auto merge of #135978 - matthiaskrgr:rollup-ni16gqr, r=matthiaskrgr
b2c0a9ef4e7 Rollup merge of #135890 - GrigorenkoPV:deque-pop-if, r=thomcc
1acbfe7524b Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35
6544b00a8fb Fix `FormattingOptions` instantiation with `Default`
1b48955d367 Auto merge of #135959 - matthiaskrgr:rollup-0jenyfw, r=matthiaskrgr
2f8df6078a7 Rollup merge of #135366 - Urgau:unreach_pub-std-2, r=cuviper
7996d149512 Make `Vec::pop_if` a bit more presentable
a2a21f1de2f Rollup merge of #135073 - joshtriplett:bstr, r=BurntSushi
25a698d219d Add memory layout documentation to generic NonZero<T>
c5b0f81666b Rollup merge of #135883 - GrigorenkoPV:btree_set_upper_bound_mut, r=tgross35
8bd8c106e94 Implement `AtomicT::update` & `AtomicT::try_update`
85dbbfdff48 Rollup merge of #135856 - fmease:library-mv-obj-save-dyn-compat-ii, r=tgross35
12bfc4e7bf7 Rollup merge of #135837 - ChrisDenton:trunc, r=Noratrieb
23cbfa61496 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
5a5cbddddb9 Implement `CloneToUninit` for `ByteStr`
7f701724cf5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
70c35f71879 Add doc aliases for BStr and BString
93da2972cf8 Library: Finalize dyn compatibility renaming
f1b7b24d44e Add `AsyncFn*` to core prelude
6ab5ba61e9a Rollup merge of #135821 - hkBst:patch-11, r=ibraheemdev
8ea3470dd75 Rollup merge of #135750 - scottmcm:cma-example, r=cuviper
6ea8945f347 optimize slice::ptr_rotate for compile-time-constant small rotates
84b04a92dfd [cfg_match] Document the use of expressions
c55947fa5e9 Remove test panic from File::open
cd5dca3ed5c fix OsString::from_encoded_bytes_unchecked description
a8ce127e2ee add missing allocator safety in alloc crate
9e9be1932e2 Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviper
465366c7574 Auto merge of #134286 - Urgau:unreach_pub-std, r=ibraheemdev
9e295224a6a Rollup merge of #135741 - bardiharborow:std/net/rfc9637, r=Amanieu
8f124ce2150 Rollup merge of #133695 - x17jiri:hint_likely, r=Amanieu
64f6d4d4203 alloc: add `#![warn(unreachable_pub)]`
9f1e1f2f90b test: add `#![warn(unreachable_pub)]`
a1a4f7a5752 proc_macro: add `#![warn(unreachable_pub)]`
7c020ae9a45 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
9412a163d7b core: add `#![warn(unreachable_pub)]`
e82f2a31a59 rtstartup: add `#![warn(unreachable_pub)]`
7e3f5d54b07 panic_unwind: add `#![warn(unreachable_pub)]`
9dff2820ffd 1. Removed 'rustc_nounwind' 2. Rewording of comments
b3e668cd01d Rollup merge of #135762 - TomFryersMidsummer:patch-1, r=joboet
6982b19d1e4 Rollup merge of #135626 - clubby789:env-note, r=ibraheemdev
150649f77be Correct counting to four in cell module docs
151c72de98d Rollup merge of #135491 - RalfJung:remove-dead-rustc_allowed_through_unstable_modules, r=Mark-Simulacrum
d19faac64ad Rollup merge of #135446 - klensy:panic_immediate_abort_ext, r=Mark-Simulacrum
2ab070f4daa Add an example of using `carrying_mul_add` to write wider multiplication
552e6773cb0 Recognise new IPv6 documentation range from RFC9637
0db32633608 Fix whitespace
f02e25ecde7 Auto merge of #135714 - rust-lang:cargo_update, r=clubby789
a8c73bd904b document order of items in iterator from drain
5cfbae8e8f5 Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdev
1591282e846 Auto merge of #135709 - lqd:bring-back-len, r=compiler-errors
a0600dba81c Rewrap following accepting review suggestions from @ibraheemdev
aa330bd99ef Update library/core/src/slice/mod.rs
44de88ef1b5 Update library/core/src/slice/mod.rs
baec7cbb213 Update library/core/src/slice/mod.rs
3cf8967abc5 Update library/core/src/slice/mod.rs
d63afbbadb2 Update library/core/src/slice/mod.rs
18b80248051 Update library/core/src/slice/mod.rs
ab43bf71397 Update library/core/src/slice/mod.rs
db5a4e83ae6 Update library/core/src/slice/mod.rs
d714fcb42f4 Update library/core/src/slice/mod.rs
5d51a1c1bc8 Update library/core/src/slice/mod.rs
953b13a9edc cargo update
a0babe16715 Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
f02ac3b184b `then be` -> `be` based on feedback from @ibraheemdev
76a0bc6c4c9 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
852288aff02 re-export `core::iter::FromCoroutine`
2209a2962d4 Rollup merge of #135661 - tgross35:stabilize-float_next_up_down, r=scottmcm
c4b0bc2837e Rollup merge of #135583 - NobodyXu:move-pipe-to-io, r=joshtriplett
5cd9dd86a00 Add references to the IEEE functions for `float_next_up_down`
e5fcc9c0b76 Stabilize `float_next_up_down`
1284521932c Fix import of pipe in kernel_copy.rs
5e4fcffc97d doc: Point to methods on `Command` as alternatives to `set/remove_var`
805c2dccd44 Rollup merge of #135556 - AeonSolstice:patch-1, r=tgross35
5b7ffd59c43 Rollup merge of #134496 - DiuDiu777:fix-doc, r=ibraheemdev
cbe64a01fc5 Rollup merge of #133720 - c410-f3r:cfg-match-foo-bar-baz, r=joshtriplett
ef9aea47059 Move `std::pipe::*` into `std::io`
4f467b42ba7 fix typo in library/alloc/src/sync.rs
da96665eefc Less unsafe in `dangling`/`without_provenance`
d3abf38600a uefi: Implement path
65a01a5f4b1 Auto merge of #135555 - matthiaskrgr:rollup-jnqdbuu, r=matthiaskrgr
d9505c70d6c Clarify note in `std::sync::LazyLock` example
21e4a2d669d Rollup merge of #135497 - DJMrTV:master, r=jhpratt
83ed08293cb Export likely(), unlikely() and cold_path() in std::hint
fe946414929 fix typo in typenames of pin documentation
bb9ef57a909 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
6e419fe7a8c Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton
e3e8b608446 Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt
877f6cf897c Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35
c6b3ac166a6 Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyo
849de68f9db Rollup merge of #134143 - nyurik:err-nul, r=dtolnay
cba1b03c4c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
2a3b9f9605d Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
9415759b85a Update compiler-builtins to 0.1.143
9e11ae06d7e Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJung
f29524bd8d6 Enforce syntactical stability of const traits in HIR
4bfbfccb5fb Update compiler-builtins to 0.1.141
b18eda95208 wasi/io: remove dead files
bdb206ed163 remove unnecessary rustc_allowed_through_unstable_modules
46700095e23 remove pointless allowed_through_unstable_modules on TryFromSliceError
1089a250343 remove Rustc{En,De}codable from library and compiler
a40af1146a7 make rustc_encodable_decodable feature properly unstable
9207ccdd921 add comments explaining main thread identification
bb7893c2eb6 std: lazily allocate the main thread handle
7ad0ee7d8f9 Revert "Remove the Arc rt::init allocation for thread info"
da43f89db02 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgr
5647815cb1d Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross35
a6fe12e559e Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
919b916b23e Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhpratt
5146a4581f5 Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc
33d0c87f82c Add another `Vec::splice` example
0c666f9d720 uefi: helpers: Introduce OwnedDevicePath
0537880dc4e further improve panic_immediate_abort by removing rtprintpanic messages
3c898262b72 Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross35
6bf6a713d82 path: Move is_absolute check to sys::path
535c131a2c3 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
185ce5d37ad Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboet
1aa84ce9770 Update the explanation for why we use box_new in vec!
a73d8c4b667 Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
1dc48ed3e0d Omit some more `From` impls to avoid inference failures
51792a48082 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrum
f794b72956c Add inherent versions of MaybeUninit methods for slices
3a45a4eb1ed Add #[inline] to copy_from_slice
303e0607772 Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors
82a0d964348 Make UniqueRc invariant for soundness
9b1aa855cea avoid nesting the user-defined main so deeply on the stack
a2eb38a8ae0 use a single large catch_unwind in lang_start
cd296bda550 update and clarify StructuralPartialEq docs
b90f4f50a8b Rename `pos` to `position`
79d1b07ab32 Convert `struct FromBytesWithNulError` into enum
abfb421b3b4 Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhpratt
8a581ca8709 Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet
26b3e33a49d Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton
626b75c9284 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
e178b996c13 Add `#[cfg(not(test))]` to some impls to work around https://github.com/rust-lang/rust/issues/135100
3b795a30635 Implement `ByteStr` and `ByteString` types
d2a7e08319c Improve the safety documentation on new_unchecked
5562e3eda39 Use `NonNull::without_provenance` within the standard library
1c5b11eb90e alloc: remove unsound `IsZero` for raw pointers
c0a400e1845 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross35
65debb141be Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
113f9a457d7 Update a bunch of library types for MCP807
024e87c1e02 Initial fs module for uefi
e339830a52e Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev
23cbdb5d6c4 Rollup merge of #134619 - hkBst:patch-7, r=jhpratt
fbd1013a4e7 Fix `proc_macro::quote!` for raw ident
c91f89602fb Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
88431131a2c Used pthread name functions returning result for FreeBSD and DragonFly
9b9b82a1935 Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
0cae6ffb6fd Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors
91009c36e85 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratt
c4bd937e407 Remove some unnecessary `.into()` calls
f63527614d9 fmt
5662ec1f8fa update cfg(bootstrap)
f2aeadc0772 update version placeholders
845e44902d3 add missing provenance APIs on NonNull
e4396934376 Rollup merge of #135176 - kornelski:env-example, r=cuviper
9f93eda235b Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-se
743b57e0c3f Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu
c3e22fe7795 Outline panicking code for `LocalKey::with`
8628897d12a Avoid naming variables `str`
339a2dc76ff Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt
7cf409a5b7d Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee
3b5d689fec8 More compelling env_clear() examples
484095e7fa3 Rollup merge of #135153 - crystalstall:master, r=workingjubilee
76b384d41d7 Add support for wasm exception handling to Emscripten target
0c09a242f2f chore: remove redundant words in comment
2d2189b7506 Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb
d91ef098887 [generic_assert] Constify methods used by the formatting system
669fed8acb3 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratt
4ada746967e Mark `slice::reverse` unstably const
24ca61e77ac Clarified the documentation on core::iter::from_fn and core::iter::successors
65d0dcd8df1 Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubilee
747526fc059 Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum
55c357e2dd1 Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
5ffa79c0ac0 Add doc aliases for `libm` and IEEE names
594064c0242 library: fix adler{-> 2}.debug
5e20cf6fbae add regression test for unsound Flatten/FlatMap specialization
acbb92c21b0 do not in-place-iterate over flatmap/flatten
81e046bad74 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee
22e773a058e Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee
d59d6ccf103 Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors
010824d0035 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross35
13f8d6dbc50 Bump backtrace to 0.3.75
e6ba295a9bc Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee
2f9707577b5 sync to actual dep verions of backtrace
735f9e90dec turn rustc_box into an intrinsic
9a23ebf3f4c Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgr
4a71d50df08 Rollup merge of #134241 - liigo:patch-16, r=dtolnay
174456429ba Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35
ee339481ec7 Fix UWP build
953aceec482 Bump backtrace to rust-lang/backtrace-rs@4d7906b
7219780eba4 Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472
0ab3dac3cff path in detail
a22793a0737 Move some things to `std::sync::poison` and reexport them in `std::sync`
27c2ef23a25 fix doc for missing Box allocator consistency
c580f13d89b Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr
473e405d358 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
44eecab953b Rename the internal simpler `quote` macro to `minimal_quote`
92a0f5b9ce0 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb
f1922549d00 Try to write the panic message with a single `write_all` call
ff578a7444e Stabilize const_slice_flatten
0e32305c45a std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
e21d7001f85 Avoid use of LFS64 symbols on Emscripten
1d06d767d86 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
8d8d1ab5e75 Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank
9c387e43f6e Improve `select_nth_unstable` documentation clarity
2f4c9479f60 Remove qualification of `std::cmp::Ordering` in `Ord` doc
44ca9a9da1b Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm
663fff5f91b Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgr
6e286412535 char to_digit: avoid unnecessary casts to u64
ebe0a39f970 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJung
05d409aecb0 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross35
fe9fa091c0d Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhpratt
b590818e284 Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcm
cd7dd952e65 fix doc for read write unaligned in zst operation
e6cbb9884c5 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
f3b61eb75cb ptr docs: make it clear that we are talking only about memory accesses
c2180531193 Make slice::as_flattened_mut unstably const
e4bf0b2c8d7 Fix ptr::from_ref documentation example comment
24280da0df3 Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
d22d9cd4b0e Rollup merge of #134870 - geofft:patch-1, r=jhpratt
211f0aac301 fix: typos
93da50afe8e Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35
985891839da Fix sentence fragment in `pin` module docs
cf7b103c90c docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
a552fd31531 Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc
5eacc1ec770 Rollup merge of #134832 - tgross35:update-builtins, r=tgross35
b7c05b6b0b9 Tidy up bigint mul methods
61896c646bd Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay
3cb6477c99d Update library/alloc/tests/sort/tests.rs
3fa0bd334f0 Update `compiler-builtins` to 0.1.140
24cacb9c2a9 Implement `int_from_ascii` (#134821)
f2b0874f58c Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
809cfe5ccfd Override `carrying_mul_add` in cg_llvm
944a0d085b0 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
ff7dd3274c3 Fix typos
8b4329f0c13 Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu
e21e9758e22 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum
17924ab0222 Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum
1e681e05edf Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrum
0f9f222a983 Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross35
3b7acb6b147 Fix renaming symlinks on Windows
050be5afa1d Fix mistake in windows file open
dcf8d223e6d Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross35
210d040c235 Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum
6a86ed7c6cc Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
075f6056ac0 Rollup merge of #134728 - deltragon:barrier-doc, r=tgross35
5f603319705 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcc
bcdde83c731 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
5651a28e1c2 Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
7a16d998228 docs: inline `core::ffi::c_str` types to `core::ffi`
80a24fdefb6 docs: inline `std::ffi::c_str` types to `std::ffi`
e6d43362543 unwinding: bump version to fix asm
9ea8b0f732e Impl FromIterator for tuples with arity 1-12
3fca93e4a73 Fix formatting
a2ae1c6c047 docs: update code example for Iterator#rposition
8b49125d7f7 stabilize const_alloc_layout
e02160c4a25 rename typed_swap → typed_swap_nonoverlapping
5b283da67c3 stabilize const_swap
47f50bb1091 Auto merge of #134729 - oliveredget:typo, r=jieyouxu
e984c76c349 Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu
774f8087433 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda
3e858a9d32a Fix compilation issues on other unixes
cb1b72d99e6 Bump `stdarch`
035687a75ad chore: fix typos
5d20e21efb9 Use scoped threads in `std::sync::Barrier` examples
e80cf22041e Windows: Use FILE_ALLOCATION_INFO for truncation
ebfa0c1084f Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
5988ca95f08 Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu
6bfbfb067d6 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
1421c8733b7 Rollup merge of #134363 - estebank:derive-default, r=SparrowLii
9e289dbd5ea Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser
c3988d4fe03 Use `#[derive(Default)]` instead of manually implementing it
c5476870276 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
eb56651bbde Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr
7f59b6e8703 Auto merge of #131311 - rust-lang:cargo_update, r=clubby789
675a0dc735c Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors
178224c20f4 Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubilee
e2723bd9475 Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton
1acf2df67ea Adjust syntax
4bf1dc61521 Fixes safety docs for `dyn Any + Send {+ Sync}`
35382bc9501 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
4a1f6d7109e Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper
177a2ab4756 docs: Permissions.readonly() also ignores root user special permissions
8198b118e81 Improve prose around `as_slice` example of IterMut
a3a6b99125c Specify only that duplicates are discarded, not the order.
ac12bfb386b Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472
b1151c66fa3 Delete `Rvalue::Len`
c5f6d826cd3 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
d22659c0e48 Impl String::into_chars
ad3549bd588 Stabilize `hash_extract_if`
45467334d33 Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross35
c7e8fb44cdf Fix forgetting to save statx availability on success
07172200a6c Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr
28c860b4c8c Document collection `From` and `FromIterator` impls that drop duplicate keys.
aed9dc03570 Rollup merge of #134630 - fifty-six:master, r=workingjubilee
5e7cf4f81e0 Auto merge of #130733 - okaneco:is_ascii, r=scottmcm
2c57eaf3e7d cargo update
f5201b89fc9 Eliminate redundant statx syscalls
3a79bbe6b81 Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung
feddec9b49f Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton
28ac7bfba97 Use `&raw` for `ptr` primitive docs
e63eeba1b98 Unify fs::copy and io::copy
7b6a9ccc464 Windows: Use WriteFile to write to a UTF-8 console
2b4c33516bd Avoid short writes in LineWriter
2f63fd886e5 Document CTFE behavior of methods that call is_null
0c3132fcb3c Correctly document is_null CTFE behavior.
f719b4e3226 ptr::copy: fix docs for the overlapping case
b176a9910ca Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
d4885751137 Rollup merge of #134579 - hkBst:patch-6, r=jhpratt
9420b21b202 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt
b1507559aa1 Rollup merge of #134576 - hkBst:patch-4, r=jhpratt
99b8c86155a Document `PointerLike` implementation restrictions.
e0c9b99a164 Less unwrap() in documentation
3392d71fb7b Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton
8fdd27af678 Rollup merge of #134573 - lukas-code:unimpl-dyn-pointerlike, r=compiler-errors
7d1b26a50fd Rollup merge of #134570 - hkBst:patch-3, r=joboet
8476fd227b2 Rollup merge of #134560 - RalfJung:miri-thread-spawn, r=jhpratt
dda9903d80a Improve prose around into_slice example of IterMut
a32744fcf9f Improve prose around `as_slice` example of Iter
bab182f9f90 Improve prose around basic examples of Iter and IterMut
19920a98dac remove reference to dangling from slice::Iter
cdbb56c972e fix `PointerLike` docs
6be16279395 unimplement `PointerLike` for trait objects
69e3125711c split up `#[rustc_deny_explicit_impl]` attribute
1f9e0af2898 mri: add track_caller to thread spawning methods for better backtraces
0c5380c426c Rollup merge of #134518 - hltj:typo-fix, r=tgross35
02266003fdf Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35
7060dcee63c Rollup merge of #126118 - jan-ferdinand:docs_for_vec_set_len, r=the8472
780625e0931 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
798943c031f Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
d764565c27b build: Update libc version
84dffc2070b Rollup merge of #134490 - hong9lol:typo, r=jhpratt
e06b3100397 Rollup merge of #132056 - weiznich:diagnostic_do_not_recommend_final_tests, r=compiler-errors
e293151a2bf fix typo in ptr/mod.rs
ce47855f6f4 Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
d8624465122 Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35
ed1ae716633 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
66f83500c2e Implement Condvar::wait_timeout for targets without threads
721226f31dd Auto merge of #134425 - clubby789:cargo-update, r=jieyouxu
1a49e2a2864 fix(LazyCell): documentation of get[_mut] was wrong
cc5a5966ba3 Stabilize `#[diagnostic::do_not_recommend]`
c08be9b4a8f Use field init shorthand where possible
c3f255c1758 Rollup merge of #134426 - hkBst:patch-3, r=lqd
0452ec570a4 Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
3dd9c4fc9df 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
d73b1b021da Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser
b9e462a1953 Fix typo in uint_macros.rs
736211c3da8 Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez
7efcdd17843 Remove `rustc::existing_doc_keyword` lint.
656071aab38 Move `doc(keyword = "while")`.
90348fcf577 Stabilize #[coverage] attribute
ec0e91b8979 remove obsolete comment and pub(super) visibility
5968f77838d remove bounds from vec and linkedlist ExtractIf
29d14e102fc Add a range argument to vec.extract_if
6cbb970e579 Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez
d662587509d Auto merge of #134332 - Zalathar:rollup-oe23hkw, r=Zalathar
4a5a0d689a1 Rollup merge of #134310 - tkr-sh:master, r=Noratrieb
92855d42ff4 Rollup merge of #133406 - EFanZh:lock-value-accessors, r=Noratrieb
0b9d747141d Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper
6e144b21413 Auto merge of #133223 - zachs18:uniquerc-impls, r=Noratrieb
79c9aee97ec Asserts the maximum value that can be returned from `Vec::len`
c9ef1c2bc5b Auto merge of #134258 - bjorn3:no_public_specialization, r=petrochenkov
e87c314124d Rollup merge of #134022 - shahn:doc_clarify_extend_for_tuple_version, r=tgross35
407baa130fd Rollup merge of #133986 - olishmollie:tracking-issue-127154-documentation, r=tgross35
a15b8510505 Correct spelling of CURRENT_RUSTC_VERSION
830c41a3b9a Replace i32 by char in `split_at` & `_unchecked`
b0ce62f98d5 Add clarity to the "greater" of `VecDeque::insert`
7e9303973a0 Replace i32 by char to add clarity
d2447f75ebe Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr
69d3f60506c Add documentation for anonymous pipe module
eef21b1d77b Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
50c69ad6111 Rollup merge of #134255 - bjoernager:master, r=Noratrieb
90f93527afa Rollup merge of #134254 - hermit-os:hermit-c_char, r=workingjubilee
77308c25af0 Rollup merge of #134252 - hermit-os:hermit-is_absolute, r=tgross35
5bb7b3b777d rustdoc-search: let From and Into be unboxed
fc277ec239c Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlin
8f229d1c45e Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obk
27f37568893 Remove support for specializing ToString outside the standard library
06ffb2a5c21 Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se
03089923ff1 Update includes in '/library/core/src/error.rs';
7b382d49db0 Fix building `std` for Hermit after `c_char` change
17aedf195cb Fix `Path::is_absolute` on Hermit
78a0ffe0586 Reword prelude for AsyncFn stabilization
fa1bb78c513 Stabilize async closures
c55d1790360 Fix typos in docs on provenance
0a51c5c2509 feat: clarify how to use `black_box()`
5c06504bad2 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
04d4cba289b Rollup merge of #134179 - zachs18:align_offset_mut_ptr_doc, r=workingjubilee
9f9501649f6 Rollup merge of #134178 - ehuss:stabilize-2024-prelude, r=amanieu,traviscross,tgross35
80e8c7d9d4f Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross35
5233a52ed46 Rollup merge of #133859 - bjorn3:move_tests_to_alloctests, r=tgross35
d6354150519 Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov
6e362c34dcb Stabilize the Rust 2024 prelude
da008bb9f17 Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr
dc27b6e6675 Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcm
6f047747190 Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35
4ab0e8ed9b5 Remove consteval note from <*mut T>::align_offset docs.
c58f76c5e3d Rollup merge of #134079 - tbu-:pr_doc_x8_to_from_xe_bytes, r=jhpratt
11af9c6b919 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
d724d6560bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
08a3185c22b Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhpratt
ac7aa894b2c Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnay
97ff918e4ef Add references to the specific ABI documents
c08f8717bfc Remove l4re from the unsigned char operating system list
cfdb7c248bd De-duplicate and improve definition of core::ffi::c_char
cae4102a69e stabilize const_nonnull_new
dd8b372aab3 Rollup merge of #133472 - rust-wasi-web:master, r=joboet
f21eb1bbf20 Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton
c403963c8dc Rollup merge of #133184 - osiewicz:wasm-fix-infinite-loop-in-remove-dir-all, r=Noratrieb
d347b65f7bc Remove rustc_const_stable attribute on const NOOP
1f8d8e2ac53 Rollup merge of #134032 - snprajwal:fix-docs, r=joboet
66f11d51ecc core: use public method instead of instrinsic
596fd3559d3 core: improve comments
b591b9bb582 Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr
948eb05f3d6 Rollup merge of #134050 - RalfJung:miri-sync, r=RalfJung
b343c5154f8 Rollup merge of #133880 - ChrisDenton:homedir, r=Mark-Simulacrum
eba56285c42 Rollup merge of #133789 - rossmacarthur:then-with-doc-alias, r=Mark-Simulacrum
f2f918448ae Switch inline(always) in core/src/fmt/rt.rs to plain inline
c95571c6f3e Downgrade cc
7732aee412f Rollup merge of #134013 - BLANKatGITHUB:intrinsic, r=saethlin
37e3ad70e3a Adds new intrinsic declaration
321e15467b6 Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
fa629100eb6 docs: better examples for `std::ops::ControlFlow`
9351abd146c Merge from rustc
227cb73136a Const-stabilize `str::is_char_boundary` and `str::split_at(_mut)(_checked)`.
5e9d429daf8 Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho,…
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Mar 14, 2025
8d0206bb68c Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum
372b6212e4a Auto merge of #136754 - Urgau:rollup-qlkhjqr, r=Urgau
594556dd299 Rollup merge of #136724 - steffahn:asyncfn-non-fundamental, r=compiler-errors
69d386ec244 Rollup merge of #136710 - JakenHerman:jaken/iterator-docs, r=workingjubilee
3d64f4c1ba6 Rollup merge of #136686 - bjoernager:master, r=jhpratt
9e2eb8d4b91 Rollup merge of #136601 - compiler-errors:borrow-null-zst, r=saethlin
de555d8a276 Rollup merge of #136213 - erickt:fs, r=Mark-Simulacrum
3bc72bb59f9 Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-Simulacrum
275be806bf5 occured -> occurred
c74f8b5fc1f Rustfmt
88ee8a04b47 Document `Sum::sum` returns additive identities for `[]`
1d535de7364 Rollup merge of #136099 - Kijewski:pr-rc-str-default, r=ibraheemdev
c6124b4c448 Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb
2b41365cfca Auto merge of #136713 - matthiaskrgr:rollup-sy6py39, r=matthiaskrgr
95ea59d5173 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
82e98ea854e Rollup merge of #136682 - ChrisDenton:move-win-proc-tests, r=joboet
20e702ffb2e Rollup merge of #136635 - jieyouxu:base_port, r=joboet
f673e1606ed Rollup merge of #136615 - Ayush1325:uefi-net-unsupported, r=joboet
4b3e632673b Rollup merge of #135945 - estebank:useless-parens, r=compiler-errors
0d0527e1702 Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, r=compiler-errors
7dd6829164d std: get rid of `sys_common::io`
9b7104dbe47 std: move `io` module out of `pal`
e8e96403b8a Clean up 'HashMap' and 'HashSet' docs;
8f754628013 Rollup merge of #136634 - bjoernager:const-mut-cursor, r=m-ou-se
1ff33ee233d Move two windows process tests to tests/ui
fe1439a94eb remove use of `feature(trait_upcasting)` from core tests
4c33132baee Remove some unnecessary parens in `assert!` conditions
10c27803bc3 Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett
f973a52645b Rollup merge of #136630 - jieyouxu:render_tests, r=ChrisDenton
bf2eee8a588 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
c055c57b6f9 tests(std/net): remove outdated `base_port` calculation
0a62a04415e tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
26037053b33 Auto merge of #136613 - workingjubilee:rollup-ry6rw0m, r=workingjubilee
94b8c8abce3 sys: net: Add UEFI stubs
0e43e9c22ce Rollup merge of #136595 - thaliaarchi:hermit-unreachable-pub, r=Noratrieb
ef106388320 Rollup merge of #136566 - hkBst:patch-1, r=scottmcm
ccd78f8a0e2 Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrum
ae8a4a9d009 Rollup merge of #136555 - cramertj:split_off, r=dtolnay
5792f5cd50b Rollup merge of #136537 - tgross35:update-builtins, r=tgross35
29d0feddcab Rollup merge of #136517 - m4rch3n1ng:inherent-str-constructors, r=jhpratt
48b038cf2af Rollup merge of #136449 - joboet:move_pal_net, r=ChrisDenton
a20c46c0a18 Rollup merge of #136418 - Ayush1325:command-env, r=jhpratt
b0449f2f6e1 Fix link in from_fn.rs
3dd32ae84d9 Fix unreachable_pub lint for hermit target
08a556e6906 Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnay
1420e0334e9 Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obk
b5db0562096 Add OneSidedRangeBound to eliminate panic in `split_point_of`
3daa09ada6e Rename slice::take methods to split_off
d9ad3d612d2 Auto merge of #135760 - scottmcm:disjoint-bitor, r=WaffleLapkin
3e9dee72261 Auto merge of #136534 - jhpratt:rollup-dnz57dq, r=jhpratt
f3cc8954938 Auto merge of #136533 - jhpratt:rollup-s0ign8n, r=jhpratt
5880f67026b Update `compiler-builtins` to 0.1.145
c78c36fa474 Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb
40c37fc3799 Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
4a1eec8014f Rollup merge of #136479 - RalfJung:dirent64, r=tgross35
0bb9ad7ace0 Rollup merge of #136398 - pitaj:unsafecell_access, r=dtolnay
29498e70b30 Rollup merge of #136334 - ricci009:primitivers, r=tgross35
6e1295bc8c9 Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
dbe125183da Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=Noratrieb
ecfdcb94bc0 Auto merge of #135265 - pascaldekloe:fmt-int-speed, r=tgross35,ChrisDenton
ee3eff0675a specify a prim@slice in docs
43ef876e485 implement inherent str constructors
c1c78464cdb Add note about `FnPtr` being exposed as public bound
60976d84595 primitive type migration from mod.rs to primitives.rs
8de1ae17be7 Rename rustc_contract to contract
b2f1b5b4843 Improve contracts intrisics and remove wrapper function
900d21991f3 Separate contract feature gates for the internal machinery
3c987305a09 Desugars contract into the internal AST extensions
0cd98e7eeb8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
b861e819bfe Express contracts as part of function header and lower it to the contract lang items
4b5a5aa6989 contracts: added lang items that act as hooks for rustc-injected code to invoke.
9130a03fa38 Contracts core intrinsics.
32a2eb06555 Mark `std::fmt::from_fn` as `#[must_use]`
76c4a227353 Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35
19154314fd1 no unsafe pointer and no overflowing_literals in fmt::Display of integers
ea88c5f84a4 For NonZero impl macros, give unsigned impls access to the corresponding signed type
3b1968368f2 OnceCell & OnceLock docs: Using (un)initialized consistently
a6874f4ca1e std::fs: further simplify dirent64 handling
4a49a0c399e Docs for f16 and f128: correct a typo and add details
d3a623284ec Rollup merge of #136452 - RalfJung:miri-sync, r=RalfJung
9c480135f36 Remove stabilized feature gate
b6239637fc3 std: move network code into `sys`
703cbc1fec9 Rollup merge of #136434 - RalfJung:rustc_allowed_through_unstable_modules-deprecation-required, r=compiler-errors
7af9dd25aff Rollup merge of #136283 - hkBst:patch-31, r=workingjubilee
74f272849c8 Rollup merge of #134272 - RalfJung:destabilize-rustc_encodable_decodable, r=oli-obk
a58c0451843 Merge from rustc
54a0b27009a rustc_allowed_through_unstable_modules: require deprecation message
a120861e34b Rollup merge of #136133 - hkBst:patch-23, r=ibraheemdev
4ad629e9758 uefi: process: Add support for command environment variables
046ce6a1061 Use `widening_mul`
1c4078f12c8 add UnsafeCell direct access APIs
c74858a43f2 Rollup merge of #136364 - hkBst:ptr_cmp_docs, r=tgross35
b55be6bc42d Rollup merge of #136360 - slanterns:once_wait, r=tgross35
b2c29a5d3ce Rollup merge of #136307 - WaffleLapkin:minminmin, r=scottmcm
bd111f66c41 Rollup merge of #135684 - ranger-ross:mutex-docs, r=joboet
4d54555054f document ptr comparison being by address
322f4ff60ea Fix sentence in process::abort
86eb99c849a More PR feedback
1ad1e30da56 PR feedback
21ff5a9f1e2 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
7c35620e431 docs: Documented Send and Sync requirements for Mutex + MutexGuard
bd42cf90f26 Merge from rustc
fdf76cc8147 Rollup merge of #136351 - Darksonn:coerce-pointee-docs, r=compiler-errors
c019c23231f Rollup merge of #136163 - uellenberg:driftsort-off-by-one, r=Mark-Simulacrum
fed18ca6d6c stabilize `once_wait`
f29597fd21e Auto merge of #134424 - 1c3t3a:null-checks, r=saethlin
2db2320e5b6 Add documentation for derive(CoercePointee)
d3b13153b26 Insert null checks for pointer dereferences when debug assertions are enabled
aa603ac5d92 Update encode_utf16 to mention it is native endian
16badee296b Auto merge of #136332 - jhpratt:rollup-aa69d0e, r=jhpratt
28c497cc543 Rollup merge of #136300 - RalfJung:compare-and-swap, r=joboet
a5de5134ed8 Rollup merge of #136296 - RalfJung:float-min-max, r=tgross35
ca9639dab13 Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay
370a1cdeea7 Merge from rustc
b88edf4ecc1 implement all min/max fns in terms of `<`/`is_lt`
fcb2bc3cc94 implement unstable `new_range` feature
24bdb9aa495 improve doc tests for (min/max/minmax).* functions
f7de368b9dd std::range
137c2bb32b5 Rollup merge of #136288 - joshtriplett:would-you-could-you-with-some-locks--would-you-could-you-in-some-docs, r=m-ou-se
796e5e780fd Rollup merge of #136271 - Sky9x:debug-maybeuninit-footgun, r=tgross35
163f5dd0a3f Rollup merge of #135852 - lukas-code:asyncfn-prelude-core, r=compiler-errors
edde199a2aa Rollup merge of #135475 - Ayush1325:uefi-absolute-path, r=jhpratt
c31ed471b03 black_box integer-input on fmt benches
10a7afcda8c Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdev
26491184e2e atomic: extend compare_and_swap migration docs
0c79ce207e1 float::min/max: mention the non-determinism around signed 0
b4e2280fef5 Improve documentation for file locking
21622375a4e Merge from rustc
24ff8ae468a Rollup merge of #136259 - hkBst:patch-30, r=thomcc
83aa5c1315a Rollup merge of #136215 - btj:patch-1, r=cuviper
6d7c45f8fd6 Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcm
819ca901db1 Remove minor future footgun in `impl Debug for MaybeUninit`
3830bbed32e Cleanup docs for Allocator
e4ae302d24f add inline attribute and codegen test
b4f1712972e split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
963194bd855 Auto merge of #136248 - matthiaskrgr:rollup-leaxgfd, r=matthiaskrgr
506db6f503d Rollup merge of #136092 - tbu-:pr_io_pipe_test, r=joboet
665fab7c016 Auto merge of #136227 - fmease:rollup-ewpvznh, r=fmease
10598dc2e3b Fix off-by-one error causing driftsort to crash
f23398091be btree/node.rs: pop_internal_level: does not invalidate other handles
579d90bd9ff Merge from rustc
44051b31651 Rollup merge of #136186 - Ayush1325:uefi-process-args-fix, r=nicholasbishop,Noratrieb
c8953bcdc54 Rollup merge of #135625 - c410-f3r:cfg-match-foo-bar-baz, r=tgross35,jhpratt
7276d04619b Allow Rust to use a number of libc filesystem calls
dcd657596b0 btree/node.rs: remove incorrect comment from pop_internal_level docs
e6a7f5d73d6 Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgr
7205f0af655 Rollup merge of #136173 - taiki-e:c-char, r=tgross35
0ae2a30dfce Rollup merge of #136071 - wowinter13:clippy-add-diagnostic-items, r=flip1995
e449a6c2eba Rollup merge of #135869 - hkBst:patch-12, r=Noratrieb
344f948cf64 uefi: process: Fix args
496fe7162ba Rollup merge of #136012 - hkBst:patch-22, r=workingjubilee,tgross35
7a3a419ca8a Rollup merge of #135886 - hkBst:patch-14, r=workingjubilee
d53c0000980 Rollup merge of #135805 - DiuDiu777:master, r=Noratrieb
d37ac725dd2 Rollup merge of #135367 - Urgau:unreach_pub-std-3, r=Noratrieb
403b0b39947 Rollup merge of #133829 - GrigorenkoPV:fetch_update_infallible, r=Noratrieb
061edde269f Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
527882bf14d Document powf and powi calls that always return 1.0
c4cd0b7c050 Update comments and sort target_arch in c_char_definition
1056a819cfd Auto merge of #136110 - RalfJung:miri-sync, r=RalfJung
f9be93972e7 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
32749149926 Rollup merge of #135876 - usamoi:mpmc-doc, r=tgross35
f64b962fba0 Rollup merge of #135807 - jhpratt:phantom-variance, r=Amanieu
a50e3d7f54a Rollup merge of #135773 - hkBst:patch-10, r=tgross35
63483318baa Clarify WindowsMut (Lending)Iterator
6837e59fd85 Stabilize `const_black_box`
fb9d3ac464c Auto merge of #136116 - fmease:rollup-c8pk3mj, r=fmease
67ec627b006 Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35
5b36cacd712 fix doc for std::sync::mpmc
1f97890ce49 Rollup merge of #136079 - RalfJung:compiler-fence-example, r=jhpratt
87604101dfd Rollup merge of #135635 - tbu-:pr_io_pipe, r=joboet
84e37e67d7a compiler_fence: fix example
bcb90340247 Optimize `Rc::<str>::default()` implementation
89d7937a36b Document purpose of closure in from_fn.rs more clearly
68f6b01c245 Auto merge of #136087 - jhpratt:rollup-tam1mzn, r=jhpratt
d98d447d2b7 Test pipes also when not running on Windows and Linux simultaneously
d1fa0a4fbd4 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
7ce37737631 Move `std::io::pipe` code into its own file
21785685d34 Actually run the bstr test
8033d307f45 Move env modifying tests to a separate integration test
fcaf2f1c5f0 Fix for SGX
a3e6b238bf3 Fix benchmarking of libstd
2e6b5b9050d Move std::sync unit tests to integration tests
d2711596742 Move std::thread_local unit tests to integration tests
7e7ca2b9660 Move std::time unit tests to integration tests
316f77df27a Move std::path unit tests to integration tests
8c02a576d13 Move std::panic unit tests to integration tests
74893de3fef Move std::num unit tests to integration tests
a32e504c488 Move std float unit tests to integration tests
bac6108c031 Move std::error unit tests to integration tests
f7bc549cb3f Move std::env unit tests to integration tests
555025b0c6f Update comment
06ee7516ffb Put all coretests in a separate crate
7aec69acb8a Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-Simulacrum
567ad8ea64d Rollup merge of #133631 - flba-eb:add_nto_qnx71_iosock_support, r=workingjubilee
cd30b1eb972 Windows: Test that deleting a running binary fails
063f8c2636a Update platform information for remove_file
c3df8206e50 Windows: remove readonly files
ddd1a4cecea Merge from rustc
5fe03baa519 Implement phantom variance markers
c0037d7ad4d Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum
ca5e77e0499 Rollup merge of #134283 - epage:logfile, r=Amanieu
9d4544cc8ca [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
90506de9204 Rollup merge of #136039 - nvanbenschoten:pin-typo, r=Amanieu
af1ba12a51d Rollup merge of #136005 - BLANKatGITHUB:library, r=RalfJung
f1213b300c6 Improve and expand documentation of pipes
0285d898938 Rollup merge of #135991 - no1wudi:master, r=thomcc
bb0afaa57fe Rollup merge of #135977 - nyurik:fix-fmt-options, r=joboet
ff9e88a2097 docs: fix typo in std::pin overview
37370b0c584 Merge from rustc
8ecd2bcf0a9 Rollup merge of #135938 - carlsverre:master, r=joboet
cdb3e29386a Rollup merge of #135728 - hkBst:patch-8, r=joboet
773b5d508cb Rollup merge of #135415 - Harshit933:hard-link-error, r=ChrisDenton
03ab09910c1 fix(libtest): Deprecate '--logfile'
74e2341dc38 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
eb6fbc8096a Update library/core/src/num/nonzero.rs
92835a3f194 Add `File already exists` error doc to `hard_link` function
f0f1a87d800 ports last few library files to new intrinsic style
cf546c814bb Rollup merge of #135983 - hkBst:patch-13, r=jhpratt
7edb3047441 Rollup merge of #135956 - GrigorenkoPV:vec_pop_off, r=dtolnay
ee9cefa410f Fix set_name in thread mod for NuttX
3620eec3493 add nto80 x86-64 and aarch64 target
9bb1668f214 Add support for QNX 7.1 with io-sock on x64
d6342fa9aba Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
035c12ec8bf Doc difference between extend and extend_from_slice
a274dc05834 Update a bunch of comments from before wasi support was added
558f11a550d Remove a bunch of emscripten test ignores
2b9f32ec29a Fix testing of the standard library with Emscripten
5551cba498d Auto merge of #135978 - matthiaskrgr:rollup-ni16gqr, r=matthiaskrgr
b2c0a9ef4e7 Rollup merge of #135890 - GrigorenkoPV:deque-pop-if, r=thomcc
1acbfe7524b Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35
6544b00a8fb Fix `FormattingOptions` instantiation with `Default`
1b48955d367 Auto merge of #135959 - matthiaskrgr:rollup-0jenyfw, r=matthiaskrgr
2f8df6078a7 Rollup merge of #135366 - Urgau:unreach_pub-std-2, r=cuviper
7996d149512 Make `Vec::pop_if` a bit more presentable
a2a21f1de2f Rollup merge of #135073 - joshtriplett:bstr, r=BurntSushi
25a698d219d Add memory layout documentation to generic NonZero<T>
c5b0f81666b Rollup merge of #135883 - GrigorenkoPV:btree_set_upper_bound_mut, r=tgross35
8bd8c106e94 Implement `AtomicT::update` & `AtomicT::try_update`
85dbbfdff48 Rollup merge of #135856 - fmease:library-mv-obj-save-dyn-compat-ii, r=tgross35
12bfc4e7bf7 Rollup merge of #135837 - ChrisDenton:trunc, r=Noratrieb
23cbfa61496 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
5a5cbddddb9 Implement `CloneToUninit` for `ByteStr`
7f701724cf5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
70c35f71879 Add doc aliases for BStr and BString
93da2972cf8 Library: Finalize dyn compatibility renaming
f1b7b24d44e Add `AsyncFn*` to core prelude
6ab5ba61e9a Rollup merge of #135821 - hkBst:patch-11, r=ibraheemdev
8ea3470dd75 Rollup merge of #135750 - scottmcm:cma-example, r=cuviper
6ea8945f347 optimize slice::ptr_rotate for compile-time-constant small rotates
84b04a92dfd [cfg_match] Document the use of expressions
c55947fa5e9 Remove test panic from File::open
cd5dca3ed5c fix OsString::from_encoded_bytes_unchecked description
a8ce127e2ee add missing allocator safety in alloc crate
9e9be1932e2 Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviper
465366c7574 Auto merge of #134286 - Urgau:unreach_pub-std, r=ibraheemdev
9e295224a6a Rollup merge of #135741 - bardiharborow:std/net/rfc9637, r=Amanieu
8f124ce2150 Rollup merge of #133695 - x17jiri:hint_likely, r=Amanieu
64f6d4d4203 alloc: add `#![warn(unreachable_pub)]`
9f1e1f2f90b test: add `#![warn(unreachable_pub)]`
a1a4f7a5752 proc_macro: add `#![warn(unreachable_pub)]`
7c020ae9a45 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
9412a163d7b core: add `#![warn(unreachable_pub)]`
e82f2a31a59 rtstartup: add `#![warn(unreachable_pub)]`
7e3f5d54b07 panic_unwind: add `#![warn(unreachable_pub)]`
9dff2820ffd 1. Removed 'rustc_nounwind' 2. Rewording of comments
b3e668cd01d Rollup merge of #135762 - TomFryersMidsummer:patch-1, r=joboet
6982b19d1e4 Rollup merge of #135626 - clubby789:env-note, r=ibraheemdev
150649f77be Correct counting to four in cell module docs
151c72de98d Rollup merge of #135491 - RalfJung:remove-dead-rustc_allowed_through_unstable_modules, r=Mark-Simulacrum
d19faac64ad Rollup merge of #135446 - klensy:panic_immediate_abort_ext, r=Mark-Simulacrum
2ab070f4daa Add an example of using `carrying_mul_add` to write wider multiplication
552e6773cb0 Recognise new IPv6 documentation range from RFC9637
0db32633608 Fix whitespace
f02e25ecde7 Auto merge of #135714 - rust-lang:cargo_update, r=clubby789
a8c73bd904b document order of items in iterator from drain
5cfbae8e8f5 Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdev
1591282e846 Auto merge of #135709 - lqd:bring-back-len, r=compiler-errors
a0600dba81c Rewrap following accepting review suggestions from @ibraheemdev
aa330bd99ef Update library/core/src/slice/mod.rs
44de88ef1b5 Update library/core/src/slice/mod.rs
baec7cbb213 Update library/core/src/slice/mod.rs
3cf8967abc5 Update library/core/src/slice/mod.rs
d63afbbadb2 Update library/core/src/slice/mod.rs
18b80248051 Update library/core/src/slice/mod.rs
ab43bf71397 Update library/core/src/slice/mod.rs
db5a4e83ae6 Update library/core/src/slice/mod.rs
d714fcb42f4 Update library/core/src/slice/mod.rs
5d51a1c1bc8 Update library/core/src/slice/mod.rs
953b13a9edc cargo update
a0babe16715 Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
f02ac3b184b `then be` -> `be` based on feedback from @ibraheemdev
2209a2962d4 Rollup merge of #135661 - tgross35:stabilize-float_next_up_down, r=scottmcm
c4b0bc2837e Rollup merge of #135583 - NobodyXu:move-pipe-to-io, r=joshtriplett
5cd9dd86a00 Add references to the IEEE functions for `float_next_up_down`
e5fcc9c0b76 Stabilize `float_next_up_down`
1284521932c Fix import of pipe in kernel_copy.rs
5e4fcffc97d doc: Point to methods on `Command` as alternatives to `set/remove_var`
805c2dccd44 Rollup merge of #135556 - AeonSolstice:patch-1, r=tgross35
5b7ffd59c43 Rollup merge of #134496 - DiuDiu777:fix-doc, r=ibraheemdev
cbe64a01fc5 Rollup merge of #133720 - c410-f3r:cfg-match-foo-bar-baz, r=joshtriplett
ef9aea47059 Move `std::pipe::*` into `std::io`
4f467b42ba7 fix typo in library/alloc/src/sync.rs
da96665eefc Less unsafe in `dangling`/`without_provenance`
d3abf38600a uefi: Implement path
65a01a5f4b1 Auto merge of #135555 - matthiaskrgr:rollup-jnqdbuu, r=matthiaskrgr
d9505c70d6c Clarify note in `std::sync::LazyLock` example
21e4a2d669d Rollup merge of #135497 - DJMrTV:master, r=jhpratt
83ed08293cb Export likely(), unlikely() and cold_path() in std::hint
fe946414929 fix typo in typenames of pin documentation
bb9ef57a909 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
6e419fe7a8c Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton
e3e8b608446 Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt
877f6cf897c Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35
c6b3ac166a6 Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyo
849de68f9db Rollup merge of #134143 - nyurik:err-nul, r=dtolnay
cba1b03c4c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
2a3b9f9605d Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
9415759b85a Update compiler-builtins to 0.1.143
9e11ae06d7e Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJung
f29524bd8d6 Enforce syntactical stability of const traits in HIR
4bfbfccb5fb Update compiler-builtins to 0.1.141
b18eda95208 wasi/io: remove dead files
bdb206ed163 remove unnecessary rustc_allowed_through_unstable_modules
46700095e23 remove pointless allowed_through_unstable_modules on TryFromSliceError
1089a250343 remove Rustc{En,De}codable from library and compiler
a40af1146a7 make rustc_encodable_decodable feature properly unstable
9207ccdd921 add comments explaining main thread identification
bb7893c2eb6 std: lazily allocate the main thread handle
7ad0ee7d8f9 Revert "Remove the Arc rt::init allocation for thread info"
da43f89db02 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgr
5647815cb1d Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross35
a6fe12e559e Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
919b916b23e Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhpratt
5146a4581f5 Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc
33d0c87f82c Add another `Vec::splice` example
0c666f9d720 uefi: helpers: Introduce OwnedDevicePath
0537880dc4e further improve panic_immediate_abort by removing rtprintpanic messages
3c898262b72 Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross35
6bf6a713d82 path: Move is_absolute check to sys::path
535c131a2c3 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
185ce5d37ad Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboet
1aa84ce9770 Update the explanation for why we use box_new in vec!
a73d8c4b667 Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
1dc48ed3e0d Omit some more `From` impls to avoid inference failures
51792a48082 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrum
f794b72956c Add inherent versions of MaybeUninit methods for slices
3a45a4eb1ed Add #[inline] to copy_from_slice
303e0607772 Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors
82a0d964348 Make UniqueRc invariant for soundness
9b1aa855cea avoid nesting the user-defined main so deeply on the stack
a2eb38a8ae0 use a single large catch_unwind in lang_start
cd296bda550 update and clarify StructuralPartialEq docs
b90f4f50a8b Rename `pos` to `position`
79d1b07ab32 Convert `struct FromBytesWithNulError` into enum
abfb421b3b4 Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhpratt
8a581ca8709 Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet
26b3e33a49d Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton
626b75c9284 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
e178b996c13 Add `#[cfg(not(test))]` to some impls to work around https://github.com/rust-lang/rust/issues/135100
3b795a30635 Implement `ByteStr` and `ByteString` types
d2a7e08319c Improve the safety documentation on new_unchecked
5562e3eda39 Use `NonNull::without_provenance` within the standard library
1c5b11eb90e alloc: remove unsound `IsZero` for raw pointers
c0a400e1845 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross35
65debb141be Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
113f9a457d7 Update a bunch of library types for MCP807
024e87c1e02 Initial fs module for uefi
e339830a52e Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev
23cbdb5d6c4 Rollup merge of #134619 - hkBst:patch-7, r=jhpratt
fbd1013a4e7 Fix `proc_macro::quote!` for raw ident
c91f89602fb Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
88431131a2c Used pthread name functions returning result for FreeBSD and DragonFly
9b9b82a1935 Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
0cae6ffb6fd Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors
91009c36e85 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratt
c4bd937e407 Remove some unnecessary `.into()` calls
f63527614d9 fmt
5662ec1f8fa update cfg(bootstrap)
f2aeadc0772 update version placeholders
845e44902d3 add missing provenance APIs on NonNull
e4396934376 Rollup merge of #135176 - kornelski:env-example, r=cuviper
9f93eda235b Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-se
743b57e0c3f Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu
c3e22fe7795 Outline panicking code for `LocalKey::with`
8628897d12a Avoid naming variables `str`
339a2dc76ff Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt
7cf409a5b7d Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee
3b5d689fec8 More compelling env_clear() examples
484095e7fa3 Rollup merge of #135153 - crystalstall:master, r=workingjubilee
76b384d41d7 Add support for wasm exception handling to Emscripten target
0c09a242f2f chore: remove redundant words in comment
2d2189b7506 Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb
d91ef098887 [generic_assert] Constify methods used by the formatting system
669fed8acb3 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratt
4ada746967e Mark `slice::reverse` unstably const
24ca61e77ac Clarified the documentation on core::iter::from_fn and core::iter::successors
65d0dcd8df1 Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubilee
747526fc059 Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum
55c357e2dd1 Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
5ffa79c0ac0 Add doc aliases for `libm` and IEEE names
594064c0242 library: fix adler{-> 2}.debug
5e20cf6fbae add regression test for unsound Flatten/FlatMap specialization
acbb92c21b0 do not in-place-iterate over flatmap/flatten
81e046bad74 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee
22e773a058e Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee
d59d6ccf103 Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors
010824d0035 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross35
13f8d6dbc50 Bump backtrace to 0.3.75
e6ba295a9bc Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee
2f9707577b5 sync to actual dep verions of backtrace
735f9e90dec turn rustc_box into an intrinsic
9a23ebf3f4c Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgr
4a71d50df08 Rollup merge of #134241 - liigo:patch-16, r=dtolnay
174456429ba Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35
ee339481ec7 Fix UWP build
953aceec482 Bump backtrace to rust-lang/backtrace-rs@4d7906b
7219780eba4 Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472
0ab3dac3cff path in detail
a22793a0737 Move some things to `std::sync::poison` and reexport them in `std::sync`
27c2ef23a25 fix doc for missing Box allocator consistency
c580f13d89b Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr
473e405d358 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
44eecab953b Rename the internal simpler `quote` macro to `minimal_quote`
92a0f5b9ce0 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb
f1922549d00 Try to write the panic message with a single `write_all` call
0e32305c45a std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
e21d7001f85 Avoid use of LFS64 symbols on Emscripten
1d06d767d86 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
8d8d1ab5e75 Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank
9c387e43f6e Improve `select_nth_unstable` documentation clarity
2f4c9479f60 Remove qualification of `std::cmp::Ordering` in `Ord` doc
44ca9a9da1b Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm
663fff5f91b Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgr
6e286412535 char to_digit: avoid unnecessary casts to u64
ebe0a39f970 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJung
05d409aecb0 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross35
fe9fa091c0d Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhpratt
b590818e284 Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcm
cd7dd952e65 fix doc for read write unaligned in zst operation
e6cbb9884c5 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
f3b61eb75cb ptr docs: make it clear that we are talking only about memory accesses
c2180531193 Make slice::as_flattened_mut unstably const
e4bf0b2c8d7 Fix ptr::from_ref documentation example comment
24280da0df3 Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
d22d9cd4b0e Rollup merge of #134870 - geofft:patch-1, r=jhpratt
211f0aac301 fix: typos
93da50afe8e Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35
985891839da Fix sentence fragment in `pin` module docs
cf7b103c90c docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
a552fd31531 Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc
5eacc1ec770 Rollup merge of #134832 - tgross35:update-builtins, r=tgross35
b7c05b6b0b9 Tidy up bigint mul methods
61896c646bd Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay
3cb6477c99d Update library/alloc/tests/sort/tests.rs
3fa0bd334f0 Update `compiler-builtins` to 0.1.140
24cacb9c2a9 Implement `int_from_ascii` (#134821)
f2b0874f58c Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
809cfe5ccfd Override `carrying_mul_add` in cg_llvm
944a0d085b0 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
ff7dd3274c3 Fix typos
8b4329f0c13 Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu
e21e9758e22 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum
17924ab0222 Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum
1e681e05edf Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrum
0f9f222a983 Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross35
3b7acb6b147 Fix renaming symlinks on Windows
050be5afa1d Fix mistake in windows file open
dcf8d223e6d Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross35
210d040c235 Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum
6a86ed7c6cc Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
075f6056ac0 Rollup merge of #134728 - deltragon:barrier-doc, r=tgross35
5f603319705 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcc
bcdde83c731 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
5651a28e1c2 Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
7a16d998228 docs: inline `core::ffi::c_str` types to `core::ffi`
80a24fdefb6 docs: inline `std::ffi::c_str` types to `std::ffi`
e6d43362543 unwinding: bump version to fix asm
9ea8b0f732e Impl FromIterator for tuples with arity 1-12
3fca93e4a73 Fix formatting
a2ae1c6c047 docs: update code example for Iterator#rposition
8b49125d7f7 stabilize const_alloc_layout
e02160c4a25 rename typed_swap → typed_swap_nonoverlapping
5b283da67c3 stabilize const_swap
47f50bb1091 Auto merge of #134729 - oliveredget:typo, r=jieyouxu
e984c76c349 Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu
774f8087433 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda
3e858a9d32a Fix compilation issues on other unixes
cb1b72d99e6 Bump `stdarch`
035687a75ad chore: fix typos
5d20e21efb9 Use scoped threads in `std::sync::Barrier` examples
e80cf22041e Windows: Use FILE_ALLOCATION_INFO for truncation
ebfa0c1084f Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
5988ca95f08 Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu
6bfbfb067d6 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
1421c8733b7 Rollup merge of #134363 - estebank:derive-default, r=SparrowLii
9e289dbd5ea Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser
c3988d4fe03 Use `#[derive(Default)]` instead of manually implementing it
c5476870276 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
eb56651bbde Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr
7f59b6e8703 Auto merge of #131311 - rust-lang:cargo_update, r=clubby789
675a0dc735c Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors
178224c20f4 Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubilee
e2723bd9475 Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton
1acf2df67ea Adjust syntax
4bf1dc61521 Fixes safety docs for `dyn Any + Send {+ Sync}`
35382bc9501 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
4a1f6d7109e Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper
177a2ab4756 docs: Permissions.readonly() also ignores root user special permissions
8198b118e81 Improve prose around `as_slice` example of IterMut
a3a6b99125c Specify only that duplicates are discarded, not the order.
ac12bfb386b Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472
b1151c66fa3 Delete `Rvalue::Len`
c5f6d826cd3 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
d22659c0e48 Impl String::into_chars
45467334d33 Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross35
c7e8fb44cdf Fix forgetting to save statx availability on success
07172200a6c Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr
28c860b4c8c Document collection `From` and `FromIterator` impls that drop duplicate keys.
aed9dc03570 Rollup merge of #134630 - fifty-six:master, r=workingjubilee
5e7cf4f81e0 Auto merge of #130733 - okaneco:is_ascii, r=scottmcm
2c57eaf3e7d cargo update
f5201b89fc9 Eliminate redundant statx syscalls
3a79bbe6b81 Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung
feddec9b49f Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton
28ac7bfba97 Use `&raw` for `ptr` primitive docs
e63eeba1b98 Unify fs::copy and io::copy
7b6a9ccc464 Windows: Use WriteFile to write to a UTF-8 console
2b4c33516bd Avoid short writes in LineWriter
2f63fd886e5 Document CTFE behavior of methods that call is_null
0c3132fcb3c Correctly document is_null CTFE behavior.
f719b4e3226 ptr::copy: fix docs for the overlapping case
b176a9910ca Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
d4885751137 Rollup merge of #134579 - hkBst:patch-6, r=jhpratt
9420b21b202 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt
b1507559aa1 Rollup merge of #134576 - hkBst:patch-4, r=jhpratt
99b8c86155a Document `PointerLike` implementation restrictions.
e0c9b99a164 Less unwrap() in documentation
3392d71fb7b Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton
8fdd27af678 Rollup merge of #134573 - lukas-code:unimpl-dyn-pointerlike, r=compiler-errors
7d1b26a50fd Rollup merge of #134570 - hkBst:patch-3, r=joboet
8476fd227b2 Rollup merge of #134560 - RalfJung:miri-thread-spawn, r=jhpratt
dda9903d80a Improve prose around into_slice example of IterMut
a32744fcf9f Improve prose around `as_slice` example of Iter
bab182f9f90 Improve prose around basic examples of Iter and IterMut
19920a98dac remove reference to dangling from slice::Iter
cdbb56c972e fix `PointerLike` docs
6be16279395 unimplement `PointerLike` for trait objects
69e3125711c split up `#[rustc_deny_explicit_impl]` attribute
1f9e0af2898 mri: add track_caller to thread spawning methods for better backtraces
0c5380c426c Rollup merge of #134518 - hltj:typo-fix, r=tgross35
02266003fdf Rollup merge of #132830 - wr7:substr_range_documentation, r=tgross35
7060dcee63c Rollup merge of #126118 - jan-ferdinand:docs_for_vec_set_len, r=the8472
780625e0931 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
798943c031f Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
d764565c27b build: Update libc version
84dffc2070b Rollup merge of #134490 - hong9lol:typo, r=jhpratt
e06b3100397 Rollup merge of #132056 - weiznich:diagnostic_do_not_recommend_final_tests, r=compiler-errors
e293151a2bf fix typo in ptr/mod.rs
ce47855f6f4 Auto merge of #134443 - joshtriplett:use-field-init-shorthand, r=lqd,tgross35,nnethercote
d8624465122 Rollup merge of #134452 - jalil-salame:fix-lazy-cell-docs, r=tgross35
ed1ae716633 Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
66f83500c2e Implement Condvar::wait_timeout for targets without threads
721226f31dd Auto merge of #134425 - clubby789:cargo-update, r=jieyouxu
1a49e2a2864 fix(LazyCell): documentation of get[_mut] was wrong
cc5a5966ba3 Stabilize `#[diagnostic::do_not_recommend]`
c08be9b4a8f Use field init shorthand where possible
c3f255c1758 Rollup merge of #134426 - hkBst:patch-3, r=lqd
0452ec570a4 Rollup merge of #133265 - the8472:extract-if-ranges, r=cuviper
3dd9c4fc9df 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
d73b1b021da Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser
b9e462a1953 Fix typo in uint_macros.rs
736211c3da8 Rollup merge of #134202 - nnethercote:rm-existing_doc_keyword, r=GuillaumeGomez
7efcdd17843 Remove `rustc::existing_doc_keyword` lint.
656071aab38 Move `doc(keyword = "while")`.
90348fcf577 Stabilize #[coverage] attribute
ec0e91b8979 remove obsolete comment and pub(super) visibility
5968f77838d remove bounds from vec and linkedlist ExtractIf
29d14e102fc Add a range argument to vec.extract_if
6cbb970e579 Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez
d662587509d Auto merge of #134332 - Zalathar:rollup-oe23hkw, r=Zalathar
4a5a0d689a1 Rollup merge of #134310 - tkr-sh:master, r=Noratrieb
92855d42ff4 Rollup merge of #133406 - EFanZh:lock-value-accessors, r=Noratrieb
0b9d747141d Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper
6e144b21413 Auto merge of #133223 - zachs18:uniquerc-impls, r=Noratrieb
79c9aee97ec Asserts the maximum value that can be returned from `Vec::len`
c9ef1c2bc5b Auto merge of #134258 - bjorn3:no_public_specialization, r=petrochenkov
e87c314124d Rollup merge of #134022 - shahn:doc_clarify_extend_for_tuple_version, r=tgross35
407baa130fd Rollup merge of #133986 - olishmollie:tracking-issue-127154-documentation, r=tgross35
a15b8510505 Correct spelling of CURRENT_RUSTC_VERSION
830c41a3b9a Replace i32 by char in `split_at` & `_unchecked`
b0ce62f98d5 Add clarity to the "greater" of `VecDeque::insert`
7e9303973a0 Replace i32 by char to add clarity
d2447f75ebe Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr
69d3f60506c Add documentation for anonymous pipe module
eef21b1d77b Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
50c69ad6111 Rollup merge of #134255 - bjoernager:master, r=Noratrieb
90f93527afa Rollup merge of #134254 - hermit-os:hermit-c_char, r=workingjubilee
77308c25af0 Rollup merge of #134252 - hermit-os:hermit-is_absolute, r=tgross35
5bb7b3b777d rustdoc-search: let From and Into be unboxed
fc277ec239c Rollup merge of #134229 - purplesyringa:provenance-docs, r=saethlin
8f229d1c45e Rollup merge of #134140 - compiler-errors:unsafe-binders-ast, r=oli-obk
27f37568893 Remove support for specializing ToString outside the standard library
06ffb2a5c21 Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se
03089923ff1 Update includes in '/library/core/src/error.rs';
7b382d49db0 Fix building `std` for Hermit after `c_char` change
17aedf195cb Fix `Path::is_absolute` on Hermit
78a0ffe0586 Reword prelude for AsyncFn stabilization
fa1bb78c513 Stabilize async closures
c55d1790360 Fix typos in docs on provenance
0a51c5c2509 feat: clarify how to use `black_box()`
5c06504bad2 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
04d4cba289b Rollup merge of #134179 - zachs18:align_offset_mut_ptr_doc, r=workingjubilee
9f9501649f6 Rollup merge of #134178 - ehuss:stabilize-2024-prelude, r=amanieu,traviscross,tgross35
80e8c7d9d4f Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross35
5233a52ed46 Rollup merge of #133859 - bjorn3:move_tests_to_alloctests, r=tgross35
d6354150519 Rollup merge of #122003 - mati865:gnullvm-build-libunwind, r=petrochenkov
6e362c34dcb Stabilize the Rust 2024 prelude
da008bb9f17 Auto merge of #134177 - matthiaskrgr:rollup-hgp8q60, r=matthiaskrgr
dc27b6e6675 Rollup merge of #133598 - ChayimFriedman2:get-many-mut-detailed-err, r=scottmcm
6f047747190 Rollup merge of #132975 - arichardson:ffi-c-char, r=tgross35
4ab0e8ed9b5 Remove consteval note from <*mut T>::align_offset docs.
c58f76c5e3d Rollup merge of #134079 - tbu-:pr_doc_x8_to_from_xe_bytes, r=jhpratt
11af9c6b919 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
d724d6560bf Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
08a3185c22b Rollup merge of #134116 - RalfJung:const_nonnull_new, r=jhpratt
ac7aa894b2c Rollup merge of #134100 - eholk:noop-rustc-const-stable, r=dtolnay
97ff918e4ef Add references to the specific ABI documents
c08f8717bfc Remove l4re from the unsigned char operating system list
cfdb7c248bd De-duplicate and improve definition of core::ffi::c_char
cae4102a69e stabilize const_nonnull_new
dd8b372aab3 Rollup merge of #133472 - rust-wasi-web:master, r=joboet
f21eb1bbf20 Rollup merge of #133456 - clubby789:cargo-update, r=ChrisDenton
c403963c8dc Rollup merge of #133184 - osiewicz:wasm-fix-infinite-loop-in-remove-dir-all, r=Noratrieb
d347b65f7bc Remove rustc_const_stable attribute on const NOOP
1f8d8e2ac53 Rollup merge of #134032 - snprajwal:fix-docs, r=joboet
66f11d51ecc core: use public method instead of instrinsic
596fd3559d3 core: improve comments
b591b9bb582 Auto merge of #134052 - matthiaskrgr:rollup-puxwqrk, r=matthiaskrgr
948eb05f3d6 Rollup merge of #134050 - RalfJung:miri-sync, r=RalfJung
b343c5154f8 Rollup merge of #133880 - ChrisDenton:homedir, r=Mark-Simulacrum
eba56285c42 Rollup merge of #133789 - rossmacarthur:then-with-doc-alias, r=Mark-Simulacrum
f2f918448ae Switch inline(always) in core/src/fmt/rt.rs to plain inline
c95571c6f3e Downgrade cc
7732aee412f Rollup merge of #134013 - BLANKatGITHUB:intrinsic, r=saethlin
37e3ad70e3a Adds new intrinsic declaration
321e15467b6 Rollup merge of #133987 - Will-Low:DefineTlsAcronym, r=workingjubilee
fa629100eb6 docs: better examples for `std::ops::ControlFlow`
9351abd146c Merge from rustc
5e9d429daf8 Auto merge of #133978 - matthiaskrgr:rollup-6gh1iho, r=matthiaskrgr
559d097737d Merge from rustc
e64cc8f0b01 Define acronym for thread local storage
583e5c38fb2 Auto merge of #118159 - EliasHolzmann:formatting_options, r=m-ou-se
fb2f7f59542 Rollup merge of #132187 - shahn:extend_more_tuples, r=dtolnay
eea8026b615 Rollup merge of #130254 - GrigorenkoPV:QuotaExceeded, r=dtolnay
6b532c5a3ec Rollup merge of #130209 - GrigorenkoPV:CrossesDevices, r=dtolnay
65dfcbf3228 Auto merge of #133089 - eholk:stabilize-noop-waker, r=dtolnay
e7f87ced7f7 core: implement `bool::select_unpredictable`
76a0c103f85 Rollup merge of #133790 - HypheX:improve-vec-docs, r=harudagondi,workingjubilee
c5b36235821 Merge from rustc
9a35941d30c Rollup merge of #133821 - Kobzol:replace-black-with-ruff, r=onur-ozkan
8e70d440609 Stabilize noop_waker
079deca158e Access members of `FormattingOptions` directly instead of via getters/setters
71ca7b7021e Removed constness for methods receiving a `&mut` parameter
44211bdeaf7 Added better reason for exposing `flags` and `get_flags` as unstable
19a746ad96d Formatted
7b0c4b28419 Refactored FormattingOptions to use a bitmask for storing flags
1f799846b6e Revert "Turned public+unstable+hidden functions into private functions"
829b61a1246 Turned public+unstable+hidden functions into private functions
e9281c8e9a3 Made all fns const
f864bca7c6a impl Default for fmt::FormattingOptions
aa9bd365b8e Fixed copy+paste error in comment
08f0702f0e5 fmt::FormattingOptions: Renamed `alignment` to `align`
2823ff934ab Formatter::with_options: Use different lifetimes
b64be9fba0e Fixed another broken test
5e26a3b8414 Added struct `fmt::FormattingOptions`
7b1865455ac Formatter: Access members via getter methods wherever possible
b880b8647ca Improve documentation
3bd82e97bef Add libc funcitons only for wasm32-wasip1-threads.
446d6a769c5 Fix compilation for wasm32-wasip1 (without threads).
c5fadd2a455 Rollup merge of #133882 - jyn514:doc-backtraces, r=saethlin
4b68145938a Rollup merge of #133844 - RalfJung:simd_relaxed_fma-nondet, r=workingjubilee
1ed910d355b Rollup merge of #127565 - esp-rs:xtensa-vaargs, r=workingjubilee
b3a46486625 Rollup merge of #133863 - oli-obk:push-pystoxvtvssx, r=lqd
0e9a4d8417b Rollup merge of #118833 - Urgau:lint_function_pointer_comparisons, r=cjgillot
8ed8886175f Improve comments for the default backtrace printer
23d6fda4069 Expand home_dir docs
5d1aa1675a3 Reformat Python code with `ruff`
14f2e23f839 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
aa4f52b5035 Move some alloc tests to the alloctests crate
9c94d5d7655 clarify simd_relaxed_fma non-determinism
b1f3a26d27a Rollup merge of #133651 - scottmcm:nonnull-nonzero-no-field-projection, r=oli-obk
72036111be5 Auto merge of #133818 - matthiaskrgr:rollup-iav1wq7, r=matthiaskrgr
69ed392762d Rollup merge of #133726 - joshtriplett:breakpoint, r=oli-obk
ae20aa74638 Rollup merge of #132937 - xmh0511:master, r=m-ou-se
a748abbc719 Update `NonZero` and `NonNull` to not field-project (per MCP807)
fdc60cf05a4 Rollup merge of #133796 - TDecking:borrowing-sub, r=tgross35
7e6e6e2b1a3 Rollup merge of #133762 - RalfJung:const-size-of-val, r=workingjubilee
55a7efe9106 Rollup merge of #133696 - RalfJung:const-hashmap, r=cuviper
d2614640319 Use UNIX thread_local implementation for WASI.
ed4cdaf9441 Update the definition of `borrowing_sub`
5d9e73921d2 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
a43b76ee94b Add `core::arch::breakpoint` and test
bda8e4b1f12 Add doc alias 'then_with' for `then` method on `bool`
d27d3181909 ./x miri: fix sysroot build
19de684bc57 Rollup merge of #133395 - calebzulawski:simd_relaxed_fma, r=workingjubilee
00e15d1d5a9 Rollup merge of #133763 - Urgau:f16-midpoint-const-feat, r=Amanieu
3a955a29554 Rollup merge of #133701 - kornelski:c-str, r=workingjubilee
a45b5e9fbd5 Rollup merge of #131713 - tgross35:stabilize-const_maybe_uninit_write, r=RalfJung,dtolnay
9692301b67d stabilize const_{size,align}_of_val
d7a7815759e Stabilize `const_maybe_uninit_write`
67506c0fe20 Use c"lit" for CStrings without unwrap
883c1e03b7b Allow fn pointers comparisons lint in library
a55ae54b880 Fix `f16::midpoint` const feature gate
6bfd483adaa Rollup merge of #133743 - bjoernager:slice-as-array, r=joboet
61f1e02390d stabilize const_collections_with_hasher and build_hasher_default_const_new
4a29e83103d Auto merge of #133728 - jhpratt:rollup-k1i60pg, r=jhpratt
ee0d5ab0752 Fix docs for '<[T]>::as_array';
d6f6f17a4ad Rollup merge of #133678 - Urgau:stabilize-ptr_fn_addr_eq, r=jhpratt
75fc94fe555 Rollup merge of #133672 - RalfJung:const-stability-cleanup, r=jhpratt
1c3d879674e Rollup merge of #133711 - cod10129:master, r=Noratrieb
812ac8de503 Rollup merge of #131784 - Urgau:stabilize-midpoint, r=dtolnay
8a64116590c Rollup merge of #131416 - okaneco:const_copy, r=RalfJung
e790064fe66 Mark `slice::copy_from_slice` unstably const
23a071ba9e6 add isatty alias for is_terminal
3f337703717 Rollup merge of #133674 - scottmcm:chain-carrying-add, r=Amanieu
f77fe3fcc4e Rollup merge of #133669 - RalfJung:const_swap_splitup, r=dtolnay
9924f497242 Run `cargo update` and update licenses
479c469cf3b Stabilize unsigned `num_midpoint` feature
795d603b70c Rollup merge of #133686 - samueltardieu:push-xkxwxzxqokuu, r=compiler-errors
e32ed338ac6 Rollup merge of #133622 - mkroening:exception-blog, r=cuviper
627d4b2f9cb Rollup merge of #133602 - SanchithHegde:fix-pathbuf-example-codeblocks, r=cuviper
eb3536842cd Rollup merge of #133515 - SteveLauC:fix/hurd, r=ChrisDenton
75479cf0c93 Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubilee
75360470dab Auto merge of #133684 - RalfJung:rollup-j2tmrg7, r=RalfJung
b08a2e48192 Switch rtems target to panic unwind
d85224a1b0a Add diagnostic item for `std::ops::ControlFlow`
2b3f1e38af8 Rollup merge of #133670 - RalfJung:hashbrown, r=Amanieu
a681bf22338 Auto merge of #133659 - jieyouxu:rollup-576gh4p, r=jieyouxu
fdd8daeaa07 std: clarify comments about initialization
a866ba30609 Stabilize `ptr::fn_addr_eq`
20ad9f3a771 Add value accessor methods to `Mutex` and `RwLock`
d45c3ac10f7 fix: hurd build, stat64.st_fsid was renamed to st_dev
20335c6f01c rustc_allow_const_fn_unstable is not used in proc_macro
ab1acf8489c get rid of a bunch of unnecessary rustc_const_unstable
e8d5e83ff42 Fix chaining `carrying_add`s
5a138bd16df add test for bytewise ptr::swap of a pointer
a28b4c94924 remove a whole bunch of unnecessary const feature gates
632384019c0 Abstract `ProcThreadAttributeList` into its own struct
7a561f25eb3 move swap_nonoverlapping constness to separate feature gate
8e56f2b3beb bump hashbrown version
c35c426aa6b move slice::swap_unchecked constness to slice_swap_unchecked feature gate
6795e57d557 Rollup merge of #133548 - cuviper:btreeset-entry-api, r=Mark-Simulacrum
4b6b44ec31b Rollup merge of #133496 - rust-wasi-web:wasi-available-parallelism, r=Amanieu
55088029695 Rollup merge of #133106 - BLANKatGITHUB:intrinsic, r=RalfJung
e19d9e1f67c Rollup merge of #132515 - kornelski:home_fix, r=jhpratt
558146cd092 Rollup merge of #133625 - RalfJung:custom-mir-debug-info, r=compiler-errors
c7244e4548d Rollup merge of #116161 - Soveu:varargs2, r=cjgillot
46a2f6dd74c Auto merge of #133533 - BoxyUwU:bump-boostrap, r=jieyouxu,Mark-Simulacrum
444dbb1fd6b refine mir debuginfo docs
4eac633b0dc Doc comment custom MIR debuginfo.
c8a70037002 update link to "C++ Exceptions under the hood" blog
d4d187e948b Rollup merge of #133530 - timvisee:master, r=jhpratt
91fbd9f5864 Rollup merge of #133466 - aksh1618:patch-1, r=thomcc
9063415181e fix: fix codeblocks in `PathBuf` example
035129281e6 Auto merge of #123244 - Mark-Simulacrum:share-inline-never-generics, r=saethlin
d21c03c9da5 Change `GetManyMutError` to match T-libs-api decision
13648408c0b Share inline(never) generics across crates
781da31e05b Also use zero when referencing to capacity or length
c82f6eec24d Use consistent wording in docs, use zero instead of 0
bcc2e91240a Auto merge of #133561 - GuillaumeGomez:rollup-g4upmv4, r=GuillaumeGomez
04463a7f7f4 Rollup merge of #133543 - mustartt:aix-lgammaf_r-shim, r=cuviper
f7a615efa01 Rollup merge of #133512 - bjoernager:slice-as-array, r=Amanieu
8663d4492ee Rollup merge of #129409 - grinapo:patch-1, r=Amanieu
4fb4a00e34d Rollup merge of #133498 - GuillaumeGomez:missing-examples, r=joboet
e203dac0af0 Stabilize `extended_varargs_abi_support`
2b6de08a835 Fill in a `BTreeSet::entry` example
173ee652528 Add a tracking issue for `btree_set_entry`
f57718afaa9 Add `BTreeSet` entry APIs to match `HashSet`
b52d6ea6391 fmt
b4b18cab0e9 update cfgs
69ebec2d136 Implement code review
9d15a385fcf replace placeholder version
7ec1cdfe7a3 Auto merge of #133369 - Zalathar:profiler-builtins-no-core, r=jieyouxu
a55e6bb8d3a Rollup merge of #133449 - joboet:io_const_error, r=tgross35
e3456c67844 Rollup merge of #133402 - compiler-errors:drop-and-destruct, r=lcnr
7d1132f4450 Auto merge of #133505 - compiler-errors:rollup-xjp8hdi, r=compiler-errors
095b004d343 chore: Improve doc comments
53c5cc9a882 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
29f1a9fc0e1 std: update internal uses of `io::const_error!`
9d96a4d024b Rollup merge of #133435 - RalfJung:test_downgrade_observe, r=tgross35
4be8acba9ed Rollup merge of #133282 - tgross35:maybe-uninit-debug, r=Amanieu
90447aac1c9 Rollup merge of #133136 - ChayimFriedman2:get-many-mut, r=Amanieu
1b8f2e255be Rollup merge of #133042 - cuviper:btreemap-insert_entry, r=Amanieu
423e4c5ac67 Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboet
e1c57aaa291 Rollup merge of #133419 - CromFr:add-path-strip_prefix-test-example, r=Amanieu
fe5ddb839d6 Add missing code examples on `LocalKey`
77a8b1dd704 thread::available_parallelism for wasm32-wasip1-threads
c1576656965 Refactor ReadDir into a state machine
73e18ef0f70 Run TLS destructors for wasm32-wasip1-threads
ae14c35ae28 Fix typos in pin.rs
a4ef660cb44 std::thread: avoid leading whitespace in some panic messages
f1c8fff3eca Constify Drop and Destruct
2b53683f359 std: expose `const_io_error!` as `const_error!`
0ebbd604aca Auto merge of #133247 - GuillaumeGomez:reduce-integer-display-impl, r=workingjubilee
4cb91d2c8ea Support ranges in `<[T]>::get_many_mut()`
654434a13c1 miri: disable test_downgrade_observe test on macOS
94a4251e601 Rollup merge of #132982 - suaviloquence:2-doc-changed-alloc-methods, r=Mark-Simulacrum
141df9d9f11 Rollup merge of #132533 - SUPERCILEX:patch-4, r=Mark-Simulacrum
6b85d41e68e fix `Allocator` method names in `alloc` free function docs
6eb0c106532 Rollup merge of #133298 - n0toose:remove-dir-all-but-not-paths, r=Noratrieb
d9da2d525b6 Rollup merge of #133260 - compiler-errors:deref, r=fee1-dead
ed139b53ab6 Rollup merge of #132730 - joboet:after_main_sync, r=Noratrieb
4c0534bf7d4 Added a doc test for std::path::strip_prefix
09b85d8fd9d Rollup merge of #133389 - eduardosm:stabilize-const_float_methods, r=RalfJung
53902c2caee Rollup merge of #133301 - GuillaumeGomez:add-example-wrapping-neg, r=workingjubilee
66ab6b5066a changes old intrinsic declaration to new declaration
516ce5869e0 Auto merge of #132611 - compiler-errors:async-prelude, r=ibraheemdev
eb02a21bc1f Auto merge of #132597 - lukas-code:btree-plug-leak, r=jhpratt
7b72794dcc0 Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
9f90bb0f6f2 Remove unnecessary `#![allow(unused_features)]`
c339b9f7bf6 Sort and separate lint/feature attributes in `profiler_builtins`
839d12cd4ab Constify Deref and DerefMut
802356c5f74 Match simd_relaxed_fma documentation to fmuladd intrinsic
bee4ecd9429 Auto merge of #133379 - jieyouxu:rollup-00jxo71, r=jieyouxu
f72470ca5ea Add simd_relaxed_fma intrinsic
70729ec3239 Stabilize `const_float_methods`
76d265e503b Auto merge of #133377 - jieyouxu:rollup-n536hzq, r=jieyouxu
c6e5bf3fabb Improve code by using `unsigned_abs`
f70996f1d61 Rollup merge of #133237 - fee1-dead-contrib:constadd, r=compiler-errors
7aa679938f3 Rollup merge of #133332 - bjoernager:const-array-as-mut-slice, r=jhpratt
30666a45e6f Rollup merge of #131505 - madsmtm:darwin_user_temp_dir, r=dtolnay
225b618ddf4 Auto merge of #132994 - clubby789:cc-bisect, r=Kobzol
0b65b01a424 Auto merge of #133360 - compiler-errors:rollup-a2o38tq, r=compiler-errors
881c5ef131c Rollup merge of #133264 - lolbinarycat:os-string-truncate, r=joboet
c5f45296fbb Auto merge of #132329 - compiler-errors:fn-and-destruct, r=lcnr
08ac834d1b8 Shorten the `MaybeUninit` `Debug` implementation
0010fe8458b aix: create shim for lgammaf_r
bff4879cf09 Add code example for `wrapping_neg` method for signed integers
a97a88475f6 Deduplicate checking drop terminator
b92dda90422 Gate const drop behind const_destruct feature, and fix const_precise_live_drops post-drop-elaboration check
129c3e53a09 Auto merge of #133339 - jieyouxu:rollup-gav0nvr, r=jieyouxu
6474e8ec0a1 Rollup merge of #133337 - ColinFinck:thread-scoped-fix-typo, r=joboet
d2ab35c9472 Rollup merge of #133330 - RalfJung:close, r=the8472
2f36a49c194 Rollup merge of #133313 - thesummer:fix-arc4random, r=cuviper
ffe6b3179cd Rollup merge of #133288 - bjoernager:const-array-each-ref, r=jhpratt
4ddec3f7ae5 Rollup merge of #133238 - heiher:loong-stdarch-rexport, r=Amanieu
edcaf2bfb68 Auto merge of #130867 - michirakara:steps_between, r=dtolnay
4fa0b696f8c Fix typo in `std::thread::Scope::spawn` documentation.
4540393046c Mark '<[T; N]>::as_mut_slice' as 'const';
ec55169f806 library: update comment around close()
7ee0a859f11 Don't try to use confstr in Miri
6404c969509 Auto merge of #129238 - umgefahren:stabilize-ipv6-unique-local, r=dtolnay
e34a80249b1 distinguish overflow and unimplemented in Step::steps_between
9b076218086 Use arc4random of libc for RTEMS target
4760f7c6d8a Mention that std::fs::remove_dir_all fails on files
8d9d792081f Mark and implement 'each_ref' and 'each_mut' in '[T; N]' as const;
e32598f5b57 constify `Add`
6c4dc0bf75a Rollup merge of #131736 - hoodmane:emscripten-wasm-bigint, r=workingjubilee
ed658469f4b implement OsString::truncate
49ffd7711ca Rollup merge of #133226 - compiler-errors:opt-in-pointer-like, r=lcnr
d1150b80cc3 Rollup merge of #130800 - bjoernager:const-mut-cursor, r=joshtriplett
8259d64c16c Rollup merge of #129838 - Ayush1325:uefi-process-args, r=joboet
d4c6e8b623a Make PointerLike opt-in as a trait
ee1d522c3ac Reduce integer `Display` implementation size
5518b631c4b Stabilize const_pin_2
99c5401b663 re-export `is_loongarch_feature_detected`
45b75690bfb Rollup merge of #132732 - gavincrawford:as_ptr_attribute, r=Urgau
e1d07359441 UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
0edb7261e0f UniqueRc: PinCoerceUnsized and DerefPure
cc920055663 UniqueRc: comparisons and Hash
c012f090e5a Rollup merge of #133183 - n0toose:improve-remove-dir-docs, r=joboet
bbfbad1656f Rollup merge of #125405 - m-ou-se:thread-add-spawn-hook, r=WaffleLapkin
f6d49a95d63 Rollup merge of #123947 - zopsicle:vec_deque-Iter-as_slices, r=Amanieu
39c49a04e07 UniqueRc: Add more trait impls.
6cc4451b732 Update doc comments for spawn hook.
a0f7d9ee77a Address review comments.
2d181ada07f Fix tracking issue.
249a39a0cac Add tracking issue.
20b5a6fc539 Use Send + Sync for spawn hooks.
98317baa88e Add thread Builder::no_hooks().
c5fb87d4f63 Update thread spawn hooks.
e41e6fcf479 Use add_spawn_hook for libtest's output capturing.
4db7a02e736 Add std::thread::add_spawn_hook.
38e5188d7a3 Correct comments concerning updated dangling pointer lint
1a64424cdbc Auto merge of #133205 - matthiaskrgr:rollup-xhhhp5u, r=matthiaskrgr
c7d24c82193 Rollup merge of #133200 - RalfJung:miri-rwlock-test, r=tgross35
5b6fd0c324c ignore an occasionally-failing test in Miri
a01aa1b5cf0 Rollup merge of #133182 - RalfJung:const-panic-inline, r=tgross35
455a0f5a44a Rollup merge of #132758 - nnethercote:improve-get_key_value-docs, r=cuviper
62141a9774f Mention std::fs::remove_dir_all in std::fs::remove_dir
6da3b3ce795 wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
a99228d348f Bump `stdarch` to the latest master
ed5b026e017 const_panic: inline in bootstrap builds to avoid f16/f128 crashes
de0b1aba8db std: allow after-main use of synchronization primitives
df764f75160 Auto merge of #133160 - jhpratt:rollup-wzj9q15, r=jhpratt
16cce54e64d Rollup merge of #133145 - kornelski:static-mutex, r=traviscross
f3a4f1bd760 Auto merge of #128219 - connortsui20:rwlock-downgrade, r=tgross35
33ae0fd84fb rename rustc_const_stable_intrinsic -> rustc_intrinsic_const_stable_indirect
794109a0c23 Improve `{BTreeMap,HashMap}::get_key_value` docs.
8d07e3bfaa1 Document alternatives to `static mut`
434abd790f6 Auto merge of #120370 - x17jiri:likely_unlikely_fix, r=saethlin
bf2b57d090e Likely unlikely fix
4f4dc7b6c32 Rollup merge of #133126 - ohno418:fix-String-doc, r=jhpratt
c671049d583 Rollup merge of #133116 - RalfJung:const-null-ptr, r=dtolnay
7c4267e947e alloc: fix `String`'s doc
3ffd42de62b clean up const stability around UB checks
7915de7dde6 stabilize const_ptr_is_null
450fb6a212a Rollup merge of #132449 - RalfJung:is_val_statically_known, r=compiler-errors
1704c189beb Rollup merge of #131717 - tgross35:stabilize-const_atomic_from_ptr, r=RalfJung
1797cbd6f90 reduce threads in downgrade test
91c1ee084db fix `DOWNGRADED` bit unpreserved
6d48a443aec fix memory ordering bug + bad test
e28e3bc7931 add safety comments for queue implementation
2bdea4c86c9 add `downgrade` to `queue` implementation
bbb8dac1b8c modify queue implementation documentation
642703d065a add `downgrade` to `futex` implementation
90e9e015f82 add simple `downgrade` implementations
086ad6d2b2c add `downgrade` method onto `RwLockWriteGuard`
cd047c1b37f add `RwLock` `downgrade` tests
3470c81a169 Rollup merge of #133050 - tgross35:inline-f16-f128, r=saethlin
cf3259b0e8d Rollup merge of #133048 - cyrgani:ptr-doc-update, r=Amanieu
19a03c46226 Rollup merge of #133019 - sorairolake:add-missing-period-and-colon, r=tgross35
a4f486ae44f Rollup merge of #132984 - sunshowers:pipe2, r=tgross35
bf078975d4e Rollup merge of #132977 - cberner:fix_solaris, r=tgross35
fc8cdb67a10 Rollup merge of #132790 - aDotInTheVoid:ioslice-asslice-rides-again, r=cuviper
4dd6b59105e Pass `f16` and `f128` by value in `const_assert!`
28460d3aceb Remove one stray space.
a97d1e8073a use `&raw` in `{read, write}_unaligned` documentation
ee7207a0d90 btree: add `{Entry,VacantEntry}::insert_entry`
425456c7115 Auto merge of #132709 - programmerjake:optimize-charto_digit, r=joshtriplett
416546b05ec Rollup merge of #133027 - no1wudi:master, r=jhpratt
351a4687a5e Auto merge of #133026 - workingjubilee:rollup-q8ig6ah, r=workingjubilee
14fc77f322a Fix a copy-paste issue in the NuttX raw type definition
b836ab705ff Rollup merge of #133008 - onur-ozkan:update-outdated-comment, r=jieyouxu
025f9109b33 Rollup merge of #133004 - cuviper:unrecover-btree, r=ibraheemdev
38276efae30 Rollup merge of #133003 - zachs18:clonetouninit-dyn-compat-u8, r=dtolnay
ea2d685129b Rollup merge of #132907 - BLANKatGITHUB:intrinsic, r=saethlin
faa1da1bb95 Rollup merge of #131304 - RalfJung:float-core, r=tgross35
736c7d89e1d Auto merge of #122770 - iximeow:ixi/int-formatting-optimization, r=workingjubilee
25dce5d0167 docs: Fix missing colon in methods for primitive types
02a1f6cbfe2 docs: Fix missing period in methods for integer types
c054c2bbe3a Auto merge of #133006 - matthiaskrgr:rollup-dz6oiq5, r=matthiaskrgr
33c3615acf4 update outdated comment about test-float-parse
adecda8a77d Rollup merge of #126046 - davidzeng0:mixed_integer_ops_unsigned_sub, r=Amanieu
51542950d0e Auto merge of #132662 - RalfJung:const-panic-inlining, r=tgross35
1abb10629d3 Update core CloneToUninit tests
13854a8e2ff btree: simplify the backdoor between set and map
c90d22c922e Bump `cc`
3d904bd3bce Fix compilation error on Solaris due to flock usage
eaf521eefcc Auto merge of #132556 - clubby789:cargo-update, r=Mark-Simulacrum
46a29c98717 Run `cargo update` and update licenses
89e4fc96f98 const_panic: don't wrap it in a separate function
6688c0ed773 [illumos] use pipe2 to create anonymous pipes
02f9d305b25 Auto merge of #132883 - LaihoE:vectorized_is_sorted, r=thomcc
88d8ceaf9b2 Auto merge of #132972 - matthiaskrgr:rollup-456osr7, r=mat…
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 18, 2025
505c3c8 Rustfmt
c3b10a4 occured -> occurred
ad3cba5 Allow Rust to use a number of libc filesystem calls
93437cf Windows: Test that deleting a running binary fails
9f5b3e5 Update platform information for remove_file
11be887 Windows: remove readonly files
5f99f47 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
a197bfd Document `Sum::sum` returns additive identities for `[]`
1ea5b61 Clean up 'HashMap' and 'HashSet' docs;
4c436f9 Optimize `Rc::<str>::default()` implementation
3a487d3 std: get rid of `sys_common::io`
ddfee75 std: move `io` module out of `pal`
cc39f5f Move two windows process tests to tests/ui
6bc5566 tests(std/net): remove outdated `base_port` calculation
cff11b5 sys: net: Add UEFI stubs
683c5bd Remove some unnecessary parens in `assert!` conditions
566501e remove use of `feature(trait_upcasting)` from core tests
75a291d Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
7c46d15 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
521b3a1 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
80df787 Fix unreachable_pub lint for hermit target
8f9eead Fix link in from_fn.rs
84b1c6b Use `widening_mul`
8c91286 Add OneSidedRangeBound to eliminate panic in `split_point_of`
615ac67 Rename slice::take methods to split_off
e581f3d Update `compiler-builtins` to 0.1.145
bfb2b74 specify a prim@slice in docs
8c0e793 implement inherent str constructors
dd109d3 std: move network code into `sys`
42aed2c uefi: process: Add support for command environment variables
19f6ff4 Mark `std::fmt::from_fn` as `#[must_use]`
a405ef7 Rename rustc_contract to contract
c1068b5 Improve contracts intrisics and remove wrapper function
44a468b Separate contract feature gates for the internal machinery
1c65514 Desugars contract into the internal AST extensions
6407c96 Express contracts as part of function header and lower it to the contract lang items
50d8cc3 contracts: added lang items that act as hooks for rustc-injected code to invoke.
45b8d2e Contracts core intrinsics.
a041614 More PR feedback
57aa72f PR feedback
76b9c4a Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
06eddc4 Add note about `FnPtr` being exposed as public bound
fa3b863 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
00041c1 For NonZero impl macros, give unsigned impls access to the corresponding signed type
03c1ccc std::fs: further simplify dirent64 handling
3356ec9 add UnsafeCell direct access APIs
421117f primitive type migration from mod.rs to primitives.rs
07e2207 implement unstable `new_range` feature
3814421 std::range
de1363e Remove stabilized feature gate
58b6f8a Move env modifying tests to a separate integration test
71d2a2a Fix for SGX
ca8b409 Fix benchmarking of libstd
7d0ebf6 Move std::sync unit tests to integration tests
c6a9e1d Move std::thread_local unit tests to integration tests
dacacf8 Move std::time unit tests to integration tests
3e333a9 Move std::path unit tests to integration tests
9efded4 Move std::panic unit tests to integration tests
c96035e Move std::num unit tests to integration tests
f636948 Move std float unit tests to integration tests
151fa67 Move std::error unit tests to integration tests
b428865 Move std::env unit tests to integration tests
aeb35a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
b3f7733 black_box integer-input on fmt benches
56b9550 OnceCell & OnceLock docs: Using (un)initialized consistently
afd1ecf Docs for f16 and f128: correct a typo and add details
346f6b7 rustc_allowed_through_unstable_modules: require deprecation message
5eaaff8 Update encode_utf16 to mention it is native endian
14fa6ab remove Rustc{En,De}codable from library and compiler
27ed051 make rustc_encodable_decodable feature properly unstable
ee0b5a2 Fix sentence in process::abort
71d62b7 document ptr comparison being by address
1566c46 stabilize `once_wait`
d938809 implement all min/max fns in terms of `<`/`is_lt`
798f65c improve doc tests for (min/max/minmax).* functions
4e90b7a docs: Documented Send and Sync requirements for Mutex + MutexGuard
868ac70 Add documentation for derive(CoercePointee)
e95d494 Fix off-by-one error causing driftsort to crash
d3bea56 Insert null checks for pointer dereferences when debug assertions are enabled
f1773c2 atomic: extend compare_and_swap migration docs
3f85d13 float::min/max: mention the non-determinism around signed 0
3e4aa44 Stabilize `const_black_box`
691da58 Improve documentation for file locking
0d78910 Remove minor future footgun in `impl Debug for MaybeUninit`
e82cc84 Add `AsyncFn*` to core prelude
8921682 uefi: Implement path
0bf17b9 Implement `int_from_ascii` (rust-lang#134821)
646476d Cleanup docs for Allocator
7c394f8 btree/node.rs: pop_internal_level: does not invalidate other handles
526aa0f btree/node.rs: remove incorrect comment from pop_internal_level docs
d05bdb4 add inline attribute and codegen test
0856ddd split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
f7c202f optimize slice::ptr_rotate for compile-time-constant small rotates
b60ffa9 Test pipes also when not running on Windows and Linux simultaneously
a3c5ef7 uefi: process: Fix args
e567cd3 [cfg_match] Document the use of expressions
48057ed Update comments and sort target_arch in c_char_definition
00a6d73 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c857fa2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
8c55c11 Document powf and powi calls that always return 1.0
261a207 Document purpose of closure in from_fn.rs more clearly
b2d6ca3 add missing allocator safety in alloc crate
5fa2aac alloc: add `#![warn(unreachable_pub)]`
b7e7846 Implement `AtomicT::update` & `AtomicT::try_update`
a3e955e fix doc for std::sync::mpmc
0fef9be Implement phantom variance markers
6f18a82 Clarify WindowsMut (Lending)Iterator
89af143 compiler_fence: fix example
3584874 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
fc9314c Move `std::io::pipe` code into its own file
16e356d Actually run the bstr test
868b9b4 Update comment
5f3b89e Put all coretests in a separate crate
580d2f8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
07ffa14 add nto80 x86-64 and aarch64 target
8bb6a3a Add support for QNX 7.1 with io-sock on x64
10558cf Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
22f2962 Update a bunch of comments from before wasi support was added
e814454 Remove a bunch of emscripten test ignores
50e05db Fix testing of the standard library with Emscripten
34655dd fix(libtest): Deprecate '--logfile'
c1ad8b8 docs: fix typo in std::pin overview
6c960e1 ports last few library files to new intrinsic style
0f6e17b Improve and expand documentation of pipes
7846136 Fix set_name in thread mod for NuttX
39818db Fix `FormattingOptions` instantiation with `Default`
891d6c7 Update library/core/src/num/nonzero.rs
67e0fbe Add memory layout documentation to generic NonZero<T>
018d0e3 Fix whitespace
50f56cf document order of items in iterator from drain
96b5a8d Add `File already exists` error doc to `hard_link` function
7c12606 Doc difference between extend and extend_from_slice
4b83b43 Make `Vec::pop_if` a bit more presentable
7ebdac8 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
b2487ef remove pointless allowed_through_unstable_modules on TryFromSliceError
bc7f965 test: add `#![warn(unreachable_pub)]`
ac9cdc1 proc_macro: add `#![warn(unreachable_pub)]`
8cdb99e Implement `CloneToUninit` for `ByteStr`
12e2688 Add doc aliases for BStr and BString
c1dd147 Omit some more `From` impls to avoid inference failures
d63aa46 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
9c52eb7 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7c8c49b Implement `ByteStr` and `ByteString` types
af75ed5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
e51de5e Library: Finalize dyn compatibility renaming
9a470c4 Remove test panic from File::open
0c79274 fix OsString::from_encoded_bytes_unchecked description
96fdc4d Add an example of using `carrying_mul_add` to write wider multiplication
ed4d2fe Outline panicking code for `LocalKey::with`
d8dee9c core: `#[allow(unreachable_pub)]` on unreachable `pub use`
b0da2be core: add `#![warn(unreachable_pub)]`
22aafaf rtstartup: add `#![warn(unreachable_pub)]`
dabb0ec panic_unwind: add `#![warn(unreachable_pub)]`
33d7a1e Recognise new IPv6 documentation range from RFC9637
ddd0264 1. Removed 'rustc_nounwind' 2. Rewording of comments
1d4c7df Export likely(), unlikely() and cold_path() in std::hint
781d584 Correct counting to four in cell module docs
8f4a724 doc: Point to methods on `Command` as alternatives to `set/remove_var`
5ad6719 wasi/io: remove dead files
b2080f1 remove unnecessary rustc_allowed_through_unstable_modules
abe24a4 further improve panic_immediate_abort by removing rtprintpanic messages
033959d cargo update
6c89086 Rewrap following accepting review suggestions from @ibraheemdev
8f9757b Update library/core/src/slice/mod.rs
9da7fa8 Update library/core/src/slice/mod.rs
c084093 Update library/core/src/slice/mod.rs
9dd4194 Update library/core/src/slice/mod.rs
8aaeaaf Update library/core/src/slice/mod.rs
87e9b12 Update library/core/src/slice/mod.rs
168aa42 Update library/core/src/slice/mod.rs
7ddc361 Update library/core/src/slice/mod.rs
0c1f472 Update library/core/src/slice/mod.rs
e5cbc2e Update library/core/src/slice/mod.rs
05531aa `then be` -> `be` based on feedback from @ibraheemdev
7edf7ac Improve `select_nth_unstable` documentation clarity
b362a8a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
91d8f69 Add references to the IEEE functions for `float_next_up_down`
c0e35fb Stabilize `float_next_up_down`
1be8f41 Fix import of pipe in kernel_copy.rs
5ed0b61 Move `std::pipe::*` into `std::io`
24e8166 Clarify note in `std::sync::LazyLock` example
8c92ba3 fix typo in library/alloc/src/sync.rs
2eb0f65 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
550e025 Adjust syntax
331ab24 Less unsafe in `dangling`/`without_provenance`
5bde913 fix typo in typenames of pin documentation
18604c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
cdc4bb5 add comments explaining main thread identification
c67a0eb std: lazily allocate the main thread handle
b100192 Revert "Remove the Arc rt::init allocation for thread info"
1b38bb6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
ef9c212 Update compiler-builtins to 0.1.143
7b7f046 Rename `pos` to `position`
4711dea Convert `struct FromBytesWithNulError` into enum
eddc674 Enforce syntactical stability of const traits in HIR
e00e3d2 Update compiler-builtins to 0.1.141
d20b074 Add another `Vec::splice` example
345cf52 avoid nesting the user-defined main so deeply on the stack
e121ff5 use a single large catch_unwind in lang_start
fe6d0ec uefi: helpers: Introduce OwnedDevicePath
fe174d2 path: Move is_absolute check to sys::path
f176ce7 Update the explanation for why we use box_new in vec!
2833697 Add #[inline] to copy_from_slice
571a3f3 Add inherent versions of MaybeUninit methods for slices
0f87820 Make UniqueRc invariant for soundness
5ee8912 update and clarify StructuralPartialEq docs
47cf67a Use `NonNull::without_provenance` within the standard library
9d2f4b1 Initial fs module for uefi
c14f39f Improve the safety documentation on new_unchecked
7853da9 Update a bunch of library types for MCP807
0011f31 alloc: remove unsound `IsZero` for raw pointers
b2b3ce3 Fix `proc_macro::quote!` for raw ident
0031f96 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
0547d43 Rename the internal simpler `quote` macro to `minimal_quote`
98915c2 Used pthread name functions returning result for FreeBSD and DragonFly
ab9939e Fix ptr::from_ref documentation example comment
2b1ee7b Improve prose around `as_slice` example of IterMut
074cf49 fmt
d29b933 update cfg(bootstrap)
151b2c0 update version placeholders
8db7053 Remove some unnecessary `.into()` calls
949c8c8 add missing provenance APIs on NonNull
631e092 More compelling env_clear() examples
14d7c49 Implement Condvar::wait_timeout for targets without threads
873445c Impl String::into_chars
3f1140b Avoid naming variables `str`
46af810 [generic_assert] Constify methods used by the formatting system
91be67d Add support for wasm exception handling to Emscripten target
3b8a17b chore: remove redundant words in comment
5d715f1 Add doc aliases for `libm` and IEEE names
d0ff2fa Mark `slice::reverse` unstably const
d1cc2ec Clarified the documentation on core::iter::from_fn and core::iter::successors
5308edd library: fix adler{-> 2}.debug
43409bd add regression test for unsound Flatten/FlatMap specialization
82894df do not in-place-iterate over flatmap/flatten
9550f1b Fix UWP build
8d3555b Bump backtrace to 0.3.75
01b68d2 sync to actual dep verions of backtrace
1ddf43a turn rustc_box into an intrinsic
a087959 core: use public method instead of instrinsic
4c1d2e2 core: improve comments
6e243b1 core: implement `bool::select_unpredictable`
323b69c Switch rtems target to panic unwind
ffa739f path in detail
d645c94 Move some things to `std::sync::poison` and reexport them in `std::sync`
7ae5bbb Bump backtrace to rust-lang/backtrace-rs@4d7906b
c00f1dc Try to write the panic message with a single `write_all` call
f2972ff fix doc for missing Box allocator consistency
c04aaed Remove qualification of `std::cmp::Ordering` in `Ord` doc
0996625 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
48dbac2 Avoid use of LFS64 symbols on Emscripten
f58a9a0 char to_digit: avoid unnecessary casts to u64
1595d6c Remove allowing static_mut_refs lint
9df0bd0 Tidy up bigint mul methods
4278a8e fix doc for read write unaligned in zst operation
c7739d6 Avoid short writes in LineWriter
f7e7e34 ptr docs: make it clear that we are talking only about memory accesses
aaa8143 Make slice::as_flattened_mut unstably const
27d3d4b rename typed_swap → typed_swap_nonoverlapping
37fe29d stabilize const_swap
f4c8bb0 fix: typos
feb96e4 Fix sentence fragment in `pin` module docs
24e3362 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
064250a Fix compilation issues on other unixes
62e20b7 Eliminate redundant statx syscalls
3c8051f Unify fs::copy and io::copy
33a200d Update `compiler-builtins` to 0.1.140
303f48c Update library/alloc/tests/sort/tests.rs
4f4ee30 Fix typos
f4b7e41 Override `carrying_mul_add` in cg_llvm
f93a87e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
7823668 Fix mistake in windows file open
1707eea Windows: Use WriteFile to write to a UTF-8 console
b4b57d2 ptr::copy: fix docs for the overlapping case
31841ea Fix renaming symlinks on Windows
118cb9a docs: inline `core::ffi::c_str` types to `core::ffi`
5ba28ab docs: inline `std::ffi::c_str` types to `std::ffi`
4a4b7a1 unwinding: bump version to fix asm
bdc9697 docs: update code example for Iterator#rposition
ecd471d Use scoped threads in `std::sync::Barrier` examples
57afb33 Fix forgetting to save statx availability on success
749cabe Specify only that duplicates are discarded, not the order.
3a05bba Document collection `From` and `FromIterator` impls that drop duplicate keys.
167057b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
4febe82 Impl FromIterator for tuples with arity 1-12
cad684f Fix formatting
822d03a stabilize const_alloc_layout
f0e34c2 chore: fix typos
c09140b Windows: Use FILE_ALLOCATION_INFO for truncation
482c806 Bump `stdarch`
5a5ca8a core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c0c11b9 Fixes safety docs for `dyn Any + Send {+ Sync}`
af0530d Use `#[derive(Default)]` instead of manually implementing it
6d501dd Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d4dc0ea Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
b4a2fe0 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
8aa9326 docs: Permissions.readonly() also ignores root user special permissions
fd602ac cargo update
4a074bb Delete `Rvalue::Len`
6291c2b Asserts the maximum value that can be returned from `Vec::len`
9e3406e Document `PointerLike` implementation restrictions.
c4856af Use `&raw` for `ptr` primitive docs
48b6b26 Add `is_ascii` function optimized for x86-64 for [u8]
3aeaabe Add new implementation benchmark
a4393cf Document CTFE behavior of methods that call is_null
1d61456 Correctly document is_null CTFE behavior.
4f32731 Win: rename: Use offset_of! in struct size calculation
de88ed3 Win: Remove special casing of the win7 target for `std::fs::rename`
4fe7b77 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
3409aec Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
4dfb7c0 Less unwrap() in documentation
bf91ffd Improve prose around into_slice example of IterMut
dc1e70b Improve prose around `as_slice` example of Iter
781b17e Improve prose around basic examples of Iter and IterMut
eef7ba8 Abstract `ProcThreadAttributeList` into its own struct
5385b8a fix `PointerLike` docs
53c0328 unimplement `PointerLike` for trait objects
e096a09 split up `#[rustc_deny_explicit_impl]` attribute
37bc633 remove reference to dangling from slice::Iter
deecc09 mri: add track_caller to thread spawning methods for better backtraces
4702ad7 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
be1899b Improve documentation of `element_offset` and related methods
02e606d Rename `elem_offset` to `element_offset`
d342491 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b76bec7 build: Update libc version
e1a3fe4 fix typo in ptr/mod.rs
b66d166 Stabilize `#[diagnostic::do_not_recommend]`
8c7ebb8 Use field init shorthand where possible
31fb096 fix(LazyCell): documentation of get[_mut] was wrong
d800c50 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
595ced2 Fix typo in uint_macros.rs
b5fb572 remove obsolete comment and pub(super) visibility
adbfd76 remove bounds from vec and linkedlist ExtractIf
f11edaa Add a range argument to vec.extract_if
a0684f0 Stabilize #[coverage] attribute
2c3005f Remove `rustc::existing_doc_keyword` lint.
0fc32ec Move `doc(keyword = "while")`.
f91d0f3 rustdoc-search: let From and Into be unboxed
22a0d8d Replace i32 by char in `split_at` & `_unchecked`
02a3623 Add clarity to the "greater" of `VecDeque::insert`
bc6620e Replace i32 by char to add clarity
2a7406c Add value accessor methods to `Mutex` and `RwLock`
a1e48b2 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
c55bc1d UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
15be580 UniqueRc: PinCoerceUnsized and DerefPure
fa09da8 UniqueRc: comparisons and Hash
e974e94 UniqueRc: Add more trait impls.
c009353 Remove support for specializing ToString outside the standard library
c50e2a4 Correct spelling of CURRENT_RUSTC_VERSION
71b54a0 Add documentation for anonymous pipe module
e41c6ae feat: clarify how to use `black_box()`
6fcc3fa Update includes in '/library/core/src/error.rs';
13ce58f Fix building `std` for Hermit after `c_char` change
25ae8a2 Fix `Path::is_absolute` on Hermit
9bb760c Fix typos in docs on provenance
7610d35 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
c469b46 Switch inline(always) in core/src/fmt/rt.rs to plain inline
f6c9280 Reword prelude for AsyncFn stabilization
97839b8 Stabilize async closures
f1cf0de Remove consteval note from <*mut T>::align_offset docs.
214fdba Stabilize the Rust 2024 prelude
ceb3086 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
39e415b Move some alloc tests to the alloctests crate
e711f8e control libunwind linkage mode via `crt-static` on gnullvm targets
e00617a Change `GetManyMutError` to match T-libs-api decision
3a475cf Add references to the specific ABI documents
c4a8b44 Remove l4re from the unsigned char operating system list
e012a7a De-duplicate and improve definition of core::ffi::c_char
770c929 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
237430b stabilize const_nonnull_new
3330922 Remove rustc_const_stable attribute on const NOOP
4c4ac2a Add libc funcitons only for wasm32-wasip1-threads.
2c7ab19 Fix compilation for wasm32-wasip1 (without threads).
308c5d0 Use UNIX thread_local implementation for WASI.
8290d44 Run TLS destructors for wasm32-wasip1-threads
bd32b12 Downgrade cc
f584641 Run `cargo update` and update licenses
8315724 chore: Improve doc comments
37e4c2e Refactor ReadDir into a state machine
0ea632f wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
3b796d5 docs: better examples for `std::ops::ControlFlow`
9123ca6 Expand home_dir docs
22de338 Add doc alias 'then_with' for `then` method on `bool`
c194cab Adds new intrinsic declaration
e18c12b Define acronym for thread local storage
df06001 Add a `collect_into` tuple test case
4a3e2eb Don't impl Extend for 13-tuples
20dce17 Simplify documentation for Extend impl for tuples
6d3f0ee Add Extend impls for tuples of arity 1 through 12
de96624 Unbreak tidy
078296c Stabilize `std::io::ErrorKind::QuotaExceeded`
56a9a9d Stabilize `std::io::ErrorKind::CrossesDevices`
aa365ea Access members of `FormattingOptions` directly instead of via getters/setters
c5ae145 Removed constness for methods receiving a `&mut` parameter
7477a16 Added better reason for exposing `flags` and `get_flags` as unstable
1a5fda6 Formatted
9622339 Refactored FormattingOptions to use a bitmask for storing flags
fe03174 Revert "Turned public+unstable+hidden functions into private functions"
b1c53d2 Turned public+unstable+hidden functions into private functions
6dee4c2 Made all fns const
6381718 impl Default for fmt::FormattingOptions
74e5620 Fixed copy+paste error in comment
6a015c8 fmt::FormattingOptions: Renamed `alignment` to `align`
a326563 Formatter::with_options: Use different lifetimes
6f25278 Fixed another broken test
b81fe72 Added struct `fmt::FormattingOptions`
bd9bf4e Formatter: Access members via getter methods wherever possible
72604df Stabilize noop_waker
038e6f4 Improve documentation
82ce537 Reformat Python code with `ruff`
d329e1f Improve comments for the default backtrace printer
018057f clarify simd_relaxed_fma non-determinism
6e005a6 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
f05df67 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
cce9041 Allow fn pointers comparisons lint in library
ec81a6d Update `NonZero` and `NonNull` to not field-project (per MCP807)
de82aaa Add `core::arch::breakpoint` and test
5927a6c a release operation synchronizes with an acquire operation
896540b Update the definition of `borrowing_sub`
a4dd9b5 stabilize const_{size,align}_of_val
8bcd49f ./x miri: fix sysroot build
b73a4da stabilize const_collections_with_hasher and build_hasher_default_const_new
c54868b Match simd_relaxed_fma documentation to fmuladd intrinsic
3862529 Add simd_relaxed_fma intrinsic
043727b Fix `f16::midpoint` const feature gate
b80b2c1 Use c"lit" for CStrings without unwrap
e0e6154 Stabilize `const_maybe_uninit_write`
2a12f89 Fix docs for '<[T]>::as_array';
4bc1966 Stabilize `ptr::fn_addr_eq`
e5b7c39 rustc_allow_const_fn_unstable is not used in proc_macro
4eb076b get rid of a bunch of unnecessary rustc_const_unstable
dc8a2a6 remove a whole bunch of unnecessary const feature gates
ce85e97 add isatty alias for is_terminal
07f70ca Stabilize unsigned `num_midpoint` feature
b4c408f Mark `slice::copy_from_slice` unstably const
d541f6c Fix chaining `carrying_add`s
c791211 add test for bytewise ptr::swap of a pointer
3ccc5ac move swap_nonoverlapping constness to separate feature gate
b5cd287 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
704ee0e Add diagnostic item for `std::ops::ControlFlow`
54d1047 update link to "C++ Exceptions under the hood" blog
ff435ea fix: fix codeblocks in `PathBuf` example
0279ab8 fix: hurd build, stat64.st_fsid was renamed to st_dev
36172d3 std: clarify comments about initialization
a5faa96 std: refactor `pthread`-based synchronization
9ff6777 bump hashbrown version
a242f89 Fill in a `BTreeSet::entry` example
637f40b Add a tracking issue for `btree_set_entry`
9e19d5c Add `BTreeSet` entry APIs to match `HashSet`
ae0b08e Implement code review
82610d9 thread::available_parallelism for wasm32-wasip1-threads
bdd4daf changes old intrinsic declaration to new declaration
6e40c5c Fix and undeprecate home_dir()
c190733 refine mir debuginfo docs
e8e12cf Doc comment custom MIR debuginfo.
2e7c6c2 Stabilize `extended_varargs_abi_support`
b734fb3 update cfgs
48cbb8c replace placeholder version
b3b1d69 Also use zero when referencing to capacity or length
dede273 Use consistent wording in docs, use zero instead of 0
7d96147 Fix typos in pin.rs
5b88ffe Share inline(never) generics across crates
3ddbd72 fmt
2fde9ca aix: create shim for lgammaf_r
e2fce21 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
170e96c Remove one stray space.
0bf0b8f Update chown help with a link and adding cap warning
049eb6f Expand std::os::unix::fs::chown() doc with a warning
2cacd71 Add missing code examples on `LocalKey`
c79853e Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
4ebf33d Remove unnecessary `#![allow(unused_features)]`
8fa98cb Sort and separate lint/feature attributes in `profiler_builtins`
98bb87e std: update internal uses of `io::const_error!`
cdced7a std: expose `const_io_error!` as `const_error!`
d448c82 Constify Drop and Destruct
8e7d9fe miri: disable test_downgrade_observe test on macOS
ef76d9a Shorten the `MaybeUninit` `Debug` implementation
6b937cf Support ranges in `<[T]>::get_many_mut()`
80e8a46 btree: add `{Entry,VacantEntry}::insert_entry`
fc4f858 std::thread: avoid leading whitespace in some panic messages
e95ec09 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 505c3c8
github-actions bot pushed a commit to model-checking/verify-rust-std that referenced this pull request Mar 19, 2025
3e6029532f5 Rollup merge of #138387 - RalfJung:intrinsic-arg-names, r=oli-obk
0424c57b1c5 Rollup merge of #138269 - Ayush1325:uefi-fs-permission, r=joboet
d0620fa5214 Rollup merge of #138161 - HeroicKatora:heap-peek-mut-refresh, r=dtolnay
f152d093dd6 intrinsics: remove unnecessary leading underscore from argument names
7d081598bdc Auto merge of #138366 - matthiaskrgr:rollup-cn16m7q, r=matthiaskrgr
fbcff157c8c Rollup merge of #138002 - 1c3t3a:fix-std-cfi-violation, r=rcvalle
7b2fc7c72f3 Auto merge of #128440 - oli-obk:defines, r=lcnr
8c0e5623691 Add PeekMut::refresh
7dfdb320eef Rollup merge of #137967 - mustartt:fix-aix-test-hangs, r=workingjubilee
77851590e0f Rollup merge of #135987 - hkBst:patch-20, r=joboet
065a29b09ba Implement `#[define_opaque]` attribute for functions.
a270d44b6ab Auto merge of #135651 - arjunr2:master, r=davidtwco
1119688c98b Auto merge of #136932 - m-ou-se:fmt-width-precision-u16, r=scottmcm
43a303d2209 Target definition for `wasm32-wali-linux-musl` to support the Wasm Linux Interface
24955d9a35b Add #[track_caller] to from_usize.
20f622c3a0f Remove unnecessary semicolon.
323a077ba20 Update tests.
3670dc846fb Limit formatting width and precision to 16 bits.
b6daa44dda1 Add comments for #[no_sanitize(cfi)] in stdlib
93b68c0a706 Disable CFI for weakly linked syscalls
c5a68b2fbd4 Rollup merge of #138074 - thaliaarchi:hermit-seek, r=ChrisDenton
625546926c0 Rollup merge of #137585 - xizheyin:issue-135801, r=workingjubilee
434a8f644a2 uefi: fs: Partially implement FileAttr
0ada98e13e2 uefi: fs: Implement FileType
c76e918218c uefi: fs: Implement FilePermission
0b6a2072982 std: move stdio to `sys`
d598e4bd4fe Support File::seek for Hermit
659e8026fd5 Update hermit-abi to 0.5.0
2077b050da5 Rollup merge of #138276 - bdbai:fix-uwp-ntopenfile, r=ChrisDenton
2cbf2700ff1 Rollup merge of #138233 - smmalis37:no-advapi32, r=ChrisDenton
5890e4e2ee6 Rollup merge of #138228 - TDecking:master, r=jhpratt
06ea4f49285 Rollup merge of #137650 - thaliaarchi:move-fs-pal, r=Noratrieb
3714bfb0746 Lazy load NtOpenFile for UWP
bcd6e0a3240 Clarify iterator by_ref docs
7b5f82feaa9 Move fs into sys
1fdabf2a48d Stabilize `const_vec_string_slice`
dd014257180 Don't link against advapi32, except on win7.
a057b0da7f3 Use `disjoint_bitor` inside `borrowing_sub`
9769e9ff76e Rollup merge of #138189 - GuillaumeGomez:env-var, r=joshtriplett
3264f9d39f6 Rollup merge of #137528 - ChrisDenton:rename-win, r=joboet
2be3c651fbb Rollup merge of #136642 - bjorn3:separate_alloctest_crate, r=cuviper
1f261ba7dc2 Rollup merge of #138000 - RalfJung:atomic-rmw, r=Amanieu
4eeadd427e3 Rollup merge of #137606 - davidtwco:next-edition, r=traviscross,ehuss
092c7ba3e10 Mention `env` and `option_env` macros in `std::env::var` docs
22a32779933 Add comments
91fe85b6f01 Fully test the alloc crate through alloctests
738178b3ff1 Move last remaining Rc test to alloctests
db8476eb542 Move most Rc tests to alloctests
cf8c29ab10b Move all alloc integration tests to a new alloctests crate
d15d3f7cafc Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakis
bf748af1ab5 Return OutOfMemoryError and update docs
3fae24535d2 Windows: Use MoveFileEx by default in `fs:rename`
dfca1534be9 Auto merge of #138155 - matthiaskrgr:rollup-xq5buio, r=matthiaskrgr
b615fd5118c Rollup merge of #138034 - thaliaarchi:use-prelude-size-of, r=tgross35
982f3698922 Rollup merge of #137674 - heiher:enable-f16-loong, r=tgross35
b68bc98478f Rollup merge of #138129 - RalfJung:stabilize-const-things, r=tgross35
04830fde02f Rollup merge of #137904 - scottmcm:ordering-is, r=workingjubilee
ba4c03ea49a Rollup merge of #137832 - wgwoods:fix-bufreader-peek, r=joboet
b4519d15185 Rollup merge of #137777 - thaliaarchi:os_string-push-str, r=joboet
f4bc9a14703 Rollup merge of #137107 - thaliaarchi:io-optional-methods/cursors, r=joboet
bb84112aee8 Rollup merge of #136667 - vita-rust:revert-vita-c-char, r=cuviper
560a1947351 Use turbofish for size_of<T> and align_of<T> in docs
9e34c62e21a library: Use size_of from the prelude instead of imported
83d396c9341 Auto merge of #138127 - compiler-errors:rollup-kcarqrz, r=compiler-errors
ace5e0f89ab Auto merge of #138114 - compiler-errors:rollup-7xr4b69, r=compiler-errors
be21da06ced stabilize const_sockaddr_setters
0b2d34d4ef5 stabilize const_char_classify
64dedc18a10 Add allow(incomplete_features) to alloc
4e10427c3c6 Add examples in stdlib demonstrating the use syntax
d05912eafeb Add UseCloned trait related code
168b9ce30fc Rollup merge of #138105 - reddevilmidzy:fix-broken-link, r=saethlin
17d426f1bb6 Update stdarch
e2b4056a8b5 Rollup merge of #138038 - tgross35:update-builtins, r=tgross35
a3cd875e04b Rollup merge of #137808 - jswrenn:droppy-unsafe-fields, r=nnethercote
60d296a16d2 Rollup merge of #137772 - thaliaarchi:bstr-display, r=joshtriplett
88a93b34799 Rollup merge of #137764 - compiler-errors:always-applicable-negative-impl, r=lcnr
7279a4a1d3b Rollup merge of #137327 - arlosi:home-dir, r=Mark-Simulacrum
75b3a4ca7f0 Rollup merge of #136922 - oli-obk:pattern-types-option-ends, r=BoxyUwU
f0cd1b9cff2 Rollup merge of #135895 - hkBst:patch-15, r=joboet
09eff082c04 Fix broken link to Miri intrinsics in documentation
053197ee347 Stabilize `const_copy_from_slice` feature
65914ce9ec2 Remove the `Option` part of range ends in the HIR
c05e8e747ea Make `is_le` and friends work like clang's
bb10e81a1dc Rollup merge of #137728 - Darksonn:no-tuple-unsize, r=oli-obk
49fc02972a0 Rollup merge of #137679 - bjorn3:coretests_improvements, r=jieyouxu,onur-ozkan
30cbf2b969e Rollup merge of #137569 - aDotInTheVoid:for-iurii, r=ibraheemdev
8d8586942c1 Rollup merge of #137477 - Ayush1325:uefi-service-binding, r=Noratrieb
abb02d0af85 Rollup merge of #137463 - sunshowers:illumos-posix-spawn, r=Mark-Simulacrum
ba1aa35f85d Rollup merge of #137240 - jieyouxu:remove_dir_all, r=Mark-Simulacrum
2053ad714b2 Rollup merge of #136798 - pcorwin:master, r=tgross35
f21f527e87f Rollup merge of #136662 - thaliaarchi:formatter-pad-char-count, r=m-ou-se
72e4ab911ce Rollup merge of #134063 - tgross35:dec2flt-refactoring, r=Noratrieb
0f84f75d82c Auto merge of #138031 - workingjubilee:rollup-5bsotpz, r=workingjubilee
87d50046767 Update `compiler-builtins` to 0.1.151
784016ec4e0 Rollup merge of #137986 - fuyangpengqi:master, r=Amanieu
18ea57539bb Rollup merge of #137850 - slanterns:box_uninit_write, r=ibraheemdev
5a551b653db Rollup merge of #137829 - cramertj:stabilize-split-off, r=jhpratt
4a7fcd9b1fc Rollup merge of #137634 - tgross35:update-builtins, r=tgross35
ae3814d6bcc Ensure that negative auto impls are always applicable
9119bf37986 Added documentation for flushing
6c41114a50a Fix test hangs on AIX
7e45b3b3f4b atomic: clarify that failing conditional RMW operations are not 'writes'
fbd7405888c Fix some typos
fc90fca4c57 Auto merge of #137959 - matthiaskrgr:rollup-62vjvwr, r=matthiaskrgr
c94967b512b Rollup merge of #137054 - jhpratt:phantom-variance, r=Mark-Simulacrum
809ce0f4eb0 fix order on shl impl
220dacb85b7 Rollup merge of #137873 - tgross35:disable-f16-without-neon, r=workingjubilee
195c76625cb Rollup merge of #137871 - pitaj:rangebounds-is_empty-intersect, r=scottmcm
d096ef59cd2 Rollup merge of #137641 - kpreid:dealloc, r=Amanieu
1262ab4aa8a Rollup merge of #137375 - steffahn:clarify-read_line-comment, r=Mark-Simulacrum
5272d97be65 Document workings of successors more clearly
c17d71592dd dec2flt: Refactor the fast path
a6d01b31728 dec2flt: Refactor float traits
e3c1689bda5 dec2flt: Rename fields to be consistent with documented notation
1e78b10f58b dec2flt: Rename `Number` to `Decimal`
18e13b5b553 dec2flt: Rename `Decimal` to `DecimalSeq`
0963dce5dfa dec2flt: Update documentation of existing methods
c631fa8b902 float: Update some constants to `pub(crate)`
9046ba2878d Disable `f16` on Aarch64 without `neon`
b03df5425b2 fix `RangeBounds::is_empty` documentation
09b755873d0 Update `compiler-builtins` to 0.1.150
f31b2f7eaa5 uefi: Add Service Binding Protocol abstraction
ce33bb9985d Rollup merge of #137828 - folkertdev:simd-intrinsic-doc-fixes, r=workingjubilee
6e6d0803101 Rollup merge of #137809 - Noratrieb:io-error-casing, r=thomcc
5506ca034e5 stabilize `box_uninit_write`
071d976677d Rollup merge of #137730 - RalfJung:checked_ilog_tests, r=tgross35
67dc2fd0d56 Fix logic error in Buffer::read_more()
c4a6461b2bc Tweak BufReader::peek() doctest to expose bug in Buffer::read_more()
435f1416b35 intrinsics::simd: document that masks must be signed integer vectors
1769d573609 correct the docs on `simd_` comparison operators
88563ddfd85 Stabilize [T]::split_off... methods
6f643c3af5d Specialize constructing OsString from strings
b6401ed27b2 Specialize OsString::push for strings
37cad6d139f Use correct error message casing for `io::const_error`s
be383826afc Do not require that unsafe fields lack drop glue
23d9066ec80 Rollup merge of #137673 - ChrisDenton:search-path-bug, r=dtolnay
f7930f32a43 Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung
eeaf188b75b Rollup merge of #137197 - scottmcm:cmp-20, r=ibraheemdev
9ddd920fa62 Fix char count in Display for ByteStr
de1dedd307d Override default Write methods for cursor-like types
5142c874b21 Inline VecDeque<u8> and BorrowedCursor methods
eef63e569b8 Count char width at most once in Formatter::pad
ce363e1f5a3 checked_ilog tests: deal with a bit of float imprecision
527700acb28 make `simd_insert` and `simd_extract` `const fn`s
bcf698c9310 Delete tuple unsizing
655937cfffd Rollup merge of #137480 - fuzzypixelz:fix/124466, r=workingjubilee
8e62371cff2 Rollup merge of #137304 - pitaj:rangebounds-is_empty-intersect, r=ibraheemdev
bcd2e09423d require trait impls to have matching const stabilities as the traits
83e302acdba Rollup merge of #137620 - SergioGasquez:fix/espidf-maybeunit, r=ChrisDenton
97600a048b0 Rollup merge of #136187 - hkBst:patch-27, r=workingjubilee
ea50b435ee8 Rollup merge of #134585 - cyrgani:uninit_array, r=Amanieu
07c0a800b86 Fix unused import in coretests on wasm32
f30b9d5a2fa Fix Windows `Command` search path bug
39314228214 Enable `f16` for LoongArch
af61cb55382 Rollup merge of #137614 - xizheyin:issue-134874, r=cuviper
9f8f1da9f8a Rollup merge of #137311 - martn3:enable-f16-mips, r=tgross35
d98eda35cc7 Rollup merge of #137154 - thaliaarchi:wtf8-fast-paths, r=ChrisDenton
38b89473ddd Auto merge of #137594 - RalfJung:miri-sync, r=RalfJung
f6439abf57d More precisely document `Global::deallocate()`'s safety.
df916c9f372 Auto merge of #137608 - fmease:rollup-h4siso6, r=fmease
129cda1f586 fix: attr cast for espidf
3aeaf5120c8 fix doc in library/core/src/pin.rs
9768712318a Rollup merge of #137515 - tgross35:update-builtins, r=tgross35
87be353d74c Use `.expect(..)` instead
ea230c2badf Rollup merge of #137576 - goffrie:setvalzst, r=lcnr
33c26395bed disable a potentially bogus test on Miri
24657f1ca1d Merge from rustc
48573410f77 Auto merge of #137571 - tgross35:rollup-i1tcnv1, r=tgross35
34c878b87fc fix doc in library/core/src/sync/atomic.rs
bdf09503ea5 Don't doc-comment BTreeMap<K, SetValZST, A>
34f05a38094 Rollup merge of #137543 - petrochenkov:wintest, r=ChrisDenton
0e4b3df587c Rollup merge of #137489 - RalfJung:no-more-rustc_intrinsic_must_be_overridden, r=oli-obk
3b6f96f870c Rollup merge of #137321 - aviraxp:patch-1, r=cuviper
4ed2ab3ed35 Rollup merge of #137516 - RalfJung:rustc_const_unstable-cleanup, r=Amanieu
763f918aa56 Rollup merge of #137349 - thaliaarchi:io-optional-methods/zkvm, r=Noratrieb
8df024d161b Rollup merge of #137109 - bend-n:knife, r=oli-obk
00bb0b92047 Rollup merge of #136775 - robertbastian:patch-2, r=Amanieu
128fd654118 Rollup merge of #136668 - WaffleLapkin:from_utf8_mut, r=Amanieu
3fc5093bfbc Rollup merge of #135933 - hkBst:patch-19, r=workingjubilee
fdc6f873867 Rollup merge of #134655 - GrigorenkoPV:hash_extract_if, r=cuviper
4a4acbfd64a Stablize `string_extend_from_within`
780a3d470ae Simplify trait error message for CoercePointee validation
fb4e1b8e933 span: add a "future" edition
f5c2e86bd6b std: Fix another new symlink test on Windows
4c451e86fe9 Update string.rs
9d1ad26a7c4 Remove speculation on cause of error
2dad07891a2 remove some unnecessary rustc_const_unstable
9bcae8d3756 Update `compiler-builtins` to 0.1.148
474351c0ffe Rollup merge of #137495 - madhav-madhusoodanan:feature-unstable-control-flow-into-value, r=jhpratt
c0b3b0214a1 Rollup merge of #137484 - chenyukang:yukang-fix-sort-doc, r=Noratrieb
8b8593f569f Rollup merge of #137482 - rust9x:win-file-open-truncate, r=ChrisDenton
42749e05c04 Rollup merge of #137393 - chorman0773:unbounded-shifts-stabilize, r=Amanieu
e63e6ce99cb Rollup merge of #137061 - progressive-galib:gen_future-closing#76249, r=ibraheemdev
377b0d5e48d Merge from rustc
7be8a82ca96 remove uses of rustc_intrinsic_must_be_overridden from standard library
f7b28853ff5 Added into_value const function to ControlFlow<T, T>
4fb5a2768e0 Rollup merge of #137483 - bend-n:😅, r=Noratrieb
87f88783d22 Rollup merge of #137297 - tgross35:update-builtins, r=tgross35
33e45d65a21 Rollup merge of #136543 - RalfJung:round-ties-even, r=tgross35
e11873b1751 rename sub_ptr 😅
e29396c8cb0 Fix documentation for unstable sort
eb9a602d424 Stabilize `core::str::from_utf8_mut`
0d6361ef2c0 stabilize extract_if
66d3b7527b8 Win: use existing wrappers for `SetFileInformationByHandle` in `File::open_native`
9d830bdb584 Return error on unexpected termination in `Thread::join`.
3abc6940750 Auto merge of #137237 - cuviper:stage0, r=Mark-Simulacrum
4eb3105e762 add stdarch compatibility hack
97b3a661885 Rollup merge of #137194 - kornelski:ftls, r=tgross35
947d1fa0376 Rollup merge of #136826 - xizheyin:issue-136737, r=thomcc
f9b2f527775 [illumos] attempt to use posix_spawn to spawn processes
f31cb937609 Update `compiler-builtins` to 0.1.147
85335cc78f3 Rollup merge of #137383 - folkertdev:stabilize-unsigned-is-multiple-of, r=Noratrieb
e5b671a44a5 Rollup merge of #137121 - bend-n:master, r=Noratrieb
36a59f86f93 Rollup merge of #135501 - tgross35:stdlib-dependencies-private, r=bjorn3
359de44870d make the new intrinsics safe
a36adc48c04 Rollup merge of #137388 - PaulDance:disable-rename-posix-semantics-tests-under-win7, r=ChrisDenton
9294e5f976f Rollup merge of #136910 - okaneco:sig_ones, r=thomcc
37defc963bf Rollup merge of #137207 - petertodd:2025-add-track-caller-to-duration-div, r=jhpratt
6a5acde0349 Auto merge of #137397 - matthiaskrgr:rollup-ls2pilo, r=matthiaskrgr
e2bc4b8c37b Fix(lib/fs/tests): Disable rename POSIX semantics FS tests under Windows 7
00c5f8a98e1 Fix unbounded_shifts tests
8960db9c01c Rollup merge of #137353 - thaliaarchi:io-optional-methods/wasi-stdin, r=alexcrichton
f192be550c3 Rollup merge of #137336 - riverbl:stabilise-os-str-display, r=tgross35
72deb39375c Rollup merge of #136609 - mammothbane:master, r=scottmcm
b8795e9e25f Rollup merge of #136148 - kpreid:type-str, r=joboet
45635480085 Replace some instances of `pub` with `pub(crate)`
dd5703d6193 Use `public-dependencies` in all sysroot crates
28e2c6a465a Stabilize `unbounded_shifts`
ec588f17554 stabilize `unsigned_is_multiple_of`
5a68dd2c32e Auto merge of #137371 - matthiaskrgr:rollup-3qkdqar, r=matthiaskrgr
e7ca18efc24 Do not use CString in the examples of CStr.
42e10aff157 Use faster thread_local! for stdout
267c460933d Use faster thread_local in current_thread_id()
c572f028539 Highlight thread_local! const init in docs
71a1fb96c06 Rollup merge of #136089 - jwong101:box-default-debug-stack-usage, r=Amanieu
919ca9f6cc0 Explain how Vec::with_capacity is faithful
0a38e5c2335 Auto merge of #137192 - kornelski:windows-tls-lto, r=ChrisDenton
fbd1c780e2c Clarify/update comments in `BufRead::read_line`'s default body with where to *actually* look for more details
388d94e67e5 Implement read_buf for WASI stdin
56175d3c50a Implement read_buf for zkVM stdin
beb7d40fb5d Rollup merge of #137270 - QianNangong:master, r=ChrisDenton
e05373bef28 Rollup merge of #134340 - Urgau:stabilize-num_midpoint_signed, r=scottmcm
3205f6f8401 Stabilise `os_str_display`
c33f0218629 Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboet
0e3713a96d6 Undeprecate env::home_dir
7f2f0ccc4db Correct doc about `temp_dir()` behavior on Android
ca767c6a439 Enable `f16` for MIPS
5fb2e42857d Implement feature `isolate_most_least_significant_one` for integer types
d6b87df28e3 add `IntoBounds::intersect` and `RangeBounds::is_empty`
f1c6d786632 Skip scanning for surrogates when not known valid
86402a4df84 Add fast path for displaying pre-validated Wtf8Buf
f9d795e857b Auto merge of #137295 - matthiaskrgr:rollup-tdu3t39, r=matthiaskrgr
b51ff7a2af3 Rollup merge of #137277 - m4rch3n1ng:stabilize-inherent-str-constructors, r=tgross35
e7decbcc618 Auto merge of #137290 - matthiaskrgr:rollup-a7xdbi4, r=matthiaskrgr
fb345261a92 Rollup merge of #137155 - thaliaarchi:wtf8-organize, r=ChrisDenton
7b3d14c2dac Rollup merge of #136923 - samueltardieu:push-vxxqvqwspssv, r=davidtwco
105431d09b4 Rollup merge of #136690 - Voultapher:use-more-explicit-and-reliable-ptr-select, r=thomcc
0083d27be4c Rollup merge of #132268 - elichai:string_try_from_vec, r=Amanieu
daabdc1c710 Rollup merge of #120580 - HTGAzureX1212:HTGAzureX1212/issue-45795, r=m-ou-se
85ae6a2f8f3 stabilize `inherent_str_constructors`
3a375d00778 Rollup merge of #136794 - cberner:stabilize, r=joshtriplett
2a2c9d829b0 Rollup merge of #136347 - allevo:patch-1, r=Amanieu
d1667fc8ca4 Rollup merge of #136301 - hkBst:patch-33, r=thomcc
baacf0f3994 Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=Amanieu
18931269a1c fix by comments
ff43a1fcdca Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306
9584036e9b5 Update library/std/src/fs.rs
667572fc819 core/net: IpAddr*::as_octets()
e3bbe483fd3 remove assume_init in stack_overflow
af9fc8f38f4 Merge from rustc
fd5d2c601ae Rollup merge of #137228 - steffahn:one-coerces-to-supertypes-not-subtypes, r=the8472
7f4597fc397 Rollup merge of #137026 - GrigorenkoPV:integer_sign_cast, r=jhpratt
d48df9dfe47 Auto merge of #137235 - matthiaskrgr:rollup-2kjua2t, r=matthiaskrgr
2a68133763c Remove outdated target `unexpected_cfgs`
272bdfd371b std::fs: slightly reformat `remove_dir_all` error docs
1eeac08ba0d Rollup merge of #137126 - m4rch3n1ng:fix-inherent-str-docs, r=Amanieu
f1f08cafa7a Rollup merge of #136876 - joshtriplett:locking-might-not-be-advisory, r=Amanieu
102e63b0480 Rollup merge of #137214 - cyrgani:clippy_diagnostic_items, r=compiler-errors
5b72eaad8ed Rollup merge of #137205 - thaliaarchi:remove-wasi-fileext-tell, r=alexcrichton
1220ccf6944 Rollup merge of #137167 - martn3:reliable_f16_math-f16-erfc, r=tgross35
d9110584f0d Rollup merge of #136750 - kornelski:ub-bug, r=saethlin
48b02132eac update `cfg(bootstrap)`
d43df0d231a Fix typo in hidden internal docs of `TrustedRandomAccess`
ac553cb6319 update version placeholders
ba8bd37a540 Reorder "This lock may be advisory or mandatory." earlier in the lock docs
84472b88ffe Clarify that locking on Windows also works for files opened with `.read(true)`
1eb38edd9fa add last std diagnostic items for clippy
dad8c58641e Add #[track_caller] to Duration Div impl
74abdb5a254 Remove std::os::wasi::fs::FileExt::tell
c439b11d9f4 Update some comparison tests now that they pass in LLVM20
33d4cd0c792 Remove obsolete MinGW ThinLTO+TLS workaround
b7b81469900 Rollup merge of #137165 - thaliaarchi:file-tell, r=ChrisDenton
f6b7cbc698d Use tell for <File as Seek>::stream_position
083489d1c96 Auto merge of #137164 - matthiaskrgr:rollup-dj5826k, r=matthiaskrgr
087c32bace1 tests: Also gate `f16::erfc()` doctest with `reliable_f16_math` cfg
48884882a6e Rollup merge of #137105 - zachs18:cow-derefpure-restrict, r=Nadrieril
ebcf8a346b7 Rollup merge of #137101 - GrigorenkoPV:str-inherent-lint, r=Urgau
319f0802bbb Rollup merge of #136844 - thaliaarchi:const-io-error, r=ChrisDenton
900e66fd93c Merge from rustc
e9eaf8fd3df stabilize (const_)ptr_sub_ptr
25f6fd491c7 Synchronize platform adaptors for OsString/OsStr
d68ea39842d Simplify control flow with while-let
61eea6c7af2 Improve WTF-8 comments
78f5f6895e8 Rollup merge of #137114 - ChrisDenton:error, r=Noratrieb
f49474ec257 Rollup merge of #136986 - ehuss:library-unsafe-fun, r=Noratrieb
c9de0946aa8 invalid_from_utf8[_unchecked]: also lint inherent methods
bfeda0a52f7 add MAX_LEN_UTF8 and MAX_LEN_UTF16 constants
0aeba5b388f fix docs for inherent str constructors
0ca46456e46 Add an example for std::error::Error
9b26bae8acd Merge from rustc
263e4b25f16 Restrict DerefPure for Cow<T> impl to T = impl Clone, [impl Clone], str.
6b9b271d1bd Make ub_check message clear that it's not an assert
4f6a457616c remove MaybeUninit::uninit_array
27d76de79bf docs: fix broken intra-doc links that never worked
16ea589cd4b Auto merge of #137065 - jhpratt:rollup-ree9mej, r=jhpratt
c2b1e088c4f Rollup merge of #137062 - thaliaarchi:io-optional-methods/write, r=workingjubilee
94b1a33307f Rollup merge of #136978 - ChrisDenton:windows-bindgen, r=Amanieu
2bc3e8b2635 Rollup merge of #136879 - kornelski:non1, r=Noratrieb
df761061e6d Rollup merge of #136749 - mzeitlin11:extend-asciichar, r=scottmcm
2d1f245f652 Rollup merge of #135687 - joseluis:feat-reexport_from_coroutine, r=scottmcm
7496de0af43 tidying up tidy
45580317d51 Add real safety comments
c71d9b123fb Go back to `Some` instead of transmuting to it.
304ce1b3b8a Save another BB by using `SubUnchecked` instead of a call to `arith_offset`
f13856002b6 Simplify `slice::Iter::next` enough that it inlines
c887174a273 Forward all default methods for I/O impls
a7c46dd7b8d replaced the four occurrences of issue ="50547" in library/core/src/future/mod.rs with issue = "none"
d241320273b Merge from rustc
9691b85c13c Auto merge of #136324 - GrigorenkoPV:erf, r=tgross35
f08d486c103 Make phantom variance markers transparent
147f24812ad Rollup merge of #136983 - ehuss:misc-2024-prep, r=tgross35
64d4df82fa3 Rollup merge of #134016 - zachs18:stable-const-str-split_at, r=Amanieu
a1d6e57f8da Stabilize (and const-stabilize) `integer_sign_cast`
5f7a207ad9a proc_macro: Apply unsafe_op_in_unsafe_fn
231fc7d5115 std: Apply unsafe_op_in_unsafe_fn
13e034d1509 Fix safety of windows uwp functions
99021161db3 unwind: Apply unsafe_op_in_unsafe_fn
0ed0d928c15 panic_unwind: Apply unsafe_op_in_unsafe_fn
1ed3d402bd4 panic_abort: Apply unsafe_op_in_unsafe_fn
4c1262b3978 core: Apply unsafe_op_in_unsafe_fn
0617326e5e1 Rollup merge of #136976 - jedbrown:jed/doc-boxed-deferred-init, r=tgross35
ab7e5e6e973 Rollup merge of #136967 - DaniPopes:io-repeat-fill, r=joboet
a26d6a8d876 Rollup merge of #136886 - ehuss:remove-prelude-common, r=jhpratt
d8188dd66e1 Rollup merge of #136052 - no1wudi:fix, r=workingjubilee
827593948bc Add safe new to NotAllOnes
74c0eeaca74 Auto merge of #136735 - scottmcm:transmute-nonnull, r=oli-obk
30de706e194 Rollup merge of #136992 - ehuss:update-backtrace, r=workingjubilee
a8d90674e4e Rollup merge of #136908 - mustartt:aix-mutex-destory-einval, r=joboet
e455964a4d1 Rollup merge of #136904 - pitaj:range-into_bounds, r=tgross35
44c37a8084d Update backtrace
ab632ba7993 Implement `f{16,32,64,128}::{erf,erfc}`
346c0f5521a std: Apply deprecated_safe_2024
f158ad20936 test: Apply deprecated_safe_2024
163c2871768 std: Apply fixes for tail drop expressions
d5feb71dd61 std: Apply rust_2024_incompatible_pat
a9dddc5ef5b std: Apply dependency_on_unit_never_type_fallback
378344935e6 std: Apply missing_unsafe_on_extern
3140f7daeff std: Apply unsafe_attr_outside_unsafe
eb27443f29d alloc: Apply missing_unsafe_on_extern
8aab2dd2569 alloc: Apply unsafe_attr_outside_unsafe
e983f6aed11 alloc: Workaround hidden doctest line
55127d7d462 Migrate coretests to Rust 2024
ad44a5905b9 Auto merge of #134633 - GrigorenkoPV:get_disjoint_mut, r=cuviper
680d54900c2 library: Update rand to 0.9.0
c8c0557cfc7 core: Apply unsafe_attr_outside_unsafe
216bdd3e399 alloc boxed: docs: use MaybeUninit::write instead of as_mut_ptr
6f4d9234b93 Consistently using as_mut_ptr() and as_ptr() in thread
d7dc0a00893 Replace mem::zeroed with mem::MaybeUninit::uninit for large struct in unix
0ab18c7b508 Use `slice::fill` in `io::Repeat` implementation
da4ed381b0a Windows: Update generated bindings to 0.59
3a3d327ef19 Rollup merge of #136949 - ehuss:wasm-bench-time, r=jhpratt
1ee869f3c63 Rollup merge of #136660 - compiler-errors:BikeshedGuaranteedNoDrop, r=lcnr
8ea18d80d82 `transmute` should also assume non-null pointers
32f3b03288c Merge from rustc
b1035170c03 Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity
19c0893315e Rollup merge of #136945 - samueltardieu:push-rsqlyknnvyqm, r=fmease
966b014bfdf Rollup merge of #136818 - a1phyr:io_repeat_exact, r=jhpratt
55830306895 Rollup merge of #136699 - joboet:netaddr_from_inner, r=cuviper
c795fe44468 Rollup merge of #134090 - veluca93:stable-tf11, r=oli-obk
7b96a46867d add `IntoBounds` trait
fc1fd29a71a Fix import in bench for wasm
9219f4e6c4c Add diagnostic item for `std::io::BufRead`
0e05aa56601 Rollup merge of #136890 - saethlin:swap_nonoverlapping, r=RalfJung
3715d9e0c16 Change swap_nonoverlapping from lang to library UB
384e69994e1 std: replace the `FromInner` implementation for addresses with private conversion functions
8676bc869bd Remove ignored `#[must_use]` attributes from portable-simd
b2adc75b1d3 Auto merge of #136918 - GuillaumeGomez:rollup-f6h21gg, r=GuillaumeGomez
4104dfa0c49 Rollup merge of #136915 - eyelash:float-precision, r=workingjubilee
eac6d788e7f Rollup merge of #136875 - BoxyUwU:rdg-push, r=jieyouxu
7b900a0c001 Auto merge of #136897 - workingjubilee:revert-unfcped-stab, r=WaffleLapkin
d7a30378ff8 `f128` is quadruple-precision
c747c4c9355 `f16` is half-precision
c01794babe2 expect EINVAL for pthread_mutex_destroy for aix
64453dd64ac Rollup merge of #136874 - tgross35:likely-unlikely-tracking, r=jhpratt
dbf8f031153 library: amend revert of extended_varargs_abi_support for beta diff
703da525681 Optionally add type names to `TypeId`s.
a3aa8e0ebf9 Revert "Stabilize `extended_varargs_abi_support`"
7fb3f7ff532 Remove the common prelude module
66541f0e466 Document that locking a file fails on Windows if the file is opened only for append
168693dd1b7 Reword file lock documentation to clarify advisory vs mandatory
9cb690dbd8a Rollup merge of #136354 - hkBst:patch-34, r=ibraheemdev
e0b12260f17 Rollup merge of #136246 - hkBst:patch-29, r=ibraheemdev
928bef99674 Change the issue number for `likely_unlikely` and `cold_path`
aae7e6cad6b Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhpratt
b4de212ba47 include note on variance and example
98e87084daf Update docs for impl keyword
53df90005c6 Rollup merge of #136704 - benschulz:patch-1, r=ibraheemdev
13617787a75 Rollup merge of #136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper
890c49d1e28 Rollup merge of #136663 - WaffleLapkin:count-non-zero-ones, r=cuviper
961e80f546e Merge from rustc
91276cbc2e2 Fix long lines which rustfmt fails to format
ea86b6b61d0 Rollup merge of #136107 - dingxiangfei2009:coerce-pointee-wellformed, r=compiler-errors
e262e3ea663 Fix &&str and trailing commas in io::const_error!
7dd9fdced8c Use io::const_error! when possible over io::Error::new
8937afec85c Auto merge of #136823 - matthiaskrgr:rollup-vp20mk1, r=matthiaskrgr
0ae37883417 Reword doc comment on `CoercePointeeValidated`
30a505f2920 Rollup merge of #136714 - tgross35:update-builtins, r=tgross35
038d4e4e622 Auto merge of #135701 - calebzulawski:sync-from-portable-simd-2025-01-18, r=workingjubilee
1d698993f59 Implement `read*_exact` for `std:io::repeat`
66529b7c34d Rollup merge of #136805 - RalfJung:miri-win-delete-self, r=Noratrieb
a995068a518 Rollup merge of #136705 - compiler-errors:edition-library, r=jhpratt
40908d20b69 Rollup merge of #136552 - ChrisDenton:option-find-handle, r=Mark-Simulacrum
2710c50c59d Rollup merge of #136353 - purplesyringa:libtest-instant-wasm, r=Mark-Simulacrum
5e7940f9979 Rollup merge of #136228 - hkBst:patch-28, r=Mark-Simulacrum
a2ba8ac771d ignore win_delete_self test in Miri
df899865ee4 Merge from rustc
92386bd518c Stabilize file_lock
4fa9ad28bb2 fix(libtest): Enable Instant on Emscripten targets
6980c51378f block coerce_pointee_validated for stabilization
951ffaba4e3 Rollup merge of #135488 - GrigorenkoPV:vec_pop_if, r=jhpratt
cbc61e8f2ba Fix pattern matching mode changes and unsafe_op_in_unsafe_fn
d9e0a425f20 Mark extern blocks as unsafe
370f8629369 Rename field in OnceWith from gen to make
2dc589bef37 Mark link_section attr with unsafe
1fdb5970812 Update string.rs
8d0206bb68c Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrum
372b6212e4a Auto merge of #136754 - Urgau:rollup-qlkhjqr, r=Urgau
e7b600fe4b4 rename the trait to validity and place a feature gate afront
767ecf57208 introduce CoercePointeeWellformed for coherence checks at typeck stage
594556dd299 Rollup merge of #136724 - steffahn:asyncfn-non-fundamental, r=compiler-errors
69d386ec244 Rollup merge of #136710 - JakenHerman:jaken/iterator-docs, r=workingjubilee
3d64f4c1ba6 Rollup merge of #136686 - bjoernager:master, r=jhpratt
9e2eb8d4b91 Rollup merge of #136601 - compiler-errors:borrow-null-zst, r=saethlin
de555d8a276 Rollup merge of #136213 - erickt:fs, r=Mark-Simulacrum
3bc72bb59f9 Rollup merge of #134679 - ChrisDenton:rm-readonly, r=Mark-Simulacrum
275be806bf5 occured -> occurred
c74f8b5fc1f Rustfmt
88ee8a04b47 Document `Sum::sum` returns additive identities for `[]`
9cf53b6ea43 Implement Extend<AsciiChar> for String
1d535de7364 Rollup merge of #136099 - Kijewski:pr-rc-str-default, r=ibraheemdev
c6124b4c448 Rollup merge of #135696 - joboet:move_pal_io, r=Noratrieb
2a7a079772a Merge from rustc
2b41365cfca Auto merge of #136713 - matthiaskrgr:rollup-sy6py39, r=matthiaskrgr
95ea59d5173 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
ad5aea5e454 Update `compiler-builtins` to 0.1.146
82e98ea854e Rollup merge of #136682 - ChrisDenton:move-win-proc-tests, r=joboet
20e702ffb2e Rollup merge of #136635 - jieyouxu:base_port, r=joboet
f673e1606ed Rollup merge of #136615 - Ayush1325:uefi-net-unsupported, r=joboet
fc11b454ce5 Improve examples for file locking
4b3e632673b Rollup merge of #135945 - estebank:useless-parens, r=compiler-errors
0d0527e1702 Rollup merge of #134367 - WaffleLapkin:trait_upcasting_as_a_treat, r=compiler-errors
7dd6829164d std: get rid of `sys_common::io`
9b7104dbe47 std: move `io` module out of `pal`
c1f3f20b634 Use more explicit and reliable ptr select in sort impls
e8e96403b8a Clean up 'HashMap' and 'HashSet' docs;
8f754628013 Rollup merge of #136634 - bjoernager:const-mut-cursor, r=m-ou-se
1ff33ee233d Move two windows process tests to tests/ui
ff5abb62988 library: doc: core::alloc::Allocator: trivial typo fix
900da4f3fd7 Revert vita's c_char back to i8
fe1439a94eb remove use of `feature(trait_upcasting)` from core tests
4c33132baee Remove some unnecessary parens in `assert!` conditions
10eb42d9237 stabilize `NonZero::count_ones`
10c27803bc3 Rollup merge of #136152 - Urgau:stabilize-map_many_mut, r=joshtriplett
f973a52645b Rollup merge of #136630 - jieyouxu:render_tests, r=ChrisDenton
bf2eee8a588 Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
c055c57b6f9 tests(std/net): remove outdated `base_port` calculation
0a62a04415e tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
26037053b33 Auto merge of #136613 - workingjubilee:rollup-ry6rw0m, r=workingjubilee
94b8c8abce3 sys: net: Add UEFI stubs
0e43e9c22ce Rollup merge of #136595 - thaliaarchi:hermit-unreachable-pub, r=Noratrieb
ef106388320 Rollup merge of #136566 - hkBst:patch-1, r=scottmcm
ccd78f8a0e2 Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrum
ae8a4a9d009 Rollup merge of #136555 - cramertj:split_off, r=dtolnay
5792f5cd50b Rollup merge of #136537 - tgross35:update-builtins, r=tgross35
29d0feddcab Rollup merge of #136517 - m4rch3n1ng:inherent-str-constructors, r=jhpratt
48b038cf2af Rollup merge of #136449 - joboet:move_pal_net, r=ChrisDenton
a20c46c0a18 Rollup merge of #136418 - Ayush1325:command-env, r=jhpratt
b0449f2f6e1 Fix link in from_fn.rs
3dd32ae84d9 Fix unreachable_pub lint for hermit target
08a556e6906 Rollup merge of #136502 - yotamofek:pr/fmt-from-fn-must-use, r=dtolnay
1420e0334e9 Rollup merge of #128045 - pnkfelix:rustc-contracts, r=oli-obk
b5db0562096 Add OneSidedRangeBound to eliminate panic in `split_point_of`
3daa09ada6e Rename slice::take methods to split_off
10189db6e75 Use Option for FindNextFileHandle
d9ad3d612d2 Auto merge of #135760 - scottmcm:disjoint-bitor, r=WaffleLapkin
023ac462a65 intrinsics: unify rint, roundeven, nearbyint in a single round_ties_even intrinsic
3e9dee72261 Auto merge of #136534 - jhpratt:rollup-dnz57dq, r=jhpratt
f3cc8954938 Auto merge of #136533 - jhpratt:rollup-s0ign8n, r=jhpratt
5880f67026b Update `compiler-builtins` to 0.1.145
c78c36fa474 Rollup merge of #136518 - Urgau:fn_ptr-public-bound, r=Noratrieb
40c37fc3799 Rollup merge of #136511 - joshtriplett:nonzero-cast-signed-unsigned, r=dtolnay
4a1eec8014f Rollup merge of #136479 - RalfJung:dirent64, r=tgross35
0bb9ad7ace0 Rollup merge of #136398 - pitaj:unsafecell_access, r=dtolnay
29498e70b30 Rollup merge of #136334 - ricci009:primitivers, r=tgross35
6e1295bc8c9 Rollup merge of #136167 - pitaj:new_range, r=Nadrieril
dbe125183da Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=Noratrieb
ecfdcb94bc0 Auto merge of #135265 - pascaldekloe:fmt-int-speed, r=tgross35,ChrisDenton
ee3eff0675a specify a prim@slice in docs
43ef876e485 implement inherent str constructors
c1c78464cdb Add note about `FnPtr` being exposed as public bound
60976d84595 primitive type migration from mod.rs to primitives.rs
8de1ae17be7 Rename rustc_contract to contract
b2f1b5b4843 Improve contracts intrisics and remove wrapper function
900d21991f3 Separate contract feature gates for the internal machinery
3c987305a09 Desugars contract into the internal AST extensions
0cd98e7eeb8 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
b861e819bfe Express contracts as part of function header and lower it to the contract lang items
4b5a5aa6989 contracts: added lang items that act as hooks for rustc-injected code to invoke.
9130a03fa38 Contracts core intrinsics.
32a2eb06555 Mark `std::fmt::from_fn` as `#[must_use]`
76c4a227353 Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35
19154314fd1 no unsafe pointer and no overflowing_literals in fmt::Display of integers
ea88c5f84a4 For NonZero impl macros, give unsigned impls access to the corresponding signed type
3b1968368f2 OnceCell & OnceLock docs: Using (un)initialized consistently
a6874f4ca1e std::fs: further simplify dirent64 handling
e39a0b26a7b Merge from rustc
4a49a0c399e Docs for f16 and f128: correct a typo and add details
d3a623284ec Rollup merge of #136452 - RalfJung:miri-sync, r=RalfJung
9c480135f36 Remove stabilized feature gate
b6239637fc3 std: move network code into `sys`
703cbc1fec9 Rollup merge of #136434 - RalfJung:rustc_allowed_through_unstable_modules-deprecation-required, r=compiler-errors
7af9dd25aff Rollup merge of #136283 - hkBst:patch-31, r=workingjubilee
74f272849c8 Rollup merge of #134272 - RalfJung:destabilize-rustc_encodable_decodable, r=oli-obk
a58c0451843 Merge from rustc
54a0b27009a rustc_allowed_through_unstable_modules: require deprecation message
a120861e34b Rollup merge of #136133 - hkBst:patch-23, r=ibraheemdev
4ad629e9758 uefi: process: Add support for command environment variables
046ce6a1061 Use `widening_mul`
1c4078f12c8 add UnsafeCell direct access APIs
c74858a43f2 Rollup merge of #136364 - hkBst:ptr_cmp_docs, r=tgross35
b55be6bc42d Rollup merge of #136360 - slanterns:once_wait, r=tgross35
b2c29a5d3ce Rollup merge of #136307 - WaffleLapkin:minminmin, r=scottmcm
bd111f66c41 Rollup merge of #135684 - ranger-ross:mutex-docs, r=joboet
4d54555054f document ptr comparison being by address
322f4ff60ea Fix sentence in process::abort
86eb99c849a More PR feedback
1ad1e30da56 PR feedback
21ff5a9f1e2 Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
7c35620e431 docs: Documented Send and Sync requirements for Mutex + MutexGuard
bd42cf90f26 Merge from rustc
fdf76cc8147 Rollup merge of #136351 - Darksonn:coerce-pointee-docs, r=compiler-errors
c019c23231f Rollup merge of #136163 - uellenberg:driftsort-off-by-one, r=Mark-Simulacrum
fed18ca6d6c stabilize `once_wait`
f29597fd21e Auto merge of #134424 - 1c3t3a:null-checks, r=saethlin
2db2320e5b6 Add documentation for derive(CoercePointee)
d3b13153b26 Insert null checks for pointer dereferences when debug assertions are enabled
aa603ac5d92 Update encode_utf16 to mention it is native endian
8c6905a4de2 Update fs.rs
16badee296b Auto merge of #136332 - jhpratt:rollup-aa69d0e, r=jhpratt
28c497cc543 Rollup merge of #136300 - RalfJung:compare-and-swap, r=joboet
a5de5134ed8 Rollup merge of #136296 - RalfJung:float-min-max, r=tgross35
ca9639dab13 Rollup merge of #135414 - tgross35:stabilize-const_black_box, r=dtolnay
370a1cdeea7 Merge from rustc
b88edf4ecc1 implement all min/max fns in terms of `<`/`is_lt`
fcb2bc3cc94 implement unstable `new_range` feature
24bdb9aa495 improve doc tests for (min/max/minmax).* functions
f7de368b9dd std::range
137c2bb32b5 Rollup merge of #136288 - joshtriplett:would-you-could-you-with-some-locks--would-you-could-you-in-some-docs, r=m-ou-se
796e5e780fd Rollup merge of #136271 - Sky9x:debug-maybeuninit-footgun, r=tgross35
163f5dd0a3f Rollup merge of #135852 - lukas-code:asyncfn-prelude-core, r=compiler-errors
edde199a2aa Rollup merge of #135475 - Ayush1325:uefi-absolute-path, r=jhpratt
c31ed471b03 black_box integer-input on fmt benches
10a7afcda8c Auto merge of #134824 - niklasf:int_from_ascii, r=ibraheemdev
cea1bedbf46 Improve instant docs
26491184e2e atomic: extend compare_and_swap migration docs
0c79ce207e1 float::min/max: mention the non-determinism around signed 0
b4e2280fef5 Improve documentation for file locking
21622375a4e Merge from rustc
24ff8ae468a Rollup merge of #136259 - hkBst:patch-30, r=thomcc
83aa5c1315a Rollup merge of #136215 - btj:patch-1, r=cuviper
6d7c45f8fd6 Rollup merge of #135847 - edwloef:slice_ptr_rotate_opt, r=scottmcm
819ca901db1 Remove minor future footgun in `impl Debug for MaybeUninit`
3830bbed32e Cleanup docs for Allocator
e4ae302d24f add inline attribute and codegen test
b4f1712972e split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
963194bd855 Auto merge of #136248 - matthiaskrgr:rollup-leaxgfd, r=matthiaskrgr
506db6f503d Rollup merge of #136092 - tbu-:pr_io_pipe_test, r=joboet
665fab7c016 Auto merge of #136227 - fmease:rollup-ewpvznh, r=fmease
10598dc2e3b Fix off-by-one error causing driftsort to crash
f23398091be btree/node.rs: pop_internal_level: does not invalidate other handles
579d90bd9ff Merge from rustc
72aeea30fa0 Simplify Rc::as_ptr docs + typo fix
44051b31651 Rollup merge of #136186 - Ayush1325:uefi-process-args-fix, r=nicholasbishop,Noratrieb
c8953bcdc54 Rollup merge of #135625 - c410-f3r:cfg-match-foo-bar-baz, r=tgross35,jhpratt
7276d04619b Allow Rust to use a number of libc filesystem calls
dcd657596b0 btree/node.rs: remove incorrect comment from pop_internal_level docs
e6a7f5d73d6 Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgr
7205f0af655 Rollup merge of #136173 - taiki-e:c-char, r=tgross35
0ae2a30dfce Rollup merge of #136071 - wowinter13:clippy-add-diagnostic-items, r=flip1995
e449a6c2eba Rollup merge of #135869 - hkBst:patch-12, r=Noratrieb
ced312fce29 Stabilize `get_many_mut` as `get_disjoint_mut`
344f948cf64 uefi: process: Fix args
496fe7162ba Rollup merge of #136012 - hkBst:patch-22, r=workingjubilee,tgross35
7a3a419ca8a Rollup merge of #135886 - hkBst:patch-14, r=workingjubilee
d53c0000980 Rollup merge of #135805 - DiuDiu777:master, r=Noratrieb
d37ac725dd2 Rollup merge of #135367 - Urgau:unreach_pub-std-3, r=Noratrieb
403b0b39947 Rollup merge of #133829 - GrigorenkoPV:fetch_update_infallible, r=Noratrieb
061edde269f Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
527882bf14d Document powf and powi calls that always return 1.0
c4cd0b7c050 Update comments and sort target_arch in c_char_definition
b93feb588c2 Stabilize target_feature_11
1056a819cfd Auto merge of #136110 - RalfJung:miri-sync, r=RalfJung
f9be93972e7 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
35704ea4c8d Stabilize `num_midpoint_signed` feature
32749149926 Rollup merge of #135876 - usamoi:mpmc-doc, r=tgross35
f64b962fba0 Rollup merge of #135807 - jhpratt:phantom-variance, r=Amanieu
a50e3d7f54a Rollup merge of #135773 - hkBst:patch-10, r=tgross35
63483318baa Clarify WindowsMut (Lending)Iterator
6837e59fd85 Stabilize `const_black_box`
fb9d3ac464c Auto merge of #136116 - fmease:rollup-c8pk3mj, r=fmease
67ec627b006 Auto merge of #135937 - bjorn3:separate_coretests_crate, r=jieyouxu,tgross35
5b36cacd712 fix doc for std::sync::mpmc
1f97890ce49 Rollup merge of #136079 - RalfJung:compiler-fence-example, r=jhpratt
87604101dfd Rollup merge of #135635 - tbu-:pr_io_pipe, r=joboet
84e37e67d7a compiler_fence: fix example
bcb90340247 Optimize `Rc::<str>::default()` implementation
89d7937a36b Document purpose of closure in from_fn.rs more clearly
68f6b01c245 Auto merge of #136087 - jhpratt:rollup-tam1mzn, r=jhpratt
d98d447d2b7 Test pipes also when not running on Windows and Linux simultaneously
d1fa0a4fbd4 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
7ce37737631 Move `std::io::pipe` code into its own file
21785685d34 Actually run the bstr test
8033d307f45 Move env modifying tests to a separate integration test
fcaf2f1c5f0 Fix for SGX
a3e6b238bf3 Fix benchmarking of libstd
2e6b5b9050d Move std::sync unit tests to integration tests
d2711596742 Move std::thread_local unit tests to integration tests
7e7ca2b9660 Move std::time unit tests to integration tests
316f77df27a Move std::path unit tests to integration tests
8c02a576d13 Move std::panic unit tests to integration tests
74893de3fef Move std::num unit tests to integration tests
a32e504c488 Move std float unit tests to integration tests
bac6108c031 Move std::error unit tests to integration tests
f7bc549cb3f Move std::env unit tests to integration tests
555025b0c6f Update comment
06ee7516ffb Put all coretests in a separate crate
1396e007c88 reduce `Box::default` stack copies in debug mode
7aec69acb8a Rollup merge of #136019 - scottmcm:alias-unchecked-div, r=Mark-Simulacrum
567ad8ea64d Rollup merge of #133631 - flba-eb:add_nto_qnx71_iosock_support, r=workingjubilee
cd30b1eb972 Windows: Test that deleting a running binary fails
063f8c2636a Update platform information for remove_file
c3df8206e50 Windows: remove readonly files
ddd1a4cecea Merge from rustc
5fe03baa519 Implement phantom variance markers
c0037d7ad4d Rollup merge of #135948 - bjorn3:update_emscripten_std_tests, r=Mark-Simulacrum
ca5e77e0499 Rollup merge of #134283 - epage:logfile, r=Amanieu
9d4544cc8ca [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
90506de9204 Rollup merge of #136039 - nvanbenschoten:pin-typo, r=Amanieu
af1ba12a51d Rollup merge of #136005 - BLANKatGITHUB:library, r=RalfJung
f1213b300c6 Improve and expand documentation of pipes
6c1c3c0bf7c Correct comment for FreeBSD and DragonFly BSD in unix/thread
0285d898938 Rollup merge of #135991 - no1wudi:master, r=thomcc
bb0afaa57fe Rollup merge of #135977 - nyurik:fix-fmt-options, r=joboet
ff9e88a2097 docs: fix typo in std::pin overview
37370b0c584 Merge from rustc
8ecd2bcf0a9 Rollup merge of #135938 - carlsverre:master, r=joboet
cdb3e29386a Rollup merge of #135728 - hkBst:patch-8, r=joboet
773b5d508cb Rollup merge of #135415 - Harshit933:hard-link-error, r=ChrisDenton
af788b438df Stabilize `vec_pop_if`
03ab09910c1 fix(libtest): Deprecate '--logfile'
74e2341dc38 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
eb6fbc8096a Update library/core/src/num/nonzero.rs
92835a3f194 Add `File already exists` error doc to `hard_link` function
f0f1a87d800 ports last few library files to new intrinsic style
cf546c814bb Rollup merge of #135983 - hkBst:patch-13, r=jhpratt
7edb3047441 Rollup merge of #135956 - GrigorenkoPV:vec_pop_off, r=dtolnay
ee9cefa410f Fix set_name in thread mod for NuttX
3620eec3493 add nto80 x86-64 and aarch64 target
9bb1668f214 Add support for QNX 7.1 with io-sock on x64
d6342fa9aba Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
035c12ec8bf Doc difference between extend and extend_from_slice
a274dc05834 Update a bunch of comments from before wasi support was added
558f11a550d Remove a bunch of emscripten test ignores
2b9f32ec29a Fix testing of the standard library with Emscripten
5551cba498d Auto merge of #135978 - matthiaskrgr:rollup-ni16gqr, r=matthiaskrgr
b2c0a9ef4e7 Rollup merge of #135890 - GrigorenkoPV:deque-pop-if, r=thomcc
1acbfe7524b Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35
6544b00a8fb Fix `FormattingOptions` instantiation with `Default`
1b48955d367 Auto merge of #135959 - matthiaskrgr:rollup-0jenyfw, r=matthiaskrgr
2f8df6078a7 Rollup merge of #135366 - Urgau:unreach_pub-std-2, r=cuviper
7996d149512 Make `Vec::pop_if` a bit more presentable
a2a21f1de2f Rollup merge of #135073 - joshtriplett:bstr, r=BurntSushi
25a698d219d Add memory layout documentation to generic NonZero<T>
c5b0f81666b Rollup merge of #135883 - GrigorenkoPV:btree_set_upper_bound_mut, r=tgross35
8bd8c106e94 Implement `AtomicT::update` & `AtomicT::try_update`
85dbbfdff48 Rollup merge of #135856 - fmease:library-mv-obj-save-dyn-compat-ii, r=tgross35
12bfc4e7bf7 Rollup merge of #135837 - ChrisDenton:trunc, r=Noratrieb
23cbfa61496 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
5a5cbddddb9 Implement `CloneToUninit` for `ByteStr`
7f701724cf5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
70c35f71879 Add doc aliases for BStr and BString
93da2972cf8 Library: Finalize dyn compatibility renaming
f1b7b24d44e Add `AsyncFn*` to core prelude
6ab5ba61e9a Rollup merge of #135821 - hkBst:patch-11, r=ibraheemdev
8ea3470dd75 Rollup merge of #135750 - scottmcm:cma-example, r=cuviper
6ea8945f347 optimize slice::ptr_rotate for compile-time-constant small rotates
84b04a92dfd [cfg_match] Document the use of expressions
c55947fa5e9 Remove test panic from File::open
cd5dca3ed5c fix OsString::from_encoded_bytes_unchecked description
a8ce127e2ee add missing allocator safety in alloc crate
9e9be1932e2 Auto merge of #135224 - wyfo:tls-panic-outline, r=cuviper
465366c7574 Auto merge of #134286 - Urgau:unreach_pub-std, r=ibraheemdev
9e295224a6a Rollup merge of #135741 - bardiharborow:std/net/rfc9637, r=Amanieu
8f124ce2150 Rollup merge of #133695 - x17jiri:hint_likely, r=Amanieu
64f6d4d4203 alloc: add `#![warn(unreachable_pub)]`
9f1e1f2f90b test: add `#![warn(unreachable_pub)]`
a1a4f7a5752 proc_macro: add `#![warn(unreachable_pub)]`
7c020ae9a45 core: `#[allow(unreachable_pub)]` on unreachable `pub use`
9412a163d7b core: add `#![warn(unreachable_pub)]`
e82f2a31a59 rtstartup: add `#![warn(unreachable_pub)]`
7e3f5d54b07 panic_unwind: add `#![warn(unreachable_pub)]`
9dff2820ffd 1. Removed 'rustc_nounwind' 2. Rewording of comments
b3e668cd01d Rollup merge of #135762 - TomFryersMidsummer:patch-1, r=joboet
6982b19d1e4 Rollup merge of #135626 - clubby789:env-note, r=ibraheemdev
150649f77be Correct counting to four in cell module docs
151c72de98d Rollup merge of #135491 - RalfJung:remove-dead-rustc_allowed_through_unstable_modules, r=Mark-Simulacrum
d19faac64ad Rollup merge of #135446 - klensy:panic_immediate_abort_ext, r=Mark-Simulacrum
2ab070f4daa Add an example of using `carrying_mul_add` to write wider multiplication
552e6773cb0 Recognise new IPv6 documentation range from RFC9637
0db32633608 Fix whitespace
f02e25ecde7 Auto merge of #135714 - rust-lang:cargo_update, r=clubby789
a8c73bd904b document order of items in iterator from drain
5cfbae8e8f5 Auto merge of #134976 - mgsloan:improve-select-nth-unstable-docs, r=ibraheemdev
1591282e846 Auto merge of #135709 - lqd:bring-back-len, r=compiler-errors
a0600dba81c Rewrap following accepting review suggestions from @ibraheemdev
aa330bd99ef Update library/core/src/slice/mod.rs
44de88ef1b5 Update library/core/src/slice/mod.rs
baec7cbb213 Update library/core/src/slice/mod.rs
3cf8967abc5 Update library/core/src/slice/mod.rs
d63afbbadb2 Update library/core/src/slice/mod.rs
18b80248051 Update library/core/src/slice/mod.rs
ab43bf71397 Update library/core/src/slice/mod.rs
db5a4e83ae6 Update library/core/src/slice/mod.rs
d714fcb42f4 Update library/core/src/slice/mod.rs
5d51a1c1bc8 Update library/core/src/slice/mod.rs
953b13a9edc cargo update
a0babe16715 Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
f02ac3b184b `then be` -> `be` based on feedback from @ibraheemdev
76a0bc6c4c9 Merge commit '3383cfbd3572465febc7a8f816a46304373de46a' into sync-from-portable-simd-2025-01-18
852288aff02 re-export `core::iter::FromCoroutine`
2209a2962d4 Rollup merge of #135661 - tgross35:stabilize-float_next_up_down, r=scottmcm
c4b0bc2837e Rollup merge of #135583 - NobodyXu:move-pipe-to-io, r=joshtriplett
5cd9dd86a00 Add references to the IEEE functions for `float_next_up_down`
e5fcc9c0b76 Stabilize `float_next_up_down`
1284521932c Fix import of pipe in kernel_copy.rs
5e4fcffc97d doc: Point to methods on `Command` as alternatives to `set/remove_var`
805c2dccd44 Rollup merge of #135556 - AeonSolstice:patch-1, r=tgross35
5b7ffd59c43 Rollup merge of #134496 - DiuDiu777:fix-doc, r=ibraheemdev
cbe64a01fc5 Rollup merge of #133720 - c410-f3r:cfg-match-foo-bar-baz, r=joshtriplett
ef9aea47059 Move `std::pipe::*` into `std::io`
4f467b42ba7 fix typo in library/alloc/src/sync.rs
da96665eefc Less unsafe in `dangling`/`without_provenance`
d3abf38600a uefi: Implement path
65a01a5f4b1 Auto merge of #135555 - matthiaskrgr:rollup-jnqdbuu, r=matthiaskrgr
d9505c70d6c Clarify note in `std::sync::LazyLock` example
21e4a2d669d Rollup merge of #135497 - DJMrTV:master, r=jhpratt
83ed08293cb Export likely(), unlikely() and cold_path() in std::hint
fe946414929 fix typo in typenames of pin documentation
bb9ef57a909 Rollup merge of #135003 - RalfJung:deprecate-allowed-through-unstable, r=davidtwco
6e419fe7a8c Rollup merge of #132654 - joboet:lazy_main, r=ChrisDenton
e3e8b608446 Auto merge of #135525 - jhpratt:rollup-4gu2wpm, r=jhpratt
877f6cf897c Rollup merge of #134678 - zachs18:offset-ptr-update, r=tgross35
c6b3ac166a6 Rollup merge of #134338 - tgross35:overflowing-c-safe-ret, r=bjorn3,antoyo
849de68f9db Rollup merge of #134143 - nyurik:err-nul, r=dtolnay
cba1b03c4c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
2a3b9f9605d Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
9415759b85a Update compiler-builtins to 0.1.143
9e11ae06d7e Rollup merge of #135423 - compiler-errors:enforce-const-trait-syntactical, r=oli-obk,RalfJung
f29524bd8d6 Enforce syntactical stability of const traits in HIR
4bfbfccb5fb Update compiler-builtins to 0.1.141
b18eda95208 wasi/io: remove dead files
bdb206ed163 remove unnecessary rustc_allowed_through_unstable_modules
46700095e23 remove pointless allowed_through_unstable_modules on TryFromSliceError
1089a250343 remove Rustc{En,De}codable from library and compiler
a40af1146a7 make rustc_encodable_decodable feature properly unstable
9207ccdd921 add comments explaining main thread identification
bb7893c2eb6 std: lazily allocate the main thread handle
7ad0ee7d8f9 Revert "Remove the Arc rt::init allocation for thread info"
da43f89db02 Auto merge of #135473 - matthiaskrgr:rollup-ksnst4l, r=matthiaskrgr
5647815cb1d Rollup merge of #135381 - cod10129:vec-splice-doc, r=tgross35
a6fe12e559e Auto merge of #135359 - RalfJung:lang-start-unwind, r=joboet
919b916b23e Auto merge of #135465 - jhpratt:rollup-7p93bct, r=jhpratt
5146a4581f5 Rollup merge of #135393 - Ayush1325:uefi-helper-path, r=thomcc
33d0c87f82c Add another `Vec::splice` example
0c666f9d720 uefi: helpers: Introduce OwnedDevicePath
0537880dc4e further improve panic_immediate_abort by removing rtprintpanic messages
3c898262b72 Rollup merge of #135405 - Ayush1325:path-is-absolute, r=tgross35
6bf6a713d82 path: Move is_absolute check to sys::path
535c131a2c3 Auto merge of #135420 - GuillaumeGomez:rollup-93vepka, r=GuillaumeGomez
185ce5d37ad Auto merge of #135384 - saethlin:inline-copy-from-slice, r=joboet
1aa84ce9770 Update the explanation for why we use box_new in vec!
a73d8c4b667 Auto merge of #135402 - matthiaskrgr:rollup-cz7hs13, r=matthiaskrgr
1dc48ed3e0d Omit some more `From` impls to avoid inference failures
51792a48082 Rollup merge of #135379 - steffahn:uniquerc-invariant, r=Mark-Simulacrum
f794b72956c Add inherent versions of MaybeUninit methods for slices
3a45a4eb1ed Add #[inline] to copy_from_slice
303e0607772 Auto merge of #135360 - RalfJung:structural-partial-eq, r=compiler-errors
82a0d964348 Make UniqueRc invariant for soundness
9b1aa855cea avoid nesting the user-defined main so deeply on the stack
a2eb38a8ae0 use a single large catch_unwind in lang_start
cd296bda550 update and clarify StructuralPartialEq docs
b90f4f50a8b Rename `pos` to `position`
79d1b07ab32 Convert `struct FromBytesWithNulError` into enum
abfb421b3b4 Rollup merge of #135347 - samueltardieu:push-qvyxtxsqyxyr, r=jhpratt
8a581ca8709 Rollup merge of #135324 - Ayush1325:uefi-fs-unsupported, r=joboet
26b3e33a49d Rollup merge of #135236 - scottmcm:more-mcp807-library-updates, r=ChrisDenton
626b75c9284 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
e178b996c13 Add `#[cfg(not(test))]` to some impls to work around https://github.com/rust-lang/rust/issues/135100
3b795a30635 Implement `ByteStr` and `ByteString` types
d2a7e08319c Improve the safety documentation on new_unchecked
5562e3eda39 Use `NonNull::without_provenance` within the standard library
1c5b11eb90e alloc: remove unsound `IsZero` for raw pointers
c0a400e1845 Rollup merge of #134693 - SpriteOvO:proc-macro-use-to-tokens-in-quote, r=tgross35
65debb141be Rollup merge of #132607 - YohDeadfall:pthread-name-fn-with-result, r=tgross35
113f9a457d7 Update a bunch of library types for MCP807
024e87c1e02 Initial fs module for uefi
e339830a52e Rollup merge of #134908 - madsmtm:ptr-from_ref-docs, r=ibraheemdev
23cbdb5d6c4 Rollup merge of #134619 - hkBst:patch-7, r=jhpratt
fbd1013a4e7 Fix `proc_macro::quote!` for raw ident
c91f89602fb Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
88431131a2c Used pthread name functions returning result for FreeBSD and DragonFly
9b9b82a1935 Auto merge of #135268 - pietroalbini:pa-bump-stage0, r=Mark-Simulacrum
0cae6ffb6fd Rollup merge of #135269 - estebank:unneeded-into, r=compiler-errors
91009c36e85 Rollup merge of #135242 - RalfJung:nonnull-provenance, r=jhpratt
c4bd937e407 Remove some unnecessary `.into()` calls
f63527614d9 fmt
5662ec1f8fa update cfg(bootstrap)
f2aeadc0772 update version placeholders
845e44902d3 add missing provenance APIs on NonNull
e4396934376 Rollup merge of #135176 - kornelski:env-example, r=cuviper
9f93eda235b Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-se
743b57e0c3f Rollup merge of #133057 - tisonkun:into-chars, r=Amanieu
c3e22fe7795 Outline panicking code for `LocalKey::with`
8628897d12a Avoid naming variables `str`
339a2dc76ff Rollup merge of #135139 - c410-f3r:8-years-rfc, r=jhpratt
7cf409a5b7d Rollup merge of #131830 - hoodmane:emscripten-wasm-eh, r=workingjubilee
3b5d689fec8 More compelling env_clear() examples
484095e7fa3 Rollup merge of #135153 - crystalstall:master, r=workingjubilee
76b384d41d7 Add support for wasm exception handling to Emscripten target
0c09a242f2f chore: remove redundant words in comment
2d2189b7506 Rollup merge of #135111 - tgross35:float-doc-aliases, r=Noratrieb
d91ef098887 [generic_assert] Constify methods used by the formatting system
669fed8acb3 Rollup merge of #135121 - okaneco:const_slice_reverse, r=jhpratt
4ada746967e Mark `slice::reverse` unstably const
24ca61e77ac Clarified the documentation on core::iter::from_fn and core::iter::successors
65d0dcd8df1 Rollup merge of #135110 - matthiaskrgr:adler, r=workingjubilee
747526fc059 Rollup merge of #135104 - the8472:disable-in-place-iter-for-flatten, r=Mark-Simulacrum
55c357e2dd1 Rollup merge of #134996 - bdbai:uwp-support, r=jieyouxu,ChrisDenton
5ffa79c0ac0 Add doc aliases for `libm` and IEEE names
594064c0242 library: fix adler{-> 2}.debug
5e20cf6fbae add regression test for unsound Flatten/FlatMap specialization
acbb92c21b0 do not in-place-iterate over flatmap/flatten
81e046bad74 Rollup merge of #135091 - workingjubilee:backtrace-0.3.75, r=workingjubilee
22e773a058e Rollup merge of #135070 - klensy:backtrace-deps, r=workingjubilee
d59d6ccf103 Rollup merge of #135046 - RalfJung:rustc_box_intrinsic, r=compiler-errors
010824d0035 Rollup merge of #133964 - joboet:select_unpredictable, r=tgross35
13f8d6dbc50 Bump backtrace to 0.3.75
e6ba295a9bc Rollup merge of #133420 - thesummer:rtems-unwind, r=workingjubilee
2f9707577b5 sync to actual dep verions of backtrace
735f9e90dec turn rustc_box into an intrinsic
9a23ebf3f4c Auto merge of #135059 - matthiaskrgr:rollup-0ka9o3h, r=matthiaskrgr
4a71d50df08 Rollup merge of #134241 - liigo:patch-16, r=dtolnay
174456429ba Auto merge of #134692 - GrigorenkoPV:sync_poision, r=tgross35
ee339481ec7 Fix UWP build
953aceec482 Bump backtrace to rust-lang/backtrace-rs@4d7906b
7219780eba4 Auto merge of #122565 - Zoxc:atomic-panic-msg, r=the8472
0ab3dac3cff path in detail
a22793a0737 Move some things to `std::sync::poison` and reexport them in `std::sync`
27c2ef23a25 fix doc for missing Box allocator consistency
c580f13d89b Auto merge of #135005 - matthiaskrgr:rollup-5ubuitt, r=matthiaskrgr
473e405d358 Rollup merge of #134985 - mgsloan:remove-unnecessary-qualification-in-Ord-trait-docs, r=Noratrieb
44eecab953b Rename the internal simpler `quote` macro to `minimal_quote`
92a0f5b9ce0 Auto merge of #134080 - kleisauke:avoid-lfs64-emscripten, r=Noratrieb
f1922549d00 Try to write the panic message with a single `write_all` call
ff578a7444e Stabilize const_slice_flatten
0e32305c45a std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
e21d7001f85 Avoid use of LFS64 symbols on Emscripten
1d06d767d86 Auto merge of #134969 - Marcondiro:master, r=jhpratt,programmerjake
8d8d1ab5e75 Rollup merge of #131439 - mu001999-contrib:cleanup/static-mut, r=estebank
9c387e43f6e Improve `select_nth_unstable` documentation clarity
2f4c9479f60 Remove qualification of `std::cmp::Ordering` in `Ord` doc
44ca9a9da1b Auto merge of #132195 - clarfonthey:bigint-mul, r=scottmcm
663fff5f91b Auto merge of #134966 - matthiaskrgr:rollup-lmhmgsv, r=matthiaskrgr
6e286412535 char to_digit: avoid unnecessary casts to u64
ebe0a39f970 Rollup merge of #134953 - DiuDiu777:unaligned-doc, r=RalfJung
05d409aecb0 Auto merge of #134620 - ChrisDenton:line-writer, r=tgross35
fe9fa091c0d Rollup merge of #134930 - RalfJung:ptr-docs-valid-access, r=jhpratt
b590818e284 Rollup merge of #134927 - DaniPopes:const-as_flattened_mut, r=scottmcm
cd7dd952e65 fix doc for read write unaligned in zst operation
e6cbb9884c5 Auto merge of #134757 - RalfJung:const_swap, r=scottmcm
f3b61eb75cb ptr docs: make it clear that we are talking only about memory accesses
c2180531193 Make slice::as_flattened_mut unstably const
e4bf0b2c8d7 Fix ptr::from_ref documentation example comment
24280da0df3 Rollup merge of #134884 - calciumbe:patch1, r=jieyouxu
d22d9cd4b0e Rollup merge of #134870 - geofft:patch-1, r=jhpratt
211f0aac301 fix: typos
93da50afe8e Rollup merge of #134851 - lukas-code:alloc-ffi, r=tgross35
985891839da Fix sentence fragment in `pin` module docs
cf7b103c90c docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
a552fd31531 Auto merge of #134547 - SUPERCILEX:unify-copy, r=thomcc
5eacc1ec770 Rollup merge of #134832 - tgross35:update-builtins, r=tgross35
b7c05b6b0b9 Tidy up bigint mul methods
61896c646bd Rollup merge of #134823 - chloefeal:fix, r=tgross35,dtolnay
3cb6477c99d Update library/alloc/tests/sort/tests.rs
3fa0bd334f0 Update `compiler-builtins` to 0.1.140
24cacb9c2a9 Implement `int_from_ascii` (#134821)
f2b0874f58c Rollup merge of #133663 - scottmcm:carrying_mul_add, r=Amanieu
809cfe5ccfd Override `carrying_mul_add` in cg_llvm
944a0d085b0 Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
ff7dd3274c3 Fix typos
8b4329f0c13 Auto merge of #134822 - jieyouxu:rollup-5xuaq82, r=jieyouxu
e21e9758e22 Rollup merge of #134819 - ChrisDenton:trunc, r=Mark-Simulacrum
17924ab0222 Rollup merge of #134622 - ChrisDenton:write-file-utf8, r=Mark-Simulacrum
1e681e05edf Rollup merge of #134606 - RalfJung:ptr-copy-docs, r=Mark-Simulacrum
0f9f222a983 Auto merge of #134786 - ChrisDenton:fix-rename-symlink, r=tgross35
3b7acb6b147 Fix renaming symlinks on Windows
050be5afa1d Fix mistake in windows file open
dcf8d223e6d Rollup merge of #134791 - notriddle:notriddle/inline-ffi-error-types, r=tgross35
210d040c235 Rollup merge of #134789 - betrusted-io:bump-unwinding-to-0.25.0, r=Mark-Simulacrum
6a86ed7c6cc Rollup merge of #134782 - wtlin1228:docs/iter-rposition, r=Mark-Simulacrum
075f6056ac0 Rollup merge of #134728 - deltragon:barrier-doc, r=tgross35
5f603319705 Rollup merge of #134649 - SUPERCILEX:statx-remember, r=thomcc
bcdde83c731 Rollup merge of #134644 - kpreid:duplicates, r=Mark-Simulacrum
5651a28e1c2 Rollup merge of #134379 - bjoernager:slice-as-array, r=dtolnay
7a16d998228 docs: inline `core::ffi::c_str` types to `core::ffi`
80a24fdefb6 docs: inline `std::ffi::c_str` types to `std::ffi`
e6d43362543 unwinding: bump version to fix asm
9ea8b0f732e Impl FromIterator for tuples with arity 1-12
3fca93e4a73 Fix formatting
a2ae1c6c047 docs: update code example for Iterator#rposition
8b49125d7f7 stabilize const_alloc_layout
e02160c4a25 rename typed_swap → typed_swap_nonoverlapping
5b283da67c3 stabilize const_swap
47f50bb1091 Auto merge of #134729 - oliveredget:typo, r=jieyouxu
e984c76c349 Auto merge of #134722 - ChrisDenton:trunc, r=Amanieu
774f8087433 Auto merge of #134333 - daxpedda:stdarch-bump, r=daxpedda
3e858a9d32a Fix compilation issues on other unixes
cb1b72d99e6 Bump `stdarch`
035687a75ad chore: fix typos
5d20e21efb9 Use scoped threads in `std::sync::Barrier` examples
e80cf22041e Windows: Use FILE_ALLOCATION_INFO for truncation
ebfa0c1084f Rollup merge of #134689 - RalfJung:ptr-swap-test, r=oli-obk
5988ca95f08 Rollup merge of #134662 - ionicmc-rs:any-safety-docs, r=Amanieu
6bfbfb067d6 core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
1421c8733b7 Rollup merge of #134363 - estebank:derive-default, r=SparrowLii
9e289dbd5ea Rollup merge of #134672 - Zalathar:revert-coverage-attr, r=wesleywiser
c3988d4fe03 Use `#[derive(Default)]` instead of manually implementing it
c5476870276 Revert "Auto merge of #130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
eb56651bbde Auto merge of #134666 - matthiaskrgr:rollup-whe0chp, r=matthiaskrgr
7f59b6e8703 Auto merge of #131311 - rust-lang:cargo_update, r=clubby789
675a0dc735c Rollup merge of #134642 - kpreid:pointerlike-cell, r=compiler-errors
178224c20f4 Rollup merge of #134583 - Enselic:maybe-uninit-transmute, r=workingjubilee
e2723bd9475 Rollup merge of #130289 - intgr-forks:Permissions-readonly-vs-unix-root, r=ChrisDenton
1acf2df67ea Adjust syntax
4bf1dc61521 Fixes safety docs for `dyn Any + Send {+ Sync}`
35382bc9501 Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
4a1f6d7109e Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper
177a2ab4756 docs: Permissions.readonly() also ignores root user special permissions
8198b118e81 Improve prose around `as_slice` example of IterMut
a3a6b99125c Specify only that duplicates are discarded, not the order.
ac12bfb386b Auto merge of #131193 - EFanZh:asserts-vec-len, r=the8472
b1151c66fa3 Delete `Rvalue::Len`
c5f6d826cd3 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
d22659c0e48 Impl String::into_chars
ad3549bd588 Stabilize `hash_extract_if`
45467334d33 Rollup merge of #134602 - kpreid:pointerlike-doc, r=tgross35
c7e8fb44cdf Fix forgetting to save statx availability on success
07172200a6c Auto merge of #134640 - matthiaskrgr:rollup-xlstm3o, r=matthiaskrgr
28c860b4c8c Document collection `From` and `FromIterator` impls that drop duplicate keys.
aed9dc03570 Rollup merge of #134630 - fifty-six:master, r=workingjubilee
5e7cf4f81e0 Auto merge of #130733 - okaneco:is_ascii, r=scottmcm
2c57eaf3e7d cargo update
f5201b89fc9 Eliminate redundant statx syscalls
3a79bbe6b81 Rollup merge of #134325 - theemathas:is_null-docs, r=RalfJung
feddec9b49f Rollup merge of #131072 - Fulgen301:windows-rename-posix-semantics, r=ChrisDenton
28ac7bfba97 Use `&raw` for `ptr` primitive docs
e63eeba1b98 Unify fs::copy and io::copy
7b6a9ccc464 Windows: Use WriteFile to write to a UTF-8 console
2b4c33516bd Avoid short writes in LineWriter
2f63fd886e5 Document CTFE behavior of methods that call is_null
0c3132fcb3c Correctly document is_null CTFE behavior.
f719b4e3226 ptr::copy: fix docs for the overlapping case
b176a9910ca Rollup merge of #134593 - kornelski:less-unwrap, r=jhpratt
d4885751137 Rollup merge of #134579 - hkBst:patch-6, r=jhpratt
9420b21b202 Rollup merge of #134577 - hkBst:patch-5, r=jhpratt
b1507559aa1 Rollup merge of #134576 - hkBst:patch-4, r=jhpratt
99b8c86155a Document `PointerLike` implementation restrictions.
e0c9b99a164 Less unwrap() in documentation
3392d71fb7b Rollup merge of #123604 - michaelvanstraten:proc_thread_attribute_list, r=ChrisDenton
8fdd27af678 Rollup merge of…
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Mar 22, 2025
505c3c8 Rustfmt
c3b10a4 occured -> occurred
ad3cba5 Allow Rust to use a number of libc filesystem calls
93437cf Windows: Test that deleting a running binary fails
9f5b3e5 Update platform information for remove_file
11be887 Windows: remove readonly files
5f99f47 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
a197bfd Document `Sum::sum` returns additive identities for `[]`
1ea5b61 Clean up 'HashMap' and 'HashSet' docs;
4c436f9 Optimize `Rc::<str>::default()` implementation
3a487d3 std: get rid of `sys_common::io`
ddfee75 std: move `io` module out of `pal`
cc39f5f Move two windows process tests to tests/ui
6bc5566 tests(std/net): remove outdated `base_port` calculation
cff11b5 sys: net: Add UEFI stubs
683c5bd Remove some unnecessary parens in `assert!` conditions
566501e remove use of `feature(trait_upcasting)` from core tests
75a291d Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
7c46d15 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
521b3a1 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
80df787 Fix unreachable_pub lint for hermit target
8f9eead Fix link in from_fn.rs
84b1c6b Use `widening_mul`
8c91286 Add OneSidedRangeBound to eliminate panic in `split_point_of`
615ac67 Rename slice::take methods to split_off
e581f3d Update `compiler-builtins` to 0.1.145
bfb2b74 specify a prim@slice in docs
8c0e793 implement inherent str constructors
dd109d3 std: move network code into `sys`
42aed2c uefi: process: Add support for command environment variables
19f6ff4 Mark `std::fmt::from_fn` as `#[must_use]`
a405ef7 Rename rustc_contract to contract
c1068b5 Improve contracts intrisics and remove wrapper function
44a468b Separate contract feature gates for the internal machinery
1c65514 Desugars contract into the internal AST extensions
6407c96 Express contracts as part of function header and lower it to the contract lang items
50d8cc3 contracts: added lang items that act as hooks for rustc-injected code to invoke.
45b8d2e Contracts core intrinsics.
a041614 More PR feedback
57aa72f PR feedback
76b9c4a Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
06eddc4 Add note about `FnPtr` being exposed as public bound
fa3b863 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
00041c1 For NonZero impl macros, give unsigned impls access to the corresponding signed type
03c1ccc std::fs: further simplify dirent64 handling
3356ec9 add UnsafeCell direct access APIs
421117f primitive type migration from mod.rs to primitives.rs
07e2207 implement unstable `new_range` feature
3814421 std::range
de1363e Remove stabilized feature gate
58b6f8a Move env modifying tests to a separate integration test
71d2a2a Fix for SGX
ca8b409 Fix benchmarking of libstd
7d0ebf6 Move std::sync unit tests to integration tests
c6a9e1d Move std::thread_local unit tests to integration tests
dacacf8 Move std::time unit tests to integration tests
3e333a9 Move std::path unit tests to integration tests
9efded4 Move std::panic unit tests to integration tests
c96035e Move std::num unit tests to integration tests
f636948 Move std float unit tests to integration tests
151fa67 Move std::error unit tests to integration tests
b428865 Move std::env unit tests to integration tests
aeb35a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
b3f7733 black_box integer-input on fmt benches
56b9550 OnceCell & OnceLock docs: Using (un)initialized consistently
afd1ecf Docs for f16 and f128: correct a typo and add details
346f6b7 rustc_allowed_through_unstable_modules: require deprecation message
5eaaff8 Update encode_utf16 to mention it is native endian
14fa6ab remove Rustc{En,De}codable from library and compiler
27ed051 make rustc_encodable_decodable feature properly unstable
ee0b5a2 Fix sentence in process::abort
71d62b7 document ptr comparison being by address
1566c46 stabilize `once_wait`
d938809 implement all min/max fns in terms of `<`/`is_lt`
798f65c improve doc tests for (min/max/minmax).* functions
4e90b7a docs: Documented Send and Sync requirements for Mutex + MutexGuard
868ac70 Add documentation for derive(CoercePointee)
e95d494 Fix off-by-one error causing driftsort to crash
d3bea56 Insert null checks for pointer dereferences when debug assertions are enabled
f1773c2 atomic: extend compare_and_swap migration docs
3f85d13 float::min/max: mention the non-determinism around signed 0
3e4aa44 Stabilize `const_black_box`
691da58 Improve documentation for file locking
0d78910 Remove minor future footgun in `impl Debug for MaybeUninit`
e82cc84 Add `AsyncFn*` to core prelude
8921682 uefi: Implement path
0bf17b9 Implement `int_from_ascii` (rust-lang#134821)
646476d Cleanup docs for Allocator
7c394f8 btree/node.rs: pop_internal_level: does not invalidate other handles
526aa0f btree/node.rs: remove incorrect comment from pop_internal_level docs
d05bdb4 add inline attribute and codegen test
0856ddd split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
f7c202f optimize slice::ptr_rotate for compile-time-constant small rotates
b60ffa9 Test pipes also when not running on Windows and Linux simultaneously
a3c5ef7 uefi: process: Fix args
e567cd3 [cfg_match] Document the use of expressions
48057ed Update comments and sort target_arch in c_char_definition
00a6d73 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c857fa2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
8c55c11 Document powf and powi calls that always return 1.0
261a207 Document purpose of closure in from_fn.rs more clearly
b2d6ca3 add missing allocator safety in alloc crate
5fa2aac alloc: add `#![warn(unreachable_pub)]`
b7e7846 Implement `AtomicT::update` & `AtomicT::try_update`
a3e955e fix doc for std::sync::mpmc
0fef9be Implement phantom variance markers
6f18a82 Clarify WindowsMut (Lending)Iterator
89af143 compiler_fence: fix example
3584874 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
fc9314c Move `std::io::pipe` code into its own file
16e356d Actually run the bstr test
868b9b4 Update comment
5f3b89e Put all coretests in a separate crate
580d2f8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
07ffa14 add nto80 x86-64 and aarch64 target
8bb6a3a Add support for QNX 7.1 with io-sock on x64
10558cf Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
22f2962 Update a bunch of comments from before wasi support was added
e814454 Remove a bunch of emscripten test ignores
50e05db Fix testing of the standard library with Emscripten
34655dd fix(libtest): Deprecate '--logfile'
c1ad8b8 docs: fix typo in std::pin overview
6c960e1 ports last few library files to new intrinsic style
0f6e17b Improve and expand documentation of pipes
7846136 Fix set_name in thread mod for NuttX
39818db Fix `FormattingOptions` instantiation with `Default`
891d6c7 Update library/core/src/num/nonzero.rs
67e0fbe Add memory layout documentation to generic NonZero<T>
018d0e3 Fix whitespace
50f56cf document order of items in iterator from drain
96b5a8d Add `File already exists` error doc to `hard_link` function
7c12606 Doc difference between extend and extend_from_slice
4b83b43 Make `Vec::pop_if` a bit more presentable
7ebdac8 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
b2487ef remove pointless allowed_through_unstable_modules on TryFromSliceError
bc7f965 test: add `#![warn(unreachable_pub)]`
ac9cdc1 proc_macro: add `#![warn(unreachable_pub)]`
8cdb99e Implement `CloneToUninit` for `ByteStr`
12e2688 Add doc aliases for BStr and BString
c1dd147 Omit some more `From` impls to avoid inference failures
d63aa46 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
9c52eb7 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7c8c49b Implement `ByteStr` and `ByteString` types
af75ed5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
e51de5e Library: Finalize dyn compatibility renaming
9a470c4 Remove test panic from File::open
0c79274 fix OsString::from_encoded_bytes_unchecked description
96fdc4d Add an example of using `carrying_mul_add` to write wider multiplication
ed4d2fe Outline panicking code for `LocalKey::with`
d8dee9c core: `#[allow(unreachable_pub)]` on unreachable `pub use`
b0da2be core: add `#![warn(unreachable_pub)]`
22aafaf rtstartup: add `#![warn(unreachable_pub)]`
dabb0ec panic_unwind: add `#![warn(unreachable_pub)]`
33d7a1e Recognise new IPv6 documentation range from RFC9637
ddd0264 1. Removed 'rustc_nounwind' 2. Rewording of comments
1d4c7df Export likely(), unlikely() and cold_path() in std::hint
781d584 Correct counting to four in cell module docs
8f4a724 doc: Point to methods on `Command` as alternatives to `set/remove_var`
5ad6719 wasi/io: remove dead files
b2080f1 remove unnecessary rustc_allowed_through_unstable_modules
abe24a4 further improve panic_immediate_abort by removing rtprintpanic messages
033959d cargo update
6c89086 Rewrap following accepting review suggestions from @ibraheemdev
8f9757b Update library/core/src/slice/mod.rs
9da7fa8 Update library/core/src/slice/mod.rs
c084093 Update library/core/src/slice/mod.rs
9dd4194 Update library/core/src/slice/mod.rs
8aaeaaf Update library/core/src/slice/mod.rs
87e9b12 Update library/core/src/slice/mod.rs
168aa42 Update library/core/src/slice/mod.rs
7ddc361 Update library/core/src/slice/mod.rs
0c1f472 Update library/core/src/slice/mod.rs
e5cbc2e Update library/core/src/slice/mod.rs
05531aa `then be` -> `be` based on feedback from @ibraheemdev
7edf7ac Improve `select_nth_unstable` documentation clarity
b362a8a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
91d8f69 Add references to the IEEE functions for `float_next_up_down`
c0e35fb Stabilize `float_next_up_down`
1be8f41 Fix import of pipe in kernel_copy.rs
5ed0b61 Move `std::pipe::*` into `std::io`
24e8166 Clarify note in `std::sync::LazyLock` example
8c92ba3 fix typo in library/alloc/src/sync.rs
2eb0f65 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
550e025 Adjust syntax
331ab24 Less unsafe in `dangling`/`without_provenance`
5bde913 fix typo in typenames of pin documentation
18604c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
cdc4bb5 add comments explaining main thread identification
c67a0eb std: lazily allocate the main thread handle
b100192 Revert "Remove the Arc rt::init allocation for thread info"
1b38bb6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
ef9c212 Update compiler-builtins to 0.1.143
7b7f046 Rename `pos` to `position`
4711dea Convert `struct FromBytesWithNulError` into enum
eddc674 Enforce syntactical stability of const traits in HIR
e00e3d2 Update compiler-builtins to 0.1.141
d20b074 Add another `Vec::splice` example
345cf52 avoid nesting the user-defined main so deeply on the stack
e121ff5 use a single large catch_unwind in lang_start
fe6d0ec uefi: helpers: Introduce OwnedDevicePath
fe174d2 path: Move is_absolute check to sys::path
f176ce7 Update the explanation for why we use box_new in vec!
2833697 Add #[inline] to copy_from_slice
571a3f3 Add inherent versions of MaybeUninit methods for slices
0f87820 Make UniqueRc invariant for soundness
5ee8912 update and clarify StructuralPartialEq docs
47cf67a Use `NonNull::without_provenance` within the standard library
9d2f4b1 Initial fs module for uefi
c14f39f Improve the safety documentation on new_unchecked
7853da9 Update a bunch of library types for MCP807
0011f31 alloc: remove unsound `IsZero` for raw pointers
b2b3ce3 Fix `proc_macro::quote!` for raw ident
0031f96 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
0547d43 Rename the internal simpler `quote` macro to `minimal_quote`
98915c2 Used pthread name functions returning result for FreeBSD and DragonFly
ab9939e Fix ptr::from_ref documentation example comment
2b1ee7b Improve prose around `as_slice` example of IterMut
074cf49 fmt
d29b933 update cfg(bootstrap)
151b2c0 update version placeholders
8db7053 Remove some unnecessary `.into()` calls
949c8c8 add missing provenance APIs on NonNull
631e092 More compelling env_clear() examples
14d7c49 Implement Condvar::wait_timeout for targets without threads
873445c Impl String::into_chars
3f1140b Avoid naming variables `str`
46af810 [generic_assert] Constify methods used by the formatting system
91be67d Add support for wasm exception handling to Emscripten target
3b8a17b chore: remove redundant words in comment
5d715f1 Add doc aliases for `libm` and IEEE names
d0ff2fa Mark `slice::reverse` unstably const
d1cc2ec Clarified the documentation on core::iter::from_fn and core::iter::successors
5308edd library: fix adler{-> 2}.debug
43409bd add regression test for unsound Flatten/FlatMap specialization
82894df do not in-place-iterate over flatmap/flatten
9550f1b Fix UWP build
8d3555b Bump backtrace to 0.3.75
01b68d2 sync to actual dep verions of backtrace
1ddf43a turn rustc_box into an intrinsic
a087959 core: use public method instead of instrinsic
4c1d2e2 core: improve comments
6e243b1 core: implement `bool::select_unpredictable`
323b69c Switch rtems target to panic unwind
ffa739f path in detail
d645c94 Move some things to `std::sync::poison` and reexport them in `std::sync`
7ae5bbb Bump backtrace to rust-lang/backtrace-rs@4d7906b
c00f1dc Try to write the panic message with a single `write_all` call
f2972ff fix doc for missing Box allocator consistency
c04aaed Remove qualification of `std::cmp::Ordering` in `Ord` doc
0996625 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
48dbac2 Avoid use of LFS64 symbols on Emscripten
f58a9a0 char to_digit: avoid unnecessary casts to u64
1595d6c Remove allowing static_mut_refs lint
9df0bd0 Tidy up bigint mul methods
4278a8e fix doc for read write unaligned in zst operation
c7739d6 Avoid short writes in LineWriter
f7e7e34 ptr docs: make it clear that we are talking only about memory accesses
aaa8143 Make slice::as_flattened_mut unstably const
27d3d4b rename typed_swap → typed_swap_nonoverlapping
37fe29d stabilize const_swap
f4c8bb0 fix: typos
feb96e4 Fix sentence fragment in `pin` module docs
24e3362 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
064250a Fix compilation issues on other unixes
62e20b7 Eliminate redundant statx syscalls
3c8051f Unify fs::copy and io::copy
33a200d Update `compiler-builtins` to 0.1.140
303f48c Update library/alloc/tests/sort/tests.rs
4f4ee30 Fix typos
f4b7e41 Override `carrying_mul_add` in cg_llvm
f93a87e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
7823668 Fix mistake in windows file open
1707eea Windows: Use WriteFile to write to a UTF-8 console
b4b57d2 ptr::copy: fix docs for the overlapping case
31841ea Fix renaming symlinks on Windows
118cb9a docs: inline `core::ffi::c_str` types to `core::ffi`
5ba28ab docs: inline `std::ffi::c_str` types to `std::ffi`
4a4b7a1 unwinding: bump version to fix asm
bdc9697 docs: update code example for Iterator#rposition
ecd471d Use scoped threads in `std::sync::Barrier` examples
57afb33 Fix forgetting to save statx availability on success
749cabe Specify only that duplicates are discarded, not the order.
3a05bba Document collection `From` and `FromIterator` impls that drop duplicate keys.
167057b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
4febe82 Impl FromIterator for tuples with arity 1-12
cad684f Fix formatting
822d03a stabilize const_alloc_layout
f0e34c2 chore: fix typos
c09140b Windows: Use FILE_ALLOCATION_INFO for truncation
482c806 Bump `stdarch`
5a5ca8a core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c0c11b9 Fixes safety docs for `dyn Any + Send {+ Sync}`
af0530d Use `#[derive(Default)]` instead of manually implementing it
6d501dd Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d4dc0ea Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
b4a2fe0 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
8aa9326 docs: Permissions.readonly() also ignores root user special permissions
fd602ac cargo update
4a074bb Delete `Rvalue::Len`
6291c2b Asserts the maximum value that can be returned from `Vec::len`
9e3406e Document `PointerLike` implementation restrictions.
c4856af Use `&raw` for `ptr` primitive docs
48b6b26 Add `is_ascii` function optimized for x86-64 for [u8]
3aeaabe Add new implementation benchmark
a4393cf Document CTFE behavior of methods that call is_null
1d61456 Correctly document is_null CTFE behavior.
4f32731 Win: rename: Use offset_of! in struct size calculation
de88ed3 Win: Remove special casing of the win7 target for `std::fs::rename`
4fe7b77 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
3409aec Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
4dfb7c0 Less unwrap() in documentation
bf91ffd Improve prose around into_slice example of IterMut
dc1e70b Improve prose around `as_slice` example of Iter
781b17e Improve prose around basic examples of Iter and IterMut
eef7ba8 Abstract `ProcThreadAttributeList` into its own struct
5385b8a fix `PointerLike` docs
53c0328 unimplement `PointerLike` for trait objects
e096a09 split up `#[rustc_deny_explicit_impl]` attribute
37bc633 remove reference to dangling from slice::Iter
deecc09 mri: add track_caller to thread spawning methods for better backtraces
4702ad7 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
be1899b Improve documentation of `element_offset` and related methods
02e606d Rename `elem_offset` to `element_offset`
d342491 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b76bec7 build: Update libc version
e1a3fe4 fix typo in ptr/mod.rs
b66d166 Stabilize `#[diagnostic::do_not_recommend]`
8c7ebb8 Use field init shorthand where possible
31fb096 fix(LazyCell): documentation of get[_mut] was wrong
d800c50 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
595ced2 Fix typo in uint_macros.rs
b5fb572 remove obsolete comment and pub(super) visibility
adbfd76 remove bounds from vec and linkedlist ExtractIf
f11edaa Add a range argument to vec.extract_if
a0684f0 Stabilize #[coverage] attribute
2c3005f Remove `rustc::existing_doc_keyword` lint.
0fc32ec Move `doc(keyword = "while")`.
f91d0f3 rustdoc-search: let From and Into be unboxed
22a0d8d Replace i32 by char in `split_at` & `_unchecked`
02a3623 Add clarity to the "greater" of `VecDeque::insert`
bc6620e Replace i32 by char to add clarity
2a7406c Add value accessor methods to `Mutex` and `RwLock`
a1e48b2 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
c55bc1d UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
15be580 UniqueRc: PinCoerceUnsized and DerefPure
fa09da8 UniqueRc: comparisons and Hash
e974e94 UniqueRc: Add more trait impls.
c009353 Remove support for specializing ToString outside the standard library
c50e2a4 Correct spelling of CURRENT_RUSTC_VERSION
71b54a0 Add documentation for anonymous pipe module
e41c6ae feat: clarify how to use `black_box()`
6fcc3fa Update includes in '/library/core/src/error.rs';
13ce58f Fix building `std` for Hermit after `c_char` change
25ae8a2 Fix `Path::is_absolute` on Hermit
9bb760c Fix typos in docs on provenance
7610d35 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
c469b46 Switch inline(always) in core/src/fmt/rt.rs to plain inline
f6c9280 Reword prelude for AsyncFn stabilization
97839b8 Stabilize async closures
f1cf0de Remove consteval note from <*mut T>::align_offset docs.
214fdba Stabilize the Rust 2024 prelude
ceb3086 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
39e415b Move some alloc tests to the alloctests crate
e711f8e control libunwind linkage mode via `crt-static` on gnullvm targets
e00617a Change `GetManyMutError` to match T-libs-api decision
3a475cf Add references to the specific ABI documents
c4a8b44 Remove l4re from the unsigned char operating system list
e012a7a De-duplicate and improve definition of core::ffi::c_char
770c929 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
237430b stabilize const_nonnull_new
3330922 Remove rustc_const_stable attribute on const NOOP
4c4ac2a Add libc funcitons only for wasm32-wasip1-threads.
2c7ab19 Fix compilation for wasm32-wasip1 (without threads).
308c5d0 Use UNIX thread_local implementation for WASI.
8290d44 Run TLS destructors for wasm32-wasip1-threads
bd32b12 Downgrade cc
f584641 Run `cargo update` and update licenses
8315724 chore: Improve doc comments
37e4c2e Refactor ReadDir into a state machine
0ea632f wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
3b796d5 docs: better examples for `std::ops::ControlFlow`
9123ca6 Expand home_dir docs
22de338 Add doc alias 'then_with' for `then` method on `bool`
c194cab Adds new intrinsic declaration
e18c12b Define acronym for thread local storage
df06001 Add a `collect_into` tuple test case
4a3e2eb Don't impl Extend for 13-tuples
20dce17 Simplify documentation for Extend impl for tuples
6d3f0ee Add Extend impls for tuples of arity 1 through 12
de96624 Unbreak tidy
078296c Stabilize `std::io::ErrorKind::QuotaExceeded`
56a9a9d Stabilize `std::io::ErrorKind::CrossesDevices`
aa365ea Access members of `FormattingOptions` directly instead of via getters/setters
c5ae145 Removed constness for methods receiving a `&mut` parameter
7477a16 Added better reason for exposing `flags` and `get_flags` as unstable
1a5fda6 Formatted
9622339 Refactored FormattingOptions to use a bitmask for storing flags
fe03174 Revert "Turned public+unstable+hidden functions into private functions"
b1c53d2 Turned public+unstable+hidden functions into private functions
6dee4c2 Made all fns const
6381718 impl Default for fmt::FormattingOptions
74e5620 Fixed copy+paste error in comment
6a015c8 fmt::FormattingOptions: Renamed `alignment` to `align`
a326563 Formatter::with_options: Use different lifetimes
6f25278 Fixed another broken test
b81fe72 Added struct `fmt::FormattingOptions`
bd9bf4e Formatter: Access members via getter methods wherever possible
72604df Stabilize noop_waker
038e6f4 Improve documentation
82ce537 Reformat Python code with `ruff`
d329e1f Improve comments for the default backtrace printer
018057f clarify simd_relaxed_fma non-determinism
6e005a6 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
f05df67 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
cce9041 Allow fn pointers comparisons lint in library
ec81a6d Update `NonZero` and `NonNull` to not field-project (per MCP807)
de82aaa Add `core::arch::breakpoint` and test
5927a6c a release operation synchronizes with an acquire operation
896540b Update the definition of `borrowing_sub`
a4dd9b5 stabilize const_{size,align}_of_val
8bcd49f ./x miri: fix sysroot build
b73a4da stabilize const_collections_with_hasher and build_hasher_default_const_new
c54868b Match simd_relaxed_fma documentation to fmuladd intrinsic
3862529 Add simd_relaxed_fma intrinsic
043727b Fix `f16::midpoint` const feature gate
b80b2c1 Use c"lit" for CStrings without unwrap
e0e6154 Stabilize `const_maybe_uninit_write`
2a12f89 Fix docs for '<[T]>::as_array';
4bc1966 Stabilize `ptr::fn_addr_eq`
e5b7c39 rustc_allow_const_fn_unstable is not used in proc_macro
4eb076b get rid of a bunch of unnecessary rustc_const_unstable
dc8a2a6 remove a whole bunch of unnecessary const feature gates
ce85e97 add isatty alias for is_terminal
07f70ca Stabilize unsigned `num_midpoint` feature
b4c408f Mark `slice::copy_from_slice` unstably const
d541f6c Fix chaining `carrying_add`s
c791211 add test for bytewise ptr::swap of a pointer
3ccc5ac move swap_nonoverlapping constness to separate feature gate
b5cd287 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
704ee0e Add diagnostic item for `std::ops::ControlFlow`
54d1047 update link to "C++ Exceptions under the hood" blog
ff435ea fix: fix codeblocks in `PathBuf` example
0279ab8 fix: hurd build, stat64.st_fsid was renamed to st_dev
36172d3 std: clarify comments about initialization
a5faa96 std: refactor `pthread`-based synchronization
9ff6777 bump hashbrown version
a242f89 Fill in a `BTreeSet::entry` example
637f40b Add a tracking issue for `btree_set_entry`
9e19d5c Add `BTreeSet` entry APIs to match `HashSet`
ae0b08e Implement code review
82610d9 thread::available_parallelism for wasm32-wasip1-threads
bdd4daf changes old intrinsic declaration to new declaration
6e40c5c Fix and undeprecate home_dir()
c190733 refine mir debuginfo docs
e8e12cf Doc comment custom MIR debuginfo.
2e7c6c2 Stabilize `extended_varargs_abi_support`
b734fb3 update cfgs
48cbb8c replace placeholder version
b3b1d69 Also use zero when referencing to capacity or length
dede273 Use consistent wording in docs, use zero instead of 0
7d96147 Fix typos in pin.rs
5b88ffe Share inline(never) generics across crates
3ddbd72 fmt
2fde9ca aix: create shim for lgammaf_r
e2fce21 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
170e96c Remove one stray space.
0bf0b8f Update chown help with a link and adding cap warning
049eb6f Expand std::os::unix::fs::chown() doc with a warning
2cacd71 Add missing code examples on `LocalKey`
c79853e Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
4ebf33d Remove unnecessary `#![allow(unused_features)]`
8fa98cb Sort and separate lint/feature attributes in `profiler_builtins`
98bb87e std: update internal uses of `io::const_error!`
cdced7a std: expose `const_io_error!` as `const_error!`
d448c82 Constify Drop and Destruct
8e7d9fe miri: disable test_downgrade_observe test on macOS
ef76d9a Shorten the `MaybeUninit` `Debug` implementation
6b937cf Support ranges in `<[T]>::get_many_mut()`
80e8a46 btree: add `{Entry,VacantEntry}::insert_entry`
fc4f858 std::thread: avoid leading whitespace in some panic messages
e95ec09 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 505c3c8
github-actions bot pushed a commit to carolynzech/rust that referenced this pull request Apr 3, 2025
505c3c8 Rustfmt
c3b10a4 occured -> occurred
ad3cba5 Allow Rust to use a number of libc filesystem calls
93437cf Windows: Test that deleting a running binary fails
9f5b3e5 Update platform information for remove_file
11be887 Windows: remove readonly files
5f99f47 Make `AsyncFnOnce`, `AsyncFnMut`, `AsyncFn` non-`#[fundamental]`
a197bfd Document `Sum::sum` returns additive identities for `[]`
1ea5b61 Clean up 'HashMap' and 'HashSet' docs;
4c436f9 Optimize `Rc::<str>::default()` implementation
3a487d3 std: get rid of `sys_common::io`
ddfee75 std: move `io` module out of `pal`
cc39f5f Move two windows process tests to tests/ui
6bc5566 tests(std/net): remove outdated `base_port` calculation
cff11b5 sys: net: Add UEFI stubs
683c5bd Remove some unnecessary parens in `assert!` conditions
566501e remove use of `feature(trait_upcasting)` from core tests
75a291d Stabilise 'Cursor::{get_mut, set_position}' in 'const' scenarios;
7c46d15 Stabilize `HashMap::get_many_mut` as `HashMap::get_disjoint_mut`
521b3a1 tests(std): don't output to std{out,err} in `test_creation_flags` and `test_proc_thread_attributes`
80df787 Fix unreachable_pub lint for hermit target
8f9eead Fix link in from_fn.rs
84b1c6b Use `widening_mul`
8c91286 Add OneSidedRangeBound to eliminate panic in `split_point_of`
615ac67 Rename slice::take methods to split_off
e581f3d Update `compiler-builtins` to 0.1.145
bfb2b74 specify a prim@slice in docs
8c0e793 implement inherent str constructors
dd109d3 std: move network code into `sys`
42aed2c uefi: process: Add support for command environment variables
19f6ff4 Mark `std::fmt::from_fn` as `#[must_use]`
a405ef7 Rename rustc_contract to contract
c1068b5 Improve contracts intrisics and remove wrapper function
44a468b Separate contract feature gates for the internal machinery
1c65514 Desugars contract into the internal AST extensions
6407c96 Express contracts as part of function header and lower it to the contract lang items
50d8cc3 contracts: added lang items that act as hooks for rustc-injected code to invoke.
45b8d2e Contracts core intrinsics.
a041614 More PR feedback
57aa72f PR feedback
76b9c4a Add `unchecked_disjoint_bitor` with fallback intrinsic implementation
06eddc4 Add note about `FnPtr` being exposed as public bound
fa3b863 Add `cast_signed` and `cast_unsigned` methods for `NonZero` types
00041c1 For NonZero impl macros, give unsigned impls access to the corresponding signed type
03c1ccc std::fs: further simplify dirent64 handling
3356ec9 add UnsafeCell direct access APIs
421117f primitive type migration from mod.rs to primitives.rs
07e2207 implement unstable `new_range` feature
3814421 std::range
de1363e Remove stabilized feature gate
58b6f8a Move env modifying tests to a separate integration test
71d2a2a Fix for SGX
ca8b409 Fix benchmarking of libstd
7d0ebf6 Move std::sync unit tests to integration tests
c6a9e1d Move std::thread_local unit tests to integration tests
dacacf8 Move std::time unit tests to integration tests
3e333a9 Move std::path unit tests to integration tests
9efded4 Move std::panic unit tests to integration tests
c96035e Move std::num unit tests to integration tests
f636948 Move std float unit tests to integration tests
151fa67 Move std::error unit tests to integration tests
b428865 Move std::env unit tests to integration tests
aeb35a3 no unsafe pointer and no overflowing_literals in fmt::Display of integers
b3f7733 black_box integer-input on fmt benches
56b9550 OnceCell & OnceLock docs: Using (un)initialized consistently
afd1ecf Docs for f16 and f128: correct a typo and add details
346f6b7 rustc_allowed_through_unstable_modules: require deprecation message
5eaaff8 Update encode_utf16 to mention it is native endian
14fa6ab remove Rustc{En,De}codable from library and compiler
27ed051 make rustc_encodable_decodable feature properly unstable
ee0b5a2 Fix sentence in process::abort
71d62b7 document ptr comparison being by address
1566c46 stabilize `once_wait`
d938809 implement all min/max fns in terms of `<`/`is_lt`
798f65c improve doc tests for (min/max/minmax).* functions
4e90b7a docs: Documented Send and Sync requirements for Mutex + MutexGuard
868ac70 Add documentation for derive(CoercePointee)
e95d494 Fix off-by-one error causing driftsort to crash
d3bea56 Insert null checks for pointer dereferences when debug assertions are enabled
f1773c2 atomic: extend compare_and_swap migration docs
3f85d13 float::min/max: mention the non-determinism around signed 0
3e4aa44 Stabilize `const_black_box`
691da58 Improve documentation for file locking
0d78910 Remove minor future footgun in `impl Debug for MaybeUninit`
e82cc84 Add `AsyncFn*` to core prelude
8921682 uefi: Implement path
0bf17b9 Implement `int_from_ascii` (rust-lang#134821)
646476d Cleanup docs for Allocator
7c394f8 btree/node.rs: pop_internal_level: does not invalidate other handles
526aa0f btree/node.rs: remove incorrect comment from pop_internal_level docs
d05bdb4 add inline attribute and codegen test
0856ddd split slice::ptr_rotate into three separate algorithms, to hopefully help inlining
f7c202f optimize slice::ptr_rotate for compile-time-constant small rotates
b60ffa9 Test pipes also when not running on Windows and Linux simultaneously
a3c5ef7 uefi: process: Fix args
e567cd3 [cfg_match] Document the use of expressions
48057ed Update comments and sort target_arch in c_char_definition
00a6d73 [Clippy] Add vec_reserve & vecdeque_reserve diagnostic items
c857fa2 Fix platform-specific doc string for AtomicUsize::from_mut to be platform-independent
8c55c11 Document powf and powi calls that always return 1.0
261a207 Document purpose of closure in from_fn.rs more clearly
b2d6ca3 add missing allocator safety in alloc crate
5fa2aac alloc: add `#![warn(unreachable_pub)]`
b7e7846 Implement `AtomicT::update` & `AtomicT::try_update`
a3e955e fix doc for std::sync::mpmc
0fef9be Implement phantom variance markers
6f18a82 Clarify WindowsMut (Lending)Iterator
89af143 compiler_fence: fix example
3584874 Update `std::io::{pipe, PipeReader, PipeWriter}` docs the new location
fc9314c Move `std::io::pipe` code into its own file
16e356d Actually run the bstr test
868b9b4 Update comment
5f3b89e Put all coretests in a separate crate
580d2f8 Add an `unchecked_div` alias to the `Div<NonZero<_>>` impls
07ffa14 add nto80 x86-64 and aarch64 target
8bb6a3a Add support for QNX 7.1 with io-sock on x64
10558cf Add new target for supporting Neutrino QNX 6.1 with `io-socket` network stack on aarch64
22f2962 Update a bunch of comments from before wasi support was added
e814454 Remove a bunch of emscripten test ignores
50e05db Fix testing of the standard library with Emscripten
34655dd fix(libtest): Deprecate '--logfile'
c1ad8b8 docs: fix typo in std::pin overview
6c960e1 ports last few library files to new intrinsic style
0f6e17b Improve and expand documentation of pipes
7846136 Fix set_name in thread mod for NuttX
39818db Fix `FormattingOptions` instantiation with `Default`
891d6c7 Update library/core/src/num/nonzero.rs
67e0fbe Add memory layout documentation to generic NonZero<T>
018d0e3 Fix whitespace
50f56cf document order of items in iterator from drain
96b5a8d Add `File already exists` error doc to `hard_link` function
7c12606 Doc difference between extend and extend_from_slice
4b83b43 Make `Vec::pop_if` a bit more presentable
7ebdac8 Implement `VecDeque::pop_front_if` & `VecDeque::pop_back_if`
b2487ef remove pointless allowed_through_unstable_modules on TryFromSliceError
bc7f965 test: add `#![warn(unreachable_pub)]`
ac9cdc1 proc_macro: add `#![warn(unreachable_pub)]`
8cdb99e Implement `CloneToUninit` for `ByteStr`
12e2688 Add doc aliases for BStr and BString
c1dd147 Omit some more `From` impls to avoid inference failures
d63aa46 Support `no_rc`, `no_sync`, and `no_global_oom_handling`
9c52eb7 Add `#[cfg(not(test))]` to some impls to work around rust-lang#135100
7c8c49b Implement `ByteStr` and `ByteString` types
af75ed5 Remove erroneous `unsafe` in `BTreeSet::upper_bound_mut`
e51de5e Library: Finalize dyn compatibility renaming
9a470c4 Remove test panic from File::open
0c79274 fix OsString::from_encoded_bytes_unchecked description
96fdc4d Add an example of using `carrying_mul_add` to write wider multiplication
ed4d2fe Outline panicking code for `LocalKey::with`
d8dee9c core: `#[allow(unreachable_pub)]` on unreachable `pub use`
b0da2be core: add `#![warn(unreachable_pub)]`
22aafaf rtstartup: add `#![warn(unreachable_pub)]`
dabb0ec panic_unwind: add `#![warn(unreachable_pub)]`
33d7a1e Recognise new IPv6 documentation range from RFC9637
ddd0264 1. Removed 'rustc_nounwind' 2. Rewording of comments
1d4c7df Export likely(), unlikely() and cold_path() in std::hint
781d584 Correct counting to four in cell module docs
8f4a724 doc: Point to methods on `Command` as alternatives to `set/remove_var`
5ad6719 wasi/io: remove dead files
b2080f1 remove unnecessary rustc_allowed_through_unstable_modules
abe24a4 further improve panic_immediate_abort by removing rtprintpanic messages
033959d cargo update
6c89086 Rewrap following accepting review suggestions from @ibraheemdev
8f9757b Update library/core/src/slice/mod.rs
9da7fa8 Update library/core/src/slice/mod.rs
c084093 Update library/core/src/slice/mod.rs
9dd4194 Update library/core/src/slice/mod.rs
8aaeaaf Update library/core/src/slice/mod.rs
87e9b12 Update library/core/src/slice/mod.rs
168aa42 Update library/core/src/slice/mod.rs
7ddc361 Update library/core/src/slice/mod.rs
0c1f472 Update library/core/src/slice/mod.rs
e5cbc2e Update library/core/src/slice/mod.rs
05531aa `then be` -> `be` based on feedback from @ibraheemdev
7edf7ac Improve `select_nth_unstable` documentation clarity
b362a8a Revert "Auto merge of rust-lang#134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"
91d8f69 Add references to the IEEE functions for `float_next_up_down`
c0e35fb Stabilize `float_next_up_down`
1be8f41 Fix import of pipe in kernel_copy.rs
5ed0b61 Move `std::pipe::*` into `std::io`
24e8166 Clarify note in `std::sync::LazyLock` example
8c92ba3 fix typo in library/alloc/src/sync.rs
2eb0f65 Add missing safety descriptions to Arc's 'from_raw','increment_strong_count','decrement_strong_count'
550e025 Adjust syntax
331ab24 Less unsafe in `dangling`/`without_provenance`
5bde913 fix typo in typenames of pin documentation
18604c3 intrinsics: deprecate calling them via the unstable std::intrinsics path
cdc4bb5 add comments explaining main thread identification
c67a0eb std: lazily allocate the main thread handle
b100192 Revert "Remove the Arc rt::init allocation for thread info"
1b38bb6 Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
ef9c212 Update compiler-builtins to 0.1.143
7b7f046 Rename `pos` to `position`
4711dea Convert `struct FromBytesWithNulError` into enum
eddc674 Enforce syntactical stability of const traits in HIR
e00e3d2 Update compiler-builtins to 0.1.141
d20b074 Add another `Vec::splice` example
345cf52 avoid nesting the user-defined main so deeply on the stack
e121ff5 use a single large catch_unwind in lang_start
fe6d0ec uefi: helpers: Introduce OwnedDevicePath
fe174d2 path: Move is_absolute check to sys::path
f176ce7 Update the explanation for why we use box_new in vec!
2833697 Add #[inline] to copy_from_slice
571a3f3 Add inherent versions of MaybeUninit methods for slices
0f87820 Make UniqueRc invariant for soundness
5ee8912 update and clarify StructuralPartialEq docs
47cf67a Use `NonNull::without_provenance` within the standard library
9d2f4b1 Initial fs module for uefi
c14f39f Improve the safety documentation on new_unchecked
7853da9 Update a bunch of library types for MCP807
0011f31 alloc: remove unsound `IsZero` for raw pointers
b2b3ce3 Fix `proc_macro::quote!` for raw ident
0031f96 Append `TokenTree` with `ToTokens` in `proc_macro::quote!`
0547d43 Rename the internal simpler `quote` macro to `minimal_quote`
98915c2 Used pthread name functions returning result for FreeBSD and DragonFly
ab9939e Fix ptr::from_ref documentation example comment
2b1ee7b Improve prose around `as_slice` example of IterMut
074cf49 fmt
d29b933 update cfg(bootstrap)
151b2c0 update version placeholders
8db7053 Remove some unnecessary `.into()` calls
949c8c8 add missing provenance APIs on NonNull
631e092 More compelling env_clear() examples
14d7c49 Implement Condvar::wait_timeout for targets without threads
873445c Impl String::into_chars
3f1140b Avoid naming variables `str`
46af810 [generic_assert] Constify methods used by the formatting system
91be67d Add support for wasm exception handling to Emscripten target
3b8a17b chore: remove redundant words in comment
5d715f1 Add doc aliases for `libm` and IEEE names
d0ff2fa Mark `slice::reverse` unstably const
d1cc2ec Clarified the documentation on core::iter::from_fn and core::iter::successors
5308edd library: fix adler{-> 2}.debug
43409bd add regression test for unsound Flatten/FlatMap specialization
82894df do not in-place-iterate over flatmap/flatten
9550f1b Fix UWP build
8d3555b Bump backtrace to 0.3.75
01b68d2 sync to actual dep verions of backtrace
1ddf43a turn rustc_box into an intrinsic
a087959 core: use public method instead of instrinsic
4c1d2e2 core: improve comments
6e243b1 core: implement `bool::select_unpredictable`
323b69c Switch rtems target to panic unwind
ffa739f path in detail
d645c94 Move some things to `std::sync::poison` and reexport them in `std::sync`
7ae5bbb Bump backtrace to rust-lang/backtrace-rs@4d7906b
c00f1dc Try to write the panic message with a single `write_all` call
f2972ff fix doc for missing Box allocator consistency
c04aaed Remove qualification of `std::cmp::Ordering` in `Ord` doc
0996625 std::fs::DirEntry.metadata(): prefer use of lstat() on Emscripten
48dbac2 Avoid use of LFS64 symbols on Emscripten
f58a9a0 char to_digit: avoid unnecessary casts to u64
1595d6c Remove allowing static_mut_refs lint
9df0bd0 Tidy up bigint mul methods
4278a8e fix doc for read write unaligned in zst operation
c7739d6 Avoid short writes in LineWriter
f7e7e34 ptr docs: make it clear that we are talking only about memory accesses
aaa8143 Make slice::as_flattened_mut unstably const
27d3d4b rename typed_swap → typed_swap_nonoverlapping
37fe29d stabilize const_swap
f4c8bb0 fix: typos
feb96e4 Fix sentence fragment in `pin` module docs
24e3362 docs: inline `alloc::ffi::c_str` types to `alloc::ffi`
064250a Fix compilation issues on other unixes
62e20b7 Eliminate redundant statx syscalls
3c8051f Unify fs::copy and io::copy
33a200d Update `compiler-builtins` to 0.1.140
303f48c Update library/alloc/tests/sort/tests.rs
4f4ee30 Fix typos
f4b7e41 Override `carrying_mul_add` in cg_llvm
f93a87e Move `{widening, carrying}_mul` to an intrinsic with fallback MIR
7823668 Fix mistake in windows file open
1707eea Windows: Use WriteFile to write to a UTF-8 console
b4b57d2 ptr::copy: fix docs for the overlapping case
31841ea Fix renaming symlinks on Windows
118cb9a docs: inline `core::ffi::c_str` types to `core::ffi`
5ba28ab docs: inline `std::ffi::c_str` types to `std::ffi`
4a4b7a1 unwinding: bump version to fix asm
bdc9697 docs: update code example for Iterator#rposition
ecd471d Use scoped threads in `std::sync::Barrier` examples
57afb33 Fix forgetting to save statx availability on success
749cabe Specify only that duplicates are discarded, not the order.
3a05bba Document collection `From` and `FromIterator` impls that drop duplicate keys.
167057b Add 'into_array' conversion destructors for 'Box', 'Rc', and 'Arc';
4febe82 Impl FromIterator for tuples with arity 1-12
cad684f Fix formatting
822d03a stabilize const_alloc_layout
f0e34c2 chore: fix typos
c09140b Windows: Use FILE_ALLOCATION_INFO for truncation
482c806 Bump `stdarch`
5a5ca8a core: fix const ptr::swap_nonoverlapping when there are pointers at odd offsets in the type
c0c11b9 Fixes safety docs for `dyn Any + Send {+ Sync}`
af0530d Use `#[derive(Default)]` instead of manually implementing it
6d501dd Revert "Auto merge of rust-lang#130766 - clarfonthey:stable-coverage-attribute, r=wesleywiser"
d4dc0ea Implement `PointerLike` for `isize`, `NonNull`, `Cell`, `UnsafeCell`, and `SyncUnsafeCell`.
b4a2fe0 docs: `transmute<&mut T, &mut MaybeUninit<T>>` is unsound when exposed to safe code
8aa9326 docs: Permissions.readonly() also ignores root user special permissions
fd602ac cargo update
4a074bb Delete `Rvalue::Len`
6291c2b Asserts the maximum value that can be returned from `Vec::len`
9e3406e Document `PointerLike` implementation restrictions.
c4856af Use `&raw` for `ptr` primitive docs
48b6b26 Add `is_ascii` function optimized for x86-64 for [u8]
3aeaabe Add new implementation benchmark
a4393cf Document CTFE behavior of methods that call is_null
1d61456 Correctly document is_null CTFE behavior.
4f32731 Win: rename: Use offset_of! in struct size calculation
de88ed3 Win: Remove special casing of the win7 target for `std::fs::rename`
4fe7b77 Win: Add test cases for renaming a directory while the target file is opened and for renaming over a non-empty directory
3409aec Win: Use `FILE_RENAME_FLAG_POSIX_SEMANTICS` for `std::fs::rename` if available
4dfb7c0 Less unwrap() in documentation
bf91ffd Improve prose around into_slice example of IterMut
dc1e70b Improve prose around `as_slice` example of Iter
781b17e Improve prose around basic examples of Iter and IterMut
eef7ba8 Abstract `ProcThreadAttributeList` into its own struct
5385b8a fix `PointerLike` docs
53c0328 unimplement `PointerLike` for trait objects
e096a09 split up `#[rustc_deny_explicit_impl]` attribute
37bc633 remove reference to dangling from slice::Iter
deecc09 mri: add track_caller to thread spawning methods for better backtraces
4702ad7 fix typos in the example code in the doc comments of `Ipv4Addr::from_bits()`, `Ipv6Addr::from_bits()` & `Ipv6Addr::to_bits()`
be1899b Improve documentation of `element_offset` and related methods
02e606d Rename `elem_offset` to `element_offset`
d342491 docs: Mention `spare_capacity_mut()` in `Vec::set_len`
b76bec7 build: Update libc version
e1a3fe4 fix typo in ptr/mod.rs
b66d166 Stabilize `#[diagnostic::do_not_recommend]`
8c7ebb8 Use field init shorthand where possible
31fb096 fix(LazyCell): documentation of get[_mut] was wrong
d800c50 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
595ced2 Fix typo in uint_macros.rs
b5fb572 remove obsolete comment and pub(super) visibility
adbfd76 remove bounds from vec and linkedlist ExtractIf
f11edaa Add a range argument to vec.extract_if
a0684f0 Stabilize #[coverage] attribute
2c3005f Remove `rustc::existing_doc_keyword` lint.
0fc32ec Move `doc(keyword = "while")`.
f91d0f3 rustdoc-search: let From and Into be unboxed
22a0d8d Replace i32 by char in `split_at` & `_unchecked`
02a3623 Add clarity to the "greater" of `VecDeque::insert`
bc6620e Replace i32 by char to add clarity
2a7406c Add value accessor methods to `Mutex` and `RwLock`
a1e48b2 std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
c55bc1d UniqueRc: platform-specific AsFd/Handle/etc impls to mirror Rc
15be580 UniqueRc: PinCoerceUnsized and DerefPure
fa09da8 UniqueRc: comparisons and Hash
e974e94 UniqueRc: Add more trait impls.
c009353 Remove support for specializing ToString outside the standard library
c50e2a4 Correct spelling of CURRENT_RUSTC_VERSION
71b54a0 Add documentation for anonymous pipe module
e41c6ae feat: clarify how to use `black_box()`
6fcc3fa Update includes in '/library/core/src/error.rs';
13ce58f Fix building `std` for Hermit after `c_char` change
25ae8a2 Fix `Path::is_absolute` on Hermit
9bb760c Fix typos in docs on provenance
7610d35 Add unwrap_unsafe_binder and wrap_unsafe_binder macro operators
c469b46 Switch inline(always) in core/src/fmt/rt.rs to plain inline
f6c9280 Reword prelude for AsyncFn stabilization
97839b8 Stabilize async closures
f1cf0de Remove consteval note from <*mut T>::align_offset docs.
214fdba Stabilize the Rust 2024 prelude
ceb3086 Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
39e415b Move some alloc tests to the alloctests crate
e711f8e control libunwind linkage mode via `crt-static` on gnullvm targets
e00617a Change `GetManyMutError` to match T-libs-api decision
3a475cf Add references to the specific ABI documents
c4a8b44 Remove l4re from the unsigned char operating system list
e012a7a De-duplicate and improve definition of core::ffi::c_char
770c929 Add a note saying that `{u8,i8}::from_{be,le,ne}_bytes` is meaningless
237430b stabilize const_nonnull_new
3330922 Remove rustc_const_stable attribute on const NOOP
4c4ac2a Add libc funcitons only for wasm32-wasip1-threads.
2c7ab19 Fix compilation for wasm32-wasip1 (without threads).
308c5d0 Use UNIX thread_local implementation for WASI.
8290d44 Run TLS destructors for wasm32-wasip1-threads
bd32b12 Downgrade cc
f584641 Run `cargo update` and update licenses
8315724 chore: Improve doc comments
37e4c2e Refactor ReadDir into a state machine
0ea632f wasi/fs: Improve stopping condition for <ReadDir as Iterator>::next
3b796d5 docs: better examples for `std::ops::ControlFlow`
9123ca6 Expand home_dir docs
22de338 Add doc alias 'then_with' for `then` method on `bool`
c194cab Adds new intrinsic declaration
e18c12b Define acronym for thread local storage
df06001 Add a `collect_into` tuple test case
4a3e2eb Don't impl Extend for 13-tuples
20dce17 Simplify documentation for Extend impl for tuples
6d3f0ee Add Extend impls for tuples of arity 1 through 12
de96624 Unbreak tidy
078296c Stabilize `std::io::ErrorKind::QuotaExceeded`
56a9a9d Stabilize `std::io::ErrorKind::CrossesDevices`
aa365ea Access members of `FormattingOptions` directly instead of via getters/setters
c5ae145 Removed constness for methods receiving a `&mut` parameter
7477a16 Added better reason for exposing `flags` and `get_flags` as unstable
1a5fda6 Formatted
9622339 Refactored FormattingOptions to use a bitmask for storing flags
fe03174 Revert "Turned public+unstable+hidden functions into private functions"
b1c53d2 Turned public+unstable+hidden functions into private functions
6dee4c2 Made all fns const
6381718 impl Default for fmt::FormattingOptions
74e5620 Fixed copy+paste error in comment
6a015c8 fmt::FormattingOptions: Renamed `alignment` to `align`
a326563 Formatter::with_options: Use different lifetimes
6f25278 Fixed another broken test
b81fe72 Added struct `fmt::FormattingOptions`
bd9bf4e Formatter: Access members via getter methods wherever possible
72604df Stabilize noop_waker
038e6f4 Improve documentation
82ce537 Reformat Python code with `ruff`
d329e1f Improve comments for the default backtrace printer
018057f clarify simd_relaxed_fma non-determinism
6e005a6 Teach rust core about Xtensa VaListImpl and add a custom lowering of vaarg for xtensa.
f05df67 Rename `core_pattern_type` and `core_pattern_types` lib feature  gates to `pattern_type_macro`
cce9041 Allow fn pointers comparisons lint in library
ec81a6d Update `NonZero` and `NonNull` to not field-project (per MCP807)
de82aaa Add `core::arch::breakpoint` and test
5927a6c a release operation synchronizes with an acquire operation
896540b Update the definition of `borrowing_sub`
a4dd9b5 stabilize const_{size,align}_of_val
8bcd49f ./x miri: fix sysroot build
b73a4da stabilize const_collections_with_hasher and build_hasher_default_const_new
c54868b Match simd_relaxed_fma documentation to fmuladd intrinsic
3862529 Add simd_relaxed_fma intrinsic
043727b Fix `f16::midpoint` const feature gate
b80b2c1 Use c"lit" for CStrings without unwrap
e0e6154 Stabilize `const_maybe_uninit_write`
2a12f89 Fix docs for '<[T]>::as_array';
4bc1966 Stabilize `ptr::fn_addr_eq`
e5b7c39 rustc_allow_const_fn_unstable is not used in proc_macro
4eb076b get rid of a bunch of unnecessary rustc_const_unstable
dc8a2a6 remove a whole bunch of unnecessary const feature gates
ce85e97 add isatty alias for is_terminal
07f70ca Stabilize unsigned `num_midpoint` feature
b4c408f Mark `slice::copy_from_slice` unstably const
d541f6c Fix chaining `carrying_add`s
c791211 add test for bytewise ptr::swap of a pointer
3ccc5ac move swap_nonoverlapping constness to separate feature gate
b5cd287 move slice::swap_unchecked constness to slice_swap_unchecked feature gate
704ee0e Add diagnostic item for `std::ops::ControlFlow`
54d1047 update link to "C++ Exceptions under the hood" blog
ff435ea fix: fix codeblocks in `PathBuf` example
0279ab8 fix: hurd build, stat64.st_fsid was renamed to st_dev
36172d3 std: clarify comments about initialization
a5faa96 std: refactor `pthread`-based synchronization
9ff6777 bump hashbrown version
a242f89 Fill in a `BTreeSet::entry` example
637f40b Add a tracking issue for `btree_set_entry`
9e19d5c Add `BTreeSet` entry APIs to match `HashSet`
ae0b08e Implement code review
82610d9 thread::available_parallelism for wasm32-wasip1-threads
bdd4daf changes old intrinsic declaration to new declaration
6e40c5c Fix and undeprecate home_dir()
c190733 refine mir debuginfo docs
e8e12cf Doc comment custom MIR debuginfo.
2e7c6c2 Stabilize `extended_varargs_abi_support`
b734fb3 update cfgs
48cbb8c replace placeholder version
b3b1d69 Also use zero when referencing to capacity or length
dede273 Use consistent wording in docs, use zero instead of 0
7d96147 Fix typos in pin.rs
5b88ffe Share inline(never) generics across crates
3ddbd72 fmt
2fde9ca aix: create shim for lgammaf_r
e2fce21 Add '<[T]>::as_array', '<[T]>::as_mut_array', '<*const [T]>::as_array', and '<*mut [T]>::as_mut_array' conversion methods;
170e96c Remove one stray space.
0bf0b8f Update chown help with a link and adding cap warning
049eb6f Expand std::os::unix::fs::chown() doc with a warning
2cacd71 Add missing code examples on `LocalKey`
c79853e Make profiler_builtins `#![no_core]` instead of just `#![no_std]`
4ebf33d Remove unnecessary `#![allow(unused_features)]`
8fa98cb Sort and separate lint/feature attributes in `profiler_builtins`
98bb87e std: update internal uses of `io::const_error!`
cdced7a std: expose `const_io_error!` as `const_error!`
d448c82 Constify Drop and Destruct
8e7d9fe miri: disable test_downgrade_observe test on macOS
ef76d9a Shorten the `MaybeUninit` `Debug` implementation
6b937cf Support ranges in `<[T]>::get_many_mut()`
80e8a46 btree: add `{Entry,VacantEntry}::insert_entry`
fc4f858 std::thread: avoid leading whitespace in some panic messages
e95ec09 Added a doc test for std::path::strip_prefix

git-subtree-dir: library
git-subtree-split: 505c3c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. perf-regression Performance regression. perf-regression-triaged The performance regression has been triaged. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants