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.56.1
->1.57.0
Release Notes
rust-lang/rust
v1.57.0
Compare Source
==========================
Language
#[derive]
and will see the original (pre-cfg
) input.m!{ .. }.method()
andm!{ .. }?
.Compiler
armv6k-nintendo-3ds
at Tier 3*.armv7-unknown-linux-uclibceabihf
at Tier 3*.m68k-unknown-linux-gnu
at Tier 3*.aarch64-kmc-solid_asp3
,armv7a-kmc-solid_asp3-eabi
,armv7a-kmc-solid_asp3-eabihf
* Refer to Rust's [platform support page][platform-support-doc] for more
information on Rust's tiered platform support.
Libraries
Vec::leak
#[repr(i8)]
toOrdering
File::read_to_end
andread_to_string
#[must_use]
, producing a warningwhen ignoring their return value. This helps catch mistakes such as expecting
a function to mutate a value in place rather than return a new value.
Stabilised APIs
[T; N]::as_mut_slice
[T; N]::as_slice
collections::TryReserveError
][collections::TryReserveError]HashMap::try_reserve
][HashMap::try_reserve]HashSet::try_reserve
][HashSet::try_reserve]String::try_reserve
][String::try_reserve]String::try_reserve_exact
][String::try_reserve_exact]Vec::try_reserve
][Vec::try_reserve]Vec::try_reserve_exact
][Vec::try_reserve_exact]VecDeque::try_reserve
][VecDeque::try_reserve]VecDeque::try_reserve_exact
][VecDeque::try_reserve_exact]Iterator::map_while
][Iterator::map_while]iter::MapWhile
][iter::MapWhile]proc_macro::is_available
][proc_macro::is_available]Command::get_program
][Command::get_program]Command::get_args
][Command::get_args]Command::get_envs
][Command::get_envs]Command::get_current_dir
][Command::get_current_dir]CommandArgs
][CommandArgs]CommandEnvs
][CommandEnvs]These APIs are now usable in const contexts:
hint::unreachable_unchecked
]Cargo
Compatibility notes
Internal changes
These changes provide no direct user facing benefits, but represent significant
improvements to the internals and overall performance of rustc
and related tools.
libgccjit
.Configuration
📅 Schedule: 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 WhiteSource Renovate. View repository job log here.