forked from model-checking/verify-rust-std
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge subtree update for toolchain nightly-2025-03-02 #12
Open
github-actions
wants to merge
3
commits into
main
Choose a base branch
from
sync-2025-03-02
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an automated PR to merge library subtree updates
from 2024-11-03 (b3f75cc)
to 2025-03-02 (8c39296) (inclusive)
into main.
git merge
resulted in conflicts, which require manual resolution.Files were commited with merge conflict markers.