Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.65.0->1.69.01.72.0(+2)Release Notes
rust-lang/rust (rust)
v1.69.0Compare Source
==========================
Language
Copyfields.cmpxchg16btarget feature on x86 and x86_64.Self: Autotraitbounds on dyn-safe trait methods.stras containing[u8]for auto trait purposes.Compiler
*-pc-windows-gnuon CI to mingw-w64 v10 and GCC 12.2.trueandfalseas boolean flags in compiler arguments.repr(C)enums toc_intsize.Libraries
DispatchFromDynfor cell types, allowing downstream experimentation with custom method receivers.fmt::Arguments::as_str()may returnSome(_)in more cases after optimization, subject to change.AsFdandAsRawFdforRc.Stabilized APIs
CStr::from_bytes_until_nulcore::ffi::FromBytesUntilNulErrorThese APIs are now stable in const contexts:
SocketAddr::newSocketAddr::ipSocketAddr::portSocketAddr::is_ipv4SocketAddr::is_ipv6SocketAddrV4::newSocketAddrV4::ipSocketAddrV4::portSocketAddrV6::newSocketAddrV6::ipSocketAddrV6::portSocketAddrV6::flowinfoSocketAddrV6::scope_idCargo
cargo fixorcargo clippy --fixwhen compilation warnings are auto-fixable.cargo addif you try to install a library crate.CARGO_BIN_NAMEenvironment variable also for binary examples.Rustdoc
rustdoc::allgroup.!.Compatibility Notes
rust-analysiscomponent fromrustupnow only contains a warning placeholder. This was primarily intended for RLS, and the corresponding-Zsave-analysisflag has been removed from the compiler as well.default-featuresis set to false of a workspace dependency, and an inherited dependency of a member hasdefault-features = true, Cargo will enable default features of that dependency.CARGO_HOMEin the[env]configuration table. Cargo itself doesn't pick up this value, but recursive calls to cargo would, which was not intended.If
tools = [...]is set in config.toml, we will respect a missing rustdoc in that list. Bydefault rustdoc remains included. To retain the prior behavior explicitly add
"rustdoc"to thelist.
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.
format_args!()into AST (and expand it during AST lowering)v1.68.2Compare Source
===========================
The key was rotated by GitHub
on 2023-03-24 after the old one leaked.
This will prevent Cargo from accepting the leaked key even when trusted by
the system.
@revokedand a better error message for@cert-authorityin Cargo's SSH host key verificationv1.68.1Compare Source
===========================
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.
$prefix-clangasclangin linker detection codev1.68.0Compare Source
==========================
Language
This allows usage of
allocon stable without requiring thedefinition of a handler for allocation failure. Defining custom handlers is still unstable.
efiapicalling convention.Compiler
bindings_with_variant_nameto deny-by-defaultarmv7-sony-vita-newlibeabihfas a tier 3 targetLibraries
std::task::Context!Send and !SyncOnceWith&RepeatWithVec -> VecDequeconversion guaranteeStabilized APIs
{core,std}::pin::pin!impl From<bool> for {f32,f64}std::path::MAIN_SEPARATOR_STRimpl DerefMut for PathBufThese APIs are now stable in const contexts:
VecDeque::newCargo
cargo build --verbosetells you more about why it recompiles.net.git-fetch-with-clioption enabledMisc
Compatibility Notes
SEMICOLON_IN_EXPRESSIONS_FROM_MACROSto future-incompat report--targetby default for-Zgcc-ld=lldon wasmIMPLIED_BOUNDS_ENTAILMENTto Deny + ReportNowstd::task::Contextno longer implements Send and SyncInternal 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.
x86_64-pc-windows-msvcx86_64-apple-darwinv1.67.1Compare Source
===========================
clippy::uninlined_format_argsto pedantic.v1.67.0Compare Source
==========================
Language
Sizedpredicates coinductive, allowing cycles.#[must_use]annotations onasync fnalso affect theFuture::Output.cfg(FALSE).Compiler
Corcdecl.verbatim.Added, updated, and removed targets:
powerpc64-ibm-aix.mipsel-sony-psx.no_stdtargets for the QNX Neutrino RTOS,aarch64-unknown-nto-qnx710andx86_64-pc-nto-qnx710.aarch64-unknown-uefi,i686-unknown-uefi, andx86_64-unknown-uefi.linuxkerneltargets (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
crossbeam-channelintostd::sync::mpsc.EqandHashforControlFlow.compiler_builtinswith-C panic=abort.Stabilized APIs
{integer}::checked_ilog{integer}::checked_ilog2{integer}::checked_ilog10{integer}::ilog{integer}::ilog2{integer}::ilog10NonZeroU*::ilog2NonZeroU*::ilog10NonZero*::BITSThese APIs are now stable in const contexts:
char::from_u32char::from_digitchar::to_digitcore::char::from_u32core::char::from_digitCompatibility Notes
repr(Rust)types now groups m*2^n-sized fields withequivalently aligned ones.
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.This makes it consistent with the rest of floating point formatting that
rounds ties toward even digits.
&&and||will now drop temporaries from their sub-expressions inevaluation order, left-to-right.
Previously, it was "twisted" such that the first expression dropped its
temporaries last, after all of the other expressions dropped in order.
This has been a future-compatibility warning since 1.20.0.
-export-dynamictowasm-ld.mainis now mangled as__main_voidonwasm32-wasi.with the same index URL.
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.
v1.66.1Compare Source
===========================
v1.66.0Compare Source
==========================
Language
repr(Int)enumsmust_useonimpl Traitfor supertraitsThis makes
impl ExactSizeIteratorrespect the existing#[must_use]annotation onIterator...=Xin patternsclippy::for_loops_over_fallibleslint into rustcsymoperands in inline assemblyThis is a soundness fix which may break code that was erroneously relying on this behavior.
Compiler
information on Rust's tiered platform support.
Libraries
#[derive(Default)]on a generic#[default]enum adding unnecessaryDefaultboundsStabilized APIs
proc_macro::Span::source_textuX::{checked_add_signed, overflowing_add_signed, saturating_add_signed, wrapping_add_signed}iX::{checked_add_unsigned, overflowing_add_unsigned, saturating_add_unsigned, wrapping_add_unsigned}iX::{checked_sub_unsigned, overflowing_sub_unsigned, saturating_sub_unsigned, wrapping_sub_unsigned}BTreeSet::{first, last, pop_first, pop_last}BTreeMap::{first_key_value, last_key_value, first_entry, last_entry, pop_first, pop_last}AsFdimplementations for stdio lock types on WASI.impl TryFrom<Vec<T>> for Box<[T; N]>core::hint::black_boxDuration::try_from_secs_{f32,f64}Option::unzipstd::os::fdRustdoc
Cargo
cargo removeto remove dependencies from Cargo.tomlcargo publishnow waits for the new version to be downloadable before exitingSee detailed release notes for more.
Compatibility Notes
ProceduralMasqueradehack to older versions ofrental__heap_baseand__data_endon wasm32-wasi.__wasm_init_memoryon WebAssembly.__tls_*on wasm32-unknown-unknown.libresolvin libstd on Darwinlibstdno longer pull inlibiconv.dylibon Darwin)This is a soundness fix which may break code that was erroneously relying on this behavior.
order_dependent_trait_objectsshow up in future-breakage reportsInternal 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.
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.
This PR has been generated by Mend Renovate. View repository job log here.