oxidecomputer / steno

distributed sagas
Apache License 2.0
111 stars 10 forks source link

Update Rust to v1.74.0 #208

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate logo banner

This PR contains the following updates:

Package Update Change
rust minor 1.73.0 -> 1.74.0

Release Notes

rust-lang/rust (rust) ### [`v1.74.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1740-2023-11-16) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.73.0...1.74.0) \========================== ## Language - [Codify that `std::mem::Discriminant` does not depend on any lifetimes in T](https://togithub.com/rust-lang/rust/pull/104299/) - [Replace `private_in_public` lint with `private_interfaces` and `private_bounds` per RFC 2145.](https://togithub.com/rust-lang/rust/pull/113126/) Read more in [RFC 2145](https://rust-lang.github.io/rfcs/2145-type-privacy.html). - [Allow explicit `#[repr(Rust)]`](https://togithub.com/rust-lang/rust/pull/114201/) - [closure field capturing: don't depend on alignment of packed fields](https://togithub.com/rust-lang/rust/pull/115315/) - [Enable MIR-based drop-tracking for `async` blocks](https://togithub.com/rust-lang/rust/pull/107421/) - [Stabilize `impl_trait_projections`](https://togithub.com/rust-lang/rust/pull/115659) ## Compiler - [stabilize combining +bundle and +whole-archive link modifiers](https://togithub.com/rust-lang/rust/pull/113301/) - [Stabilize `PATH` option for `--print KIND=PATH`](https://togithub.com/rust-lang/rust/pull/114183/) - [Enable ASAN/LSAN/TSAN for `*-apple-ios-macabi`](https://togithub.com/rust-lang/rust/pull/115644/) - [Promote loongarch64-unknown-none\* to Tier 2](https://togithub.com/rust-lang/rust/pull/115368/) - [Add `i686-pc-windows-gnullvm` as a tier 3 target](https://togithub.com/rust-lang/rust/pull/115687/) ## Libraries - [Implement `From` for ChildStdin/out/err](https://togithub.com/rust-lang/rust/pull/98704/) - [Implement `From<{&,&mut} [T; N]>` for `Vec` where `T: Clone`](https://togithub.com/rust-lang/rust/pull/111278/) - [impl Step for IP addresses](https://togithub.com/rust-lang/rust/pull/113748/) - [Implement `From<[T; N]>` for `Rc<[T]>` and `Arc<[T]>`](https://togithub.com/rust-lang/rust/pull/114041/) - [`impl TryFrom for u16`](https://togithub.com/rust-lang/rust/pull/114065/) - [Stabilize `io_error_other` feature](https://togithub.com/rust-lang/rust/pull/115453/) - [Stabilize the `Saturating` type](https://togithub.com/rust-lang/rust/pull/115477/) - [Stabilize const_transmute_copy](https://togithub.com/rust-lang/rust/pull/115520/) ## Stabilized APIs - [`core::num::Saturating`](https://doc.rust-lang.org/stable/std/num/struct.Saturating.html) - [`impl From for std::process::Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStdout%3E-for-Stdio) - [`impl From for std::process::Stdio`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio) - [`impl From for std::process::Child{Stdin, Stdout, Stderr}`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio) - [`impl From for std::process::Child{Stdin, Stdout, Stderr}`](https://doc.rust-lang.org/stable/std/process/struct.Stdio.html#impl-From%3CStderr%3E-for-Stdio) - [`std::ffi::OsString::from_encoded_bytes_unchecked`](https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.from_encoded_bytes_unchecked) - [`std::ffi::OsString::into_encoded_bytes`](https://doc.rust-lang.org/stable/std/ffi/struct.OsString.html#method.into_encoded_bytes) - [`std::ffi::OsStr::from_encoded_bytes_unchecked`](https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.from_encoded_bytes_unchecked) - [`std::ffi::OsStr::as_encoded_bytes`](https://doc.rust-lang.org/stable/std/ffi/struct.OsStr.html#method.as_encoded_bytes) - [`std::io::Error::other`](https://doc.rust-lang.org/stable/std/io/struct.Error.html#method.other) - [`impl TryFrom for u16`](https://doc.rust-lang.org/stable/std/primitive.u16.html#impl-TryFrom%3Cchar%3E-for-u16) - [`impl From<&[T; N]> for Vec`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E) - [`impl From<&mut [T; N]> for Vec`](https://doc.rust-lang.org/stable/std/vec/struct.Vec.html#impl-From%3C%26mut+%5BT;+N%5D%3E-for-Vec%3CT,+Global%3E) - [`impl From<[T; N]> for Arc<[T]>`](https://doc.rust-lang.org/stable/std/sync/struct.Arc.html#impl-From%3C%5BT;+N%5D%3E-for-Arc%3C%5BT%5D,+Global%3E) - [`impl From<[T; N]> for Rc<[T]>`](https://doc.rust-lang.org/stable/std/rc/struct.Rc.html#impl-From%3C%5BT;+N%5D%3E-for-Rc%3C%5BT%5D,+Global%3E) These APIs are now stable in const contexts: - [`core::mem::transmute_copy`](https://doc.rust-lang.org/beta/std/mem/fn.transmute_copy.html) - [`str::is_ascii`](https://doc.rust-lang.org/beta/std/primitive.str.html#method.is_ascii) - [`[u8]::is_ascii`](https://doc.rust-lang.org/beta/std/primitive.slice.html#method.is_ascii) ## Cargo - [fix: Set MSRV for internal packages](https://togithub.com/rust-lang/cargo/pull/12381/) - [config: merge lists in precedence order](https://togithub.com/rust-lang/cargo/pull/12515/) - [fix(update): Clarify meaning of --aggressive as --recursive](https://togithub.com/rust-lang/cargo/pull/12544/) - [fix(update): Make `-p` more convenient by being positional](https://togithub.com/rust-lang/cargo/pull/12545/) - [feat(help): Add styling to help output ](https://togithub.com/rust-lang/cargo/pull/12578/) - [feat(pkgid): Allow incomplete versions when unambigious](https://togithub.com/rust-lang/cargo/pull/12614/) - [feat: stabilize credential-process and registry-auth](https://togithub.com/rust-lang/cargo/pull/12649/) - [feat(cli): Add '-n' to dry-run](https://togithub.com/rust-lang/cargo/pull/12660/) - [Add support for `target.'cfg(..)'.linker`](https://togithub.com/rust-lang/cargo/pull/12535/) - [Stabilize `--keep-going`](https://togithub.com/rust-lang/cargo/pull/12568/) - [feat: Stabilize lints](https://togithub.com/rust-lang/cargo/pull/12648/) ## Rustdoc - [Add warning block support in rustdoc](https://togithub.com/rust-lang/rust/pull/106561/) - [Accept additional user-defined syntax classes in fenced code blocks](https://togithub.com/rust-lang/rust/pull/110800/) - [rustdoc-search: add support for type parameters](https://togithub.com/rust-lang/rust/pull/112725/) - [rustdoc: show inner enum and struct in type definition for concrete type](https://togithub.com/rust-lang/rust/pull/114855/) ## Compatibility Notes - [Raise minimum supported Apple OS versions](https://togithub.com/rust-lang/rust/pull/104385/) - [make Cell::swap panic if the Cells partially overlap](https://togithub.com/rust-lang/rust/pull/114795/) - [Reject invalid crate names in `--extern`](https://togithub.com/rust-lang/rust/pull/116001/) - [Don't resolve generic impls that may be shadowed by dyn built-in impls](https://togithub.com/rust-lang/rust/pull/114941/) - [The new `impl From<{&,&mut} [T; N]> for Vec` is known to cause some inference failures with overly-generic code.](https://togithub.com/rust-lang/rust/issues/117054) In those examples using the `tui` crate, the combination of `AsRef<_>` and `Into` leaves the middle type ambiguous, and the new `impl` adds another possibility, so it now requires an explicit type annotation. ## 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. None this cycle.

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 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.