rust-lang/rust (rust)
### [`v1.69.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1690-2023-04-20)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.2...1.69.0)
\==========================
## Language
- [Deriving built-in traits on packed structs works with `Copy` fields.](https://togithub.com/rust-lang/rust/pull/104429/)
- [Stabilize the `cmpxchg16b` target feature on x86 and x86\_64.](https://togithub.com/rust-lang/rust/pull/106774/)
- [Improve analysis of trait bounds for associated types.](https://togithub.com/rust-lang/rust/pull/103695/)
- [Allow associated types to be used as union fields.](https://togithub.com/rust-lang/rust/pull/106938/)
- [Allow `Self: Autotrait` bounds on dyn-safe trait methods.](https://togithub.com/rust-lang/rust/pull/107082/)
- [Treat `str` as containing `[u8]` for auto trait purposes.](https://togithub.com/rust-lang/rust/pull/107941/)
## Compiler
- [Upgrade `*-pc-windows-gnu` on CI to mingw-w64 v10 and GCC 12.2.](https://togithub.com/rust-lang/rust/pull/100178/)
- [Rework min_choice algorithm of member constraints.](https://togithub.com/rust-lang/rust/pull/105300/)
- [Support `true` and `false` as boolean flags in compiler arguments.](https://togithub.com/rust-lang/rust/pull/107043/)
- [Default `repr(C)` enums to `c_int` size.](https://togithub.com/rust-lang/rust/pull/107592/)
## Libraries
- [Implement the unstable `DispatchFromDyn` for cell types, allowing downstream experimentation with custom method receivers.](https://togithub.com/rust-lang/rust/pull/97373/)
- [Document that `fmt::Arguments::as_str()` may return `Some(_)` in more cases after optimization, subject to change.](https://togithub.com/rust-lang/rust/pull/106823/)
- [Implement `AsFd` and `AsRawFd` for `Rc`.](https://togithub.com/rust-lang/rust/pull/107317/)
## Stabilized APIs
- [`CStr::from_bytes_until_nul`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html#method.from_bytes_until_nul)
- [`core::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesUntilNulError.html)
These APIs are now stable in const contexts:
- [`SocketAddr::new`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.new)
- [`SocketAddr::ip`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.ip)
- [`SocketAddr::port`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.port)
- [`SocketAddr::is_ipv4`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv4)
- [`SocketAddr::is_ipv6`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv6)
- [`SocketAddrV4::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.new)
- [`SocketAddrV4::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.ip)
- [`SocketAddrV4::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.port)
- [`SocketAddrV6::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.new)
- [`SocketAddrV6::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.ip)
- [`SocketAddrV6::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.port)
- [`SocketAddrV6::flowinfo`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.flowinfo)
- [`SocketAddrV6::scope_id`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.scope_id)
## Cargo
- [Cargo now suggests `cargo fix` or `cargo clippy --fix` when compilation warnings are auto-fixable.](https://togithub.com/rust-lang/cargo/pull/11558/)
- [Cargo now suggests `cargo add` if you try to install a library crate.](https://togithub.com/rust-lang/cargo/pull/11410/)
- [Cargo now sets the `CARGO_BIN_NAME` environment variable also for binary examples.](https://togithub.com/rust-lang/cargo/pull/11705/)
## Rustdoc
- [Vertically compact trait bound formatting.](https://togithub.com/rust-lang/rust/pull/102842/)
- [Only include stable lints in `rustdoc::all` group.](https://togithub.com/rust-lang/rust/pull/106316/)
- [Compute maximum Levenshtein distance based on the query.](https://togithub.com/rust-lang/rust/pull/107141/)
- [Remove inconsistently-present sidebar tooltips.](https://togithub.com/rust-lang/rust/pull/107490/)
- [Search by macro when query ends with `!`.](https://togithub.com/rust-lang/rust/pull/108143/)
## Compatibility Notes
- [The `rust-analysis` component from `rustup` now only contains a warning placeholder.](https://togithub.com/rust-lang/rust/pull/101841/) This was primarily intended for RLS, and the corresponding `-Zsave-analysis` flag has been removed from the compiler as well.
- [Unaligned references to packed fields are now a hard error.](https://togithub.com/rust-lang/rust/pull/102513/) This has been a warning since 1.53, and denied by default with a future-compatibility warning since 1.62.
- [Update the minimum external LLVM to 14.](https://togithub.com/rust-lang/rust/pull/107573/)
- [Cargo now emits errors on invalid characters in a registry token.](https://togithub.com/rust-lang/cargo/pull/11600/)
- [When `default-features` is set to false of a workspace dependency, and an inherited dependency of a member has `default-features = true`, Cargo will enable default features of that dependency.](https://togithub.com/rust-lang/cargo/pull/11409/)
- [Cargo denies `CARGO_HOME` in the `[env]` configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.](https://togithub.com/rust-lang/cargo/pull/11644/)
- [Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time.](https://togithub.com/rust-lang/cargo/pull/11252/)
- [The Rust distribution no longer always includes rustdoc](https://togithub.com/rust-lang/rust/pull/106886)
If `tools = [...]` is set in config.toml, we will respect a missing rustdoc in that list. By
default rustdoc remains included. To retain the prior behavior explicitly add `"rustdoc"` to the
list.
## 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.
- [Move `format_args!()` into AST (and expand it during AST lowering)](https://togithub.com/rust-lang/rust/pull/106745/)
### [`v1.68.2`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1682-2023-03-28)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.1...1.68.2)
\===========================
- [Update the GitHub RSA host key bundled within Cargo](https://togithub.com/rust-lang/cargo/pull/11883).
The key was [rotated by GitHub](https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/)
on 2023-03-24 after the old one leaked.
- [Mark the old GitHub RSA host key as revoked](https://togithub.com/rust-lang/cargo/pull/11889).
This will prevent Cargo from accepting the leaked key even when trusted by
the system.
- [Add support for `@revoked` and a better error message for `@cert-authority` in Cargo's SSH host key verification](https://togithub.com/rust-lang/cargo/pull/11635)
### [`v1.68.1`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1681-2023-03-23)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.0...1.68.1)
\===========================
- [Fix miscompilation in produced Windows MSVC artifacts](https://togithub.com/rust-lang/rust/pull/109094)
This was introduced by enabling ThinLTO for the distributed rustc which led
to miscompilations in the resulting binary. Currently this is believed to be
limited to the -Zdylib-lto flag used for rustc compilation, rather than a
general bug in ThinLTO, so only rustc artifacts should be affected.
- [Fix --enable-local-rust builds](https://togithub.com/rust-lang/rust/pull/109111/)
- [Treat `$prefix-clang` as `clang` in linker detection code](https://togithub.com/rust-lang/rust/pull/109156)
- [Fix panic in compiler code](https://togithub.com/rust-lang/rust/pull/108162)
### [`v1.68.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1680-2023-03-09)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.67.1...1.68.0)
\==========================
## Language
- [Stabilize default_alloc_error_handler](https://togithub.com/rust-lang/rust/pull/102318/)
This allows usage of `alloc` on stable without requiring the
definition of a handler for allocation failure. Defining custom handlers is still unstable.
- [Stabilize `efiapi` calling convention.](https://togithub.com/rust-lang/rust/pull/105795/)
- [Remove implicit promotion for types with drop glue](https://togithub.com/rust-lang/rust/pull/105085/)
## Compiler
- [Change `bindings_with_variant_name` to deny-by-default](https://togithub.com/rust-lang/rust/pull/104154/)
- [Allow .. to be parsed as let initializer](https://togithub.com/rust-lang/rust/pull/105701/)
- [Add `armv7-sony-vita-newlibeabihf` as a tier 3 target](https://togithub.com/rust-lang/rust/pull/105712/)
- [Always check alignment during compile-time const evaluation](https://togithub.com/rust-lang/rust/pull/104616/)
- [Disable "split dwarf inlining" by default.](https://togithub.com/rust-lang/rust/pull/106709/)
- [Add vendor to Fuchsia's target triple](https://togithub.com/rust-lang/rust/pull/106429/)
- [Enable sanitizers for s390x-linux](https://togithub.com/rust-lang/rust/pull/107127/)
## Libraries
- [Loosen the bound on the Debug implementation of Weak.](https://togithub.com/rust-lang/rust/pull/90291/)
- [Make `std::task::Context` !Send and !Sync](https://togithub.com/rust-lang/rust/pull/95985/)
- [PhantomData layout guarantees](https://togithub.com/rust-lang/rust/pull/104081/)
- [Don't derive Debug for `OnceWith` & `RepeatWith`](https://togithub.com/rust-lang/rust/pull/104163/)
- [Implement DerefMut for PathBuf](https://togithub.com/rust-lang/rust/pull/105018/)
- [Add O(1) `Vec -> VecDeque` conversion guarantee](https://togithub.com/rust-lang/rust/pull/105128/)
- [Leak amplification for peek_mut() to ensure BinaryHeap's invariant is always met](https://togithub.com/rust-lang/rust/pull/105851/)
## Stabilized APIs
- [`{core,std}::pin::pin!`](https://doc.rust-lang.org/stable/std/pin/macro.pin.html)
- [`impl From for {f32,f64}`](https://doc.rust-lang.org/stable/std/primitive.f32.html#impl-From%3Cbool%3E-for-f32)
- [`std::path::MAIN_SEPARATOR_STR`](https://doc.rust-lang.org/stable/std/path/constant.MAIN_SEPARATOR_STR.html)
- [`impl DerefMut for PathBuf`](https://doc.rust-lang.org/stable/std/path/struct.PathBuf.html#impl-DerefMut-for-PathBuf)
These APIs are now stable in const contexts:
- [`VecDeque::new`](https://doc.rust-lang.org/stable/std/collections/struct.VecDeque.html#method.new)
## Cargo
- [Stabilize sparse registry support for crates.io](https://togithub.com/rust-lang/cargo/pull/11224/)
- [`cargo build --verbose` tells you more about why it recompiles.](https://togithub.com/rust-lang/cargo/pull/11407/)
- [Show progress of crates.io index update even `net.git-fetch-with-cli` option enabled](https://togithub.com/rust-lang/cargo/pull/11579/)
## Misc
## Compatibility Notes
- [Only support Android NDK 25 or newer](https://blog.rust-lang.org/2023/01/09/android-ndk-update-r25.html)
- [Add `SEMICOLON_IN_EXPRESSIONS_FROM_MACROS` to future-incompat report](https://togithub.com/rust-lang/rust/pull/103418/)
- [Only specify `--target` by default for `-Zgcc-ld=lld` on wasm](https://togithub.com/rust-lang/rust/pull/101792/)
- [Bump `IMPLIED_BOUNDS_ENTAILMENT` to Deny + ReportNow](https://togithub.com/rust-lang/rust/pull/106465/)
- [`std::task::Context` no longer implements Send and Sync](https://togithub.com/rust-lang/rust/pull/95985)
## 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.
- [Encode spans relative to the enclosing item](https://togithub.com/rust-lang/rust/pull/84762/)
- [Don't normalize in AstConv](https://togithub.com/rust-lang/rust/pull/101947/)
- [Find the right lower bound region in the scenario of partial order relations](https://togithub.com/rust-lang/rust/pull/104765/)
- [Fix impl block in const expr](https://togithub.com/rust-lang/rust/pull/104889/)
- [Check ADT fields for copy implementations considering regions](https://togithub.com/rust-lang/rust/pull/105102/)
- [rustdoc: simplify JS search routine by not messing with lev distance](https://togithub.com/rust-lang/rust/pull/105796/)
- [Enable ThinLTO for rustc on `x86_64-pc-windows-msvc`](https://togithub.com/rust-lang/rust/pull/103591/)
- [Enable ThinLTO for rustc on `x86_64-apple-darwin`](https://togithub.com/rust-lang/rust/pull/103647/)
### [`v1.67.1`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1671-2023-02-09)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.67.0...1.67.1)
\===========================
- [Fix interoperability with thin archives.](https://togithub.com/rust-lang/rust/pull/107360)
- [Fix an internal error in the compiler build process.](https://togithub.com/rust-lang/rust/pull/105624)
- [Downgrade `clippy::uninlined_format_args` to pedantic.](https://togithub.com/rust-lang/rust-clippy/pull/10265)
### [`v1.67.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1670-2023-01-26)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.66.1...1.67.0)
\==========================
## Language
- [Make `Sized` predicates coinductive, allowing cycles.](https://togithub.com/rust-lang/rust/pull/100386/)
- [`#[must_use]` annotations on `async fn` also affect the `Future::Output`.](https://togithub.com/rust-lang/rust/pull/100633/)
- [Elaborate supertrait obligations when deducing closure signatures.](https://togithub.com/rust-lang/rust/pull/101834/)
- [Invalid literals are no longer an error under `cfg(FALSE)`.](https://togithub.com/rust-lang/rust/pull/102944/)
- [Unreserve braced enum variants in value namespace.](https://togithub.com/rust-lang/rust/pull/103578/)
## Compiler
- [Enable varargs support for calling conventions other than `C` or `cdecl`.](https://togithub.com/rust-lang/rust/pull/97971/)
- [Add new MIR constant propagation based on dataflow analysis.](https://togithub.com/rust-lang/rust/pull/101168/)
- [Optimize field ordering by grouping m\*2^n-sized fields with equivalently aligned ones.](https://togithub.com/rust-lang/rust/pull/102750/)
- [Stabilize native library modifier `verbatim`.](https://togithub.com/rust-lang/rust/pull/104360/)
Added, updated, and removed targets:
- [Add a tier 3 target for PowerPC on AIX](https://togithub.com/rust-lang/rust/pull/102293/), `powerpc64-ibm-aix`.
- [Add a tier 3 target for the Sony PlayStation 1](https://togithub.com/rust-lang/rust/pull/102689/), `mipsel-sony-psx`.
- [Add tier 3 `no_std` targets for the QNX Neutrino RTOS](https://togithub.com/rust-lang/rust/pull/102701/),
`aarch64-unknown-nto-qnx710` and `x86_64-pc-nto-qnx710`.
- [Promote UEFI targets to tier 2](https://togithub.com/rust-lang/rust/pull/103933/), `aarch64-unknown-uefi`, `i686-unknown-uefi`, and `x86_64-unknown-uefi`.
- [Remove tier 3 `linuxkernel` targets](https://togithub.com/rust-lang/rust/pull/104015/) (not used by the actual kernel).
Refer to Rust's \[platform support page]\[platform-support-doc]
for more information on Rust's tiered platform support.
## Libraries
- [Merge `crossbeam-channel` into `std::sync::mpsc`.](https://togithub.com/rust-lang/rust/pull/93563/)
- [Fix inconsistent rounding of 0.5 when formatted to 0 decimal places.](https://togithub.com/rust-lang/rust/pull/102935/)
- [Derive `Eq` and `Hash` for `ControlFlow`.](https://togithub.com/rust-lang/rust/pull/103084/)
- [Don't build `compiler_builtins` with `-C panic=abort`.](https://togithub.com/rust-lang/rust/pull/103786/)
## Stabilized APIs
- [`{integer}::checked_ilog`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.checked_ilog)
- [`{integer}::checked_ilog2`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.checked_ilog2)
- [`{integer}::checked_ilog10`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.checked_ilog10)
- [`{integer}::ilog`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.ilog)
- [`{integer}::ilog2`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.ilog2)
- [`{integer}::ilog10`](https://doc.rust-lang.org/stable/std/primitive.i32.html#method.ilog10)
- [`NonZeroU*::ilog2`](https://doc.rust-lang.org/stable/std/num/struct.NonZeroU32.html#method.ilog2)
- [`NonZeroU*::ilog10`](https://doc.rust-lang.org/stable/std/num/struct.NonZeroU32.html#method.ilog10)
- [`NonZero*::BITS`](https://doc.rust-lang.org/stable/std/num/struct.NonZeroU32.html#associatedconstant.BITS)
These APIs are now stable in const contexts:
- [`char::from_u32`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.from_u32)
- [`char::from_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.from_digit)
- [`char::to_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.to_digit)
- [`core::char::from_u32`](https://doc.rust-lang.org/stable/core/char/fn.from_u32.html)
- [`core::char::from_digit`](https://doc.rust-lang.org/stable/core/char/fn.from_digit.html)
## Compatibility Notes
- [The layout of `repr(Rust)` types now groups m\*2^n-sized fields with
equivalently aligned ones.](https://togithub.com/rust-lang/rust/pull/102750/)
This is intended to be an optimization, but it is also known to increase type
sizes in a few cases for the placement of enum tags. As a reminder, the layout
of `repr(Rust)` types is an implementation detail, subject to change.
- [0.5 now rounds to 0 when formatted to 0 decimal places.](https://togithub.com/rust-lang/rust/pull/102935/)
This makes it consistent with the rest of floating point formatting that
rounds ties toward even digits.
- [Chains of `&&` and `||` will now drop temporaries from their sub-expressions in
evaluation order, left-to-right.](https://togithub.com/rust-lang/rust/pull/103293/)
Previously, it was "twisted" such that the *first* expression dropped its
temporaries *last*, after all of the other expressions dropped in order.
- [Underscore suffixes on string literals are now a hard error.](https://togithub.com/rust-lang/rust/pull/103914/)
This has been a future-compatibility warning since 1.20.0.
- [Stop passing `-export-dynamic` to `wasm-ld`.](https://togithub.com/rust-lang/rust/pull/105405/)
- [`main` is now mangled as `__main_void` on `wasm32-wasi`.](https://togithub.com/rust-lang/rust/pull/105468/)
- [Cargo now emits an error if there are multiple registries in the configuration
with the same index URL.](https://togithub.com/rust-lang/cargo/pull/10592)
## 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.
- [Rewrite LLVM's archive writer in Rust.](https://togithub.com/rust-lang/rust/pull/97485/)
### [`v1.66.1`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1661-2023-01-10)
[Compare Source](https://togithub.com/rust-lang/rust/compare/1.66.0...1.66.1)
\===========================
- Added validation of SSH host keys for git URLs in Cargo ([CVE-2022-46176](https://www.cve.org/CVERecord?id=CVE-2022-46176))
Configuration
đ Schedule: Branch creation - "before 5am on the first day of the month" (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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.66.0
->1.69.0
1.72.0
(+2)Release Notes
rust-lang/rust (rust)
### [`v1.69.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1690-2023-04-20) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.2...1.69.0) \========================== ## Language - [Deriving built-in traits on packed structs works with `Copy` fields.](https://togithub.com/rust-lang/rust/pull/104429/) - [Stabilize the `cmpxchg16b` target feature on x86 and x86\_64.](https://togithub.com/rust-lang/rust/pull/106774/) - [Improve analysis of trait bounds for associated types.](https://togithub.com/rust-lang/rust/pull/103695/) - [Allow associated types to be used as union fields.](https://togithub.com/rust-lang/rust/pull/106938/) - [Allow `Self: Autotrait` bounds on dyn-safe trait methods.](https://togithub.com/rust-lang/rust/pull/107082/) - [Treat `str` as containing `[u8]` for auto trait purposes.](https://togithub.com/rust-lang/rust/pull/107941/) ## Compiler - [Upgrade `*-pc-windows-gnu` on CI to mingw-w64 v10 and GCC 12.2.](https://togithub.com/rust-lang/rust/pull/100178/) - [Rework min_choice algorithm of member constraints.](https://togithub.com/rust-lang/rust/pull/105300/) - [Support `true` and `false` as boolean flags in compiler arguments.](https://togithub.com/rust-lang/rust/pull/107043/) - [Default `repr(C)` enums to `c_int` size.](https://togithub.com/rust-lang/rust/pull/107592/) ## Libraries - [Implement the unstable `DispatchFromDyn` for cell types, allowing downstream experimentation with custom method receivers.](https://togithub.com/rust-lang/rust/pull/97373/) - [Document that `fmt::Arguments::as_str()` may return `Some(_)` in more cases after optimization, subject to change.](https://togithub.com/rust-lang/rust/pull/106823/) - [Implement `AsFd` and `AsRawFd` for `Rc`.](https://togithub.com/rust-lang/rust/pull/107317/) ## Stabilized APIs - [`CStr::from_bytes_until_nul`](https://doc.rust-lang.org/stable/core/ffi/struct.CStr.html#method.from_bytes_until_nul) - [`core::ffi::FromBytesUntilNulError`](https://doc.rust-lang.org/stable/core/ffi/struct.FromBytesUntilNulError.html) These APIs are now stable in const contexts: - [`SocketAddr::new`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.new) - [`SocketAddr::ip`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.ip) - [`SocketAddr::port`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.port) - [`SocketAddr::is_ipv4`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv4) - [`SocketAddr::is_ipv6`](https://doc.rust-lang.org/stable/std/net/enum.SocketAddr.html#method.is_ipv6) - [`SocketAddrV4::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.new) - [`SocketAddrV4::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.ip) - [`SocketAddrV4::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV4.html#method.port) - [`SocketAddrV6::new`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.new) - [`SocketAddrV6::ip`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.ip) - [`SocketAddrV6::port`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.port) - [`SocketAddrV6::flowinfo`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.flowinfo) - [`SocketAddrV6::scope_id`](https://doc.rust-lang.org/stable/std/net/struct.SocketAddrV6.html#method.scope_id) ## Cargo - [Cargo now suggests `cargo fix` or `cargo clippy --fix` when compilation warnings are auto-fixable.](https://togithub.com/rust-lang/cargo/pull/11558/) - [Cargo now suggests `cargo add` if you try to install a library crate.](https://togithub.com/rust-lang/cargo/pull/11410/) - [Cargo now sets the `CARGO_BIN_NAME` environment variable also for binary examples.](https://togithub.com/rust-lang/cargo/pull/11705/) ## Rustdoc - [Vertically compact trait bound formatting.](https://togithub.com/rust-lang/rust/pull/102842/) - [Only include stable lints in `rustdoc::all` group.](https://togithub.com/rust-lang/rust/pull/106316/) - [Compute maximum Levenshtein distance based on the query.](https://togithub.com/rust-lang/rust/pull/107141/) - [Remove inconsistently-present sidebar tooltips.](https://togithub.com/rust-lang/rust/pull/107490/) - [Search by macro when query ends with `!`.](https://togithub.com/rust-lang/rust/pull/108143/) ## Compatibility Notes - [The `rust-analysis` component from `rustup` now only contains a warning placeholder.](https://togithub.com/rust-lang/rust/pull/101841/) This was primarily intended for RLS, and the corresponding `-Zsave-analysis` flag has been removed from the compiler as well. - [Unaligned references to packed fields are now a hard error.](https://togithub.com/rust-lang/rust/pull/102513/) This has been a warning since 1.53, and denied by default with a future-compatibility warning since 1.62. - [Update the minimum external LLVM to 14.](https://togithub.com/rust-lang/rust/pull/107573/) - [Cargo now emits errors on invalid characters in a registry token.](https://togithub.com/rust-lang/cargo/pull/11600/) - [When `default-features` is set to false of a workspace dependency, and an inherited dependency of a member has `default-features = true`, Cargo will enable default features of that dependency.](https://togithub.com/rust-lang/cargo/pull/11409/) - [Cargo denies `CARGO_HOME` in the `[env]` configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.](https://togithub.com/rust-lang/cargo/pull/11644/) - [Debuginfo for build dependencies is now off if not explicitly set. This is expected to improve the overall build time.](https://togithub.com/rust-lang/cargo/pull/11252/) - [The Rust distribution no longer always includes rustdoc](https://togithub.com/rust-lang/rust/pull/106886) If `tools = [...]` is set in config.toml, we will respect a missing rustdoc in that list. By default rustdoc remains included. To retain the prior behavior explicitly add `"rustdoc"` to the list. ## 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. - [Move `format_args!()` into AST (and expand it during AST lowering)](https://togithub.com/rust-lang/rust/pull/106745/) ### [`v1.68.2`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1682-2023-03-28) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.1...1.68.2) \=========================== - [Update the GitHub RSA host key bundled within Cargo](https://togithub.com/rust-lang/cargo/pull/11883). The key was [rotated by GitHub](https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/) on 2023-03-24 after the old one leaked. - [Mark the old GitHub RSA host key as revoked](https://togithub.com/rust-lang/cargo/pull/11889). This will prevent Cargo from accepting the leaked key even when trusted by the system. - [Add support for `@revoked` and a better error message for `@cert-authority` in Cargo's SSH host key verification](https://togithub.com/rust-lang/cargo/pull/11635) ### [`v1.68.1`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1681-2023-03-23) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.68.0...1.68.1) \=========================== - [Fix miscompilation in produced Windows MSVC artifacts](https://togithub.com/rust-lang/rust/pull/109094) This was introduced by enabling ThinLTO for the distributed rustc which led to miscompilations in the resulting binary. Currently this is believed to be limited to the -Zdylib-lto flag used for rustc compilation, rather than a general bug in ThinLTO, so only rustc artifacts should be affected. - [Fix --enable-local-rust builds](https://togithub.com/rust-lang/rust/pull/109111/) - [Treat `$prefix-clang` as `clang` in linker detection code](https://togithub.com/rust-lang/rust/pull/109156) - [Fix panic in compiler code](https://togithub.com/rust-lang/rust/pull/108162) ### [`v1.68.0`](https://togithub.com/rust-lang/rust/blob/HEAD/RELEASES.md#Version-1680-2023-03-09) [Compare Source](https://togithub.com/rust-lang/rust/compare/1.67.1...1.68.0) \========================== ## Language - [Stabilize default_alloc_error_handler](https://togithub.com/rust-lang/rust/pull/102318/) This allows usage of `alloc` on stable without requiring the definition of a handler for allocation failure. Defining custom handlers is still unstable. - [Stabilize `efiapi` calling convention.](https://togithub.com/rust-lang/rust/pull/105795/) - [Remove implicit promotion for types with drop glue](https://togithub.com/rust-lang/rust/pull/105085/) ## Compiler - [Change `bindings_with_variant_name` to deny-by-default](https://togithub.com/rust-lang/rust/pull/104154/) - [Allow .. to be parsed as let initializer](https://togithub.com/rust-lang/rust/pull/105701/) - [Add `armv7-sony-vita-newlibeabihf` as a tier 3 target](https://togithub.com/rust-lang/rust/pull/105712/) - [Always check alignment during compile-time const evaluation](https://togithub.com/rust-lang/rust/pull/104616/) - [Disable "split dwarf inlining" by default.](https://togithub.com/rust-lang/rust/pull/106709/) - [Add vendor to Fuchsia's target triple](https://togithub.com/rust-lang/rust/pull/106429/) - [Enable sanitizers for s390x-linux](https://togithub.com/rust-lang/rust/pull/107127/) ## Libraries - [Loosen the bound on the Debug implementation of Weak.](https://togithub.com/rust-lang/rust/pull/90291/) - [Make `std::task::Context` !Send and !Sync](https://togithub.com/rust-lang/rust/pull/95985/) - [PhantomData layout guarantees](https://togithub.com/rust-lang/rust/pull/104081/) - [Don't derive Debug for `OnceWith` & `RepeatWith`](https://togithub.com/rust-lang/rust/pull/104163/) - [Implement DerefMut for PathBuf](https://togithub.com/rust-lang/rust/pull/105018/) - [Add O(1) `Vec -> VecDeque` conversion guarantee](https://togithub.com/rust-lang/rust/pull/105128/) - [Leak amplification for peek_mut() to ensure BinaryHeap's invariant is always met](https://togithub.com/rust-lang/rust/pull/105851/) ## Stabilized APIs - [`{core,std}::pin::pin!`](https://doc.rust-lang.org/stable/std/pin/macro.pin.html) - [`impl FromConfiguration
đ Schedule: Branch creation - "before 5am on the first day of the month" (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.