chore(deps): update dependency rust to v1.78.0 #19
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.76.0
->1.78.0
Release Notes
rust-lang/rust (rust)
v1.78.0
Compare Source
==========================
Language
#[cfg(target_abi = ...)]
#[diagnostic]
namespace and#[diagnostic::on_unimplemented]
attributeillegal_floating_point_literal_pattern
invalid_reference_casting
to include references casting to bigger memory layoutnon_contiguous_range_endpoints
lint for singleton gaps after exclusive rangeswasm_c_abi
lint for use of older wasm-bindgen versionsThis lint currently only works when using Cargo.
indirect_structural_match
andpointer_structural_match
lints to match RFCPartialEq
-typed consts as patterns a hard errorrefining_impl_trait
lint into_reachable
,_internal
variantswhere
-boundstrait Trait: Auto {}
: allow upcasting fromdyn Trait
todyn Auto
Compiler
INVALID_DOC_ATTRIBUTES
lint deny by defaultuse
checkingTarget changes:
wasm32-wasip1
tier 2 (without host tools) targetwasm32-wasip2
tier 3 targetwasm32-wasi-preview1-threads
towasm32-wasip1-threads
arm64ec-pc-windows-msvc
tier 3 targetarmv8r-none-eabihf
tier 3 target for the Cortex-R52loongarch64-unknown-linux-musl
tier 3 targetRefer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
RwLock
with custom implementationchar::is_grapheme_extended
Stabilized APIs
impl Read for &Stdin
'static
lifetimes for severalstd::error::Error
related implementationsimpl<Fd: AsFd>
impl take?Sized
impl From<TryReserveError> for io::Error
These APIs are now stable in const contexts:
Barrier::new()
Cargo
rust-version
when generating lockfile--charset
via auto-detecting config valuetarget.<triple>.rustdocflags
officiallyMisc
--test-builder-wrapper
arg to support wrappers such as RUSTC_WRAPPER when building doctestsCompatibility Notes
This change helps users catch undefined behavior in their code, though the details of how much is checked are generally not stable.
impl Trait
arithmetic_overflow
lintInternal 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.
rustc
with 1CGU onx86_64-pc-windows-msvc
rustc
with 1CGU onx86_64-apple-darwin
run-make
V2 infrastructure, arun_make_support
library and port over 2 tests as examplev1.77.2
Compare Source
===========================
std::process::Command
v1.77.1
Compare Source
===========================
This fixes a regression in 1.77 by reverting to the previous default.
Platforms other than Windows are not affected.
v1.77.0
Compare Source
==========================
Language
static_mut_refs
to warn on references to mutable statics.unstable_features
and make use of it in the compiler.only as a future compatiblity lint for now.
Compiler
soft_unstable
in future breakage reports.i128
andu128
16-byte aligned on x86-based targets.--verbose
in diagnostic output.unused_tuple_struct_fields
lint intodead_code
.with a temporary exception for Bevy.
fn
/const
items implied bounds and well-formedness check.riscv32{im|imafc}-unknown-none-elf
targets to tier 2.aarch64-unknown-illumos
hexagon-unknown-none-elf
riscv32imafc-esp-espidf
riscv32im-risc0-zkvm-elf
Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.
Libraries
From<&[T; N]>
forCow<[T]>
.vec.split_off(0)
.Stabilized APIs
array::each_ref
array::each_mut
core::net
f32::round_ties_even
f64::round_ties_even
mem::offset_of!
slice::first_chunk
slice::first_chunk_mut
slice::split_first_chunk
slice::split_first_chunk_mut
slice::last_chunk
slice::last_chunk_mut
slice::split_last_chunk
slice::split_last_chunk_mut
slice::chunk_by
slice::chunk_by_mut
Bound::map
File::create_new
Mutex::clear_poison
RwLock::clear_poison
Cargo
cargo::
.id
format asPackageIDSpec
.cargo-util-schemas
as a crate.Rustdoc
()
.localStorage
.Misc
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.
weird-exprs.rs
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.