rust-lang / libtest-next

T-testing-devex experiments for new testing tools for Rust developers
https://docs.rs/pytest-rs
Apache License 2.0
56 stars 4 forks source link

chore(deps): update msrv to v1.76 #68

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Update Change
rust minor 1.73 -> 1.76

Release Notes

rust-lang/rust (rust) ### [`v1.76`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1760-2024-02-08) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.75.0...1.76.0) \========================== ## Language - [Document Rust ABI compatibility between various types](https://togithub.com/rust-lang/rust/pull/115476/) - [Also: guarantee that char and u32 are ABI-compatible](https://togithub.com/rust-lang/rust/pull/118032/) - [Add lint `ambiguous_wide_pointer_comparisons` that supersedes `clippy::vtable_address_comparisons`](https://togithub.com/rust-lang/rust/pull/117758) ## Compiler - [Lint pinned `#[must_use]` pointers (in particular, `Box` where `T` is `#[must_use]`) in `unused_must_use`.](https://togithub.com/rust-lang/rust/pull/118054/) - [Soundness fix: fix computing the offset of an unsized field in a packed struct](https://togithub.com/rust-lang/rust/pull/118540/) - [Soundness fix: fix dynamic size/align computation logic for packed types with dyn Trait tail](https://togithub.com/rust-lang/rust/pull/118538/) - [Add `$message_type` field to distinguish json diagnostic outputs](https://togithub.com/rust-lang/rust/pull/115691/) - [Enable Rust to use the EHCont security feature of Windows](https://togithub.com/rust-lang/rust/pull/118013/) - [Add tier 3 {x86\_64,i686}-win7-windows-msvc targets](https://togithub.com/rust-lang/rust/pull/118150/) - [Add tier 3 aarch64-apple-watchos target](https://togithub.com/rust-lang/rust/pull/119074/) - [Add tier 3 arm64e-apple-ios & arm64e-apple-darwin targets](https://togithub.com/rust-lang/rust/pull/115526/) Refer to Rust's \[platform support page]\[platform-support-doc] for more information on Rust's tiered platform support. ## Libraries - [Add a column number to `dbg!()`](https://togithub.com/rust-lang/rust/pull/114962/) - [Add `std::hash::{DefaultHasher, RandomState}` exports](https://togithub.com/rust-lang/rust/pull/115694/) - [Fix rounding issue with exponents in fmt](https://togithub.com/rust-lang/rust/pull/116301/) - [Add T: ?Sized to `RwLockReadGuard` and `RwLockWriteGuard`'s Debug impls.](https://togithub.com/rust-lang/rust/pull/117138/) - [Windows: Allow `File::create` to work on hidden files](https://togithub.com/rust-lang/rust/pull/116438/) ## Stabilized APIs - [`Arc::unwrap_or_clone`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#method.unwrap_or_clone) - [`Rc::unwrap_or_clone`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#method.unwrap_or_clone) - [`Result::inspect`](https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.inspect) - [`Result::inspect_err`](https://doc.rust-lang.org/stable/std/result/enum.Result.html#method.inspect_err) - [`Option::inspect`](https://doc.rust-lang.org/stable/std/option/enum.Option.html#method.inspect) - [`type_name_of_val`](https://doc.rust-lang.org/stable/std/any/fn.type_name_of_val.html) - [`std::hash::{DefaultHasher, RandomState}`](https://doc.rust-lang.org/stable/std/hash/index.html#structs) These were previously available only through `std::collections::hash_map`. - [`ptr::{from_ref, from_mut}`](https://doc.rust-lang.org/stable/std/ptr/fn.from_ref.html) - [`ptr::addr_eq`](https://doc.rust-lang.org/stable/std/ptr/fn.addr_eq.html) ## Cargo See [Cargo release notes](https://togithub.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-176-2024-02-08). ## Rustdoc - [Don't merge cfg and doc(cfg) attributes for re-exports](https://togithub.com/rust-lang/rust/pull/113091/) - [rustdoc: allow resizing the sidebar / hiding the top bar](https://togithub.com/rust-lang/rust/pull/115660/) - [rustdoc-search: add support for traits and associated types](https://togithub.com/rust-lang/rust/pull/116085/) - [rustdoc: Add highlighting for comments in items declaration](https://togithub.com/rust-lang/rust/pull/117869/) ## Compatibility Notes - [Add allow-by-default lint for unit bindings](https://togithub.com/rust-lang/rust/pull/112380/) This is expected to be upgraded to a warning by default in a future Rust release. Some macros emit bindings with type `()` with user-provided spans, which means that this lint will warn for user code. - [Remove x86\_64-sun-solaris target.](https://togithub.com/rust-lang/rust/pull/118091/) - [Remove asmjs-unknown-emscripten target](https://togithub.com/rust-lang/rust/pull/117338/) - [Report errors in jobserver inherited through environment variables](https://togithub.com/rust-lang/rust/pull/113730/) This [may warn](https://togithub.com/rust-lang/rust/issues/120515) on benign problems too. - [Update the minimum external LLVM to 16.](https://togithub.com/rust-lang/rust/pull/117947/) - [Improve `print_tts`](https://togithub.com/rust-lang/rust/pull/114571/) This change can break some naive manual parsing of token trees in proc macro code which expect a particular structure after `.to_string()`, rather than just arbitrary Rust code. - [Make `IMPLIED_BOUNDS_ENTAILMENT` into a hard error from a lint](https://togithub.com/rust-lang/rust/pull/117984/) - [Vec's allocation behavior was changed when collecting some iterators](https://togithub.com/rust-lang/rust/pull/110353) Allocation behavior is currently not specified, nevertheless changes can be surprising. See [`impl FromIterator for Vec`](https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#impl-FromIterator%3CT%3E-for-Vec%3CT%3E) for more details. - [Properly reject `default` on free const items](https://togithub.com/rust-lang/rust/pull/117818/) ### [`v1.75`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1750-2023-12-28) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.74.0...1.75.0) \========================== ## Language - [Stabilize `async fn` and return-position `impl Trait` in traits.](https://togithub.com/rust-lang/rust/pull/115822/) - [Allow function pointer signatures containing `&mut T` in `const` contexts.](https://togithub.com/rust-lang/rust/pull/116015/) - [Match `usize`/`isize` exhaustively with half-open ranges.](https://togithub.com/rust-lang/rust/pull/116692/) - [Guarantee that `char` has the same size and alignment as `u32`.](https://togithub.com/rust-lang/rust/pull/116894/) - [Document that the null pointer has the 0 address.](https://togithub.com/rust-lang/rust/pull/116988/) - [Allow partially moved values in `match`.](https://togithub.com/rust-lang/rust/pull/103208/) - [Add notes about non-compliant FP behavior on 32bit x86 targets.](https://togithub.com/rust-lang/rust/pull/113053/) - [Stabilize ratified RISC-V target features.](https://togithub.com/rust-lang/rust/pull/116485/) ## Compiler - [Rework negative coherence to properly consider impls that only partly overlap.](https://togithub.com/rust-lang/rust/pull/112875/) - [Bump `COINDUCTIVE_OVERLAP_IN_COHERENCE` to deny, and warn in dependencies.](https://togithub.com/rust-lang/rust/pull/116493/) - [Consider alias bounds when computing liveness in NLL.](https://togithub.com/rust-lang/rust/pull/116733/) - [Add the V (vector) extension to the `riscv64-linux-android` target spec.](https://togithub.com/rust-lang/rust/pull/116618/) - [Automatically enable cross-crate inlining for small functions](https://togithub.com/rust-lang/rust/pull/116505) - Add several new tier 3 targets: - [`csky-unknown-linux-gnuabiv2hf`](https://togithub.com/rust-lang/rust/pull/117049/) - [`i586-unknown-netbsd`](https://togithub.com/rust-lang/rust/pull/117170/) - [`mipsel-unknown-netbsd`](https://togithub.com/rust-lang/rust/pull/117356/) Refer to Rust's \[platform support page]\[platform-support-doc] for more information on Rust's tiered platform support. ## Libraries - [Override `Waker::clone_from` to avoid cloning `Waker`s unnecessarily.](https://togithub.com/rust-lang/rust/pull/96979/) - [Implement `BufRead` for `VecDeque`.](https://togithub.com/rust-lang/rust/pull/110604/) - [Implement `FusedIterator` for `DecodeUtf16` when the inner iterator does.](https://togithub.com/rust-lang/rust/pull/110729/) - [Implement `Not, Bit{And,Or}{,Assign}` for IP addresses.](https://togithub.com/rust-lang/rust/pull/113747/) - [Implement `Default` for `ExitCode`.](https://togithub.com/rust-lang/rust/pull/114589/) - [Guarantee representation of None in NPO](https://togithub.com/rust-lang/rust/pull/115333/) - [Document when atomic loads are guaranteed read-only.](https://togithub.com/rust-lang/rust/pull/115577/) - [Broaden the consequences of recursive TLS initialization.](https://togithub.com/rust-lang/rust/pull/116172/) - [Windows: Support sub-millisecond sleep.](https://togithub.com/rust-lang/rust/pull/116461/) - [Fix generic bound of `str::SplitInclusive`'s `DoubleEndedIterator` impl](https://togithub.com/rust-lang/rust/pull/100806/) - [Fix exit status / wait status on non-Unix `cfg(unix)` platforms.](https://togithub.com/rust-lang/rust/pull/115108/) ## Stabilized APIs - [`Atomic*::from_ptr`](https://doc.rust-lang.org/stable/core/sync/atomic/struct.AtomicUsize.html#method.from_ptr) - [`FileTimes`](https://doc.rust-lang.org/stable/std/fs/struct.FileTimes.html) - [`FileTimesExt`](https://doc.rust-lang.org/stable/std/os/windows/fs/trait.FileTimesExt.html) - [`File::set_modified`](https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.set_modified) - [`File::set_times`](https://doc.rust-lang.org/stable/std/fs/struct.File.html#method.set_times) - [`IpAddr::to_canonical`](https://doc.rust-lang.org/stable/core/net/enum.IpAddr.html#method.to_canonical) - [`Ipv6Addr::to_canonical`](https://doc.rust-lang.org/stable/core/net/struct.Ipv6Addr.html#method.to_canonical) - [`Option::as_slice`](https://doc.rust-lang.org/stable/core/option/enum.Option.html#method.as_slice) - [`Option::as_mut_slice`](https://doc.rust-lang.org/stable/core/option/enum.Option.html#method.as_mut_slice) - [`pointer::byte_add`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_add) - [`pointer::byte_offset`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_offset) - [`pointer::byte_offset_from`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_offset_from) - [`pointer::byte_sub`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.byte_sub) - [`pointer::wrapping_byte_add`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_add) - [`pointer::wrapping_byte_offset`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_offset) - [`pointer::wrapping_byte_sub`](https://doc.rust-lang.org/stable/core/primitive.pointer.html#method.wrapping_byte_sub) These APIs are now stable in const contexts: - [`Ipv6Addr::to_ipv4_mapped`](https://doc.rust-lang.org/stable/core/net/struct.Ipv6Addr.html#method.to_ipv4\_mapped) - [`MaybeUninit::assume_init_read`](https://doc.rust-lang.org/stable/core/mem/union.MaybeUninit.html#method.assume_init_read) - [`MaybeUninit::zeroed`](https://doc.rust-lang.org/stable/core/mem/union.MaybeUninit.html#method.zeroed) - [`mem::discriminant`](https://doc.rust-lang.org/stable/core/mem/fn.discriminant.html) - [`mem::zeroed`](https://doc.rust-lang.org/stable/core/mem/fn.zeroed.html) ## Cargo - [Add new packages to `[workspace.members]` automatically.](https://togithub.com/rust-lang/cargo/pull/12779/) - [Allow version-less `Cargo.toml` manifests.](https://togithub.com/rust-lang/cargo/pull/12786/) - [Make browser links out of HTML file paths.](https://togithub.com/rust-lang/cargo/pull/12889) ## Rustdoc - [Accept less invalid Rust in rustdoc.](https://togithub.com/rust-lang/rust/pull/117450/) - [Document lack of object safety on affected traits.](https://togithub.com/rust-lang/rust/pull/113241/) - [Hide `#[repr(transparent)]` if it isn't part of the public ABI.](https://togithub.com/rust-lang/rust/pull/115439/) - [Show enum discriminant if it is a C-like variant.](https://togithub.com/rust-lang/rust/pull/116142/) ## Compatibility Notes - [FreeBSD targets now require at least version 12.](https://togithub.com/rust-lang/rust/pull/114521/) - [Formally demote tier 2 MIPS targets to tier 3.](https://togithub.com/rust-lang/rust/pull/115238/) - [Make misalignment a hard error in `const` contexts.](https://togithub.com/rust-lang/rust/pull/115524/) - [Fix detecting references to packed unsized fields.](https://togithub.com/rust-lang/rust/pull/115583/) - [Remove support for compiler plugins.](https://togithub.com/rust-lang/rust/pull/116412/) ## Internal Changes These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools. - [Optimize `librustc_driver.so` with BOLT.](https://togithub.com/rust-lang/rust/pull/116352/) - [Enable parallel rustc front end in dev and nightly builds.](https://togithub.com/rust-lang/rust/pull/117435/) - [Distribute `rustc-codegen-cranelift` as rustup component on the nightly channel.](https://togithub.com/rust-lang/rust/pull/81746/) ### [`v1.74`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1741-2023-12-07) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.73.0...1.74.0) \=========================== - [Resolved spurious STATUS_ACCESS_VIOLATIONs in LLVM](https://togithub.com/rust-lang/rust/pull/118464) - [Clarify guarantees for std::mem::discriminant](https://togithub.com/rust-lang/rust/pull/118006) - [Fix some subtyping-related regressions](https://togithub.com/rust-lang/rust/pull/116415)

Configuration

📅 Schedule: Branch creation - " *" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.