chore(deps): Update Rust Stable to v1.79 #5532
Merged
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 PR contains the following updates:
1.78
->1.79
Release Notes
rust-lang/rust (STABLE)
v1.79
Compare Source
==========================
Language
const {}
expressions.redundant_lifetimes
lint to detect lifetimes which are semantically redundant.unnameable_types
lint for public types that can't be named.-C collapse-macro-debuginfo
and#[collapse_debuginfo]
.if
andmatch
expressions.const fn
calls.refining_impl_trait
lint.main
from other modules or crates.impl Trait
lifetime inferenceCompiler
-C strip
to only affect binaries, not artifacts like.pdb
.-Crelro-level
for controlling runtime link hardening.cfg
names and values at compile-time with--check-cfg
.Note that this only stabilizes the compiler part, the Cargo part is still unstable in this release.
aarch64-apple-visionos
andaarch64-apple-visionos-sim
tier 3 targets.riscv32ima-unknown-none-elf
tier 3 target.aarch64-pc-windows-gnullvm
,i686-pc-windows-gnullvm
, andx86_64-pc-windows-gnullvm
.Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
FromIterator
for(impl Default Extend, impl Default Extend)
.{Div,Rem}Assign<NonZero<X>>
onX
.clone_from()
in core/std.transmute
between pointers and integers.Stabilized APIs
{integer}::unchecked_add
{integer}::unchecked_mul
{integer}::unchecked_sub
<[T]>::split_at_unchecked
<[T]>::split_at_mut_unchecked
<[u8]>::utf8_chunks
str::Utf8Chunks
str::Utf8Chunk
<*const T>::is_aligned
<*mut T>::is_aligned
NonNull::is_aligned
<*const [T]>::len
<*mut [T]>::len
<*const [T]>::is_empty
<*mut [T]>::is_empty
NonNull::<[T]>::is_empty
CStr::count_bytes
io::Error::downcast
num::NonZero<T>
path::absolute
proc_macro::Literal::byte_character
proc_macro::Literal::c_string
These APIs are now stable in const contexts:
Atomic*::into_inner
io::Cursor::new
io::Cursor::get_ref
io::Cursor::position
io::empty
io::repeat
io::sink
panic::Location::caller
panic::Location::file
panic::Location::line
panic::Location::column
Cargo
lib.name
, always normalizing to_
.cargo add
.gitoxide
by default for listing files.[project]
in Edition 2024;cargo fix --edition
will change it to[package]
.Rustdoc
/
in docs to begin a search.Misc
Compatibility Notes
RustcEncodable
andRustcDecodable
are soft-destabilized, to be removedfrom the prelude in next edition.
wasm_c_abi
future-incompatibility lint will warn about use of thenon-spec-compliant C ABI.
Use
wasm-bindgen v0.2.88
to generate forward-compatible bindings.Configuration
📅 Schedule: Branch creation - "* * * * *" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.