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-02-21 #11
Open
github-actions
wants to merge
3
commits into
main
Choose a base branch
from
sync-2025-02-21
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
814bd9d
to
e4bd37b
Compare
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
e4bd37b
to
9d36b99
Compare
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-02-21 (f04bbc6) (inclusive)
into main.
git merge
resulted in conflicts, which require manual resolution.Files were commited with merge conflict markers.