Bug 2123900
Summary: | Rebase rust-toolset to 1.66 in RHEL 9.2.0 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Josh Stone <jistone> |
Component: | rust | Assignee: | Josh Stone <jistone> |
Status: | CLOSED ERRATA | QA Contact: | Jesus Checa <jchecahi> |
Severity: | unspecified | Docs Contact: | Jacob Taylor Valdez <jvaldez> |
Priority: | unspecified | ||
Version: | 9.2 | CC: | amulhern, jvaldez, sipoyare |
Target Milestone: | rc | Keywords: | FutureFeature, Rebase, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rust-1.66.1-1.el9 | Doc Type: | Enhancement |
Doc Text: |
.Rust Toolset rebased to version 1.66.1
Rust Toolset has been updated to version 1.66.1. Notable changes include:
* The `thread::scope` API creates a lexical scope in which local variables can be safely borrowed by newly spawned threads, and those threads are all guaranteed to exit before the scope ends.
* The `hint::black_box` API adds a barrier to compiler optimization, which is useful for preserving behavior in benchmarks that might otherwise be optimized away.
* The `.await` keyword now makes conversions with the `IntoFuture` trait, similar to the relationship between `for` and `IntoIterator`.
* Generic associated types (GATs) allow traits to include type aliases with generic parameters, enabling new abstractions over both types and lifetimes.
* A new `let`-`else` statement allows binding local variables with conditional pattern matching, executing a divergent `else` block when the pattern does not match.
* Labeled blocks allow `break` statements to jump to the end of the block, optionally including an expression value.
* `rust-analyzer` is a new implementation of the Language Server Protocol, enabling Rust support in many editors. This replaces the former `rls` package, but you might need to adjust your editor configuration to migrate to `rust-analyzer`.
* Cargo has a new `cargo remove` subcommand for removing dependencies from `Cargo.toml`.
//* For more details, please see the series of upstream release announcements:
// ** link:https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html[Announcing Rust 1.63.0]
// ** link:https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html[Announcing Rust 1.64.0]
// ** link:https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html[Announcing Rust 1.65.0]
// ** link:https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html[Announcing Rust 1.66.0]
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-09 07:36:28 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2118319, 2123902 | ||
Bug Blocks: | |||
Deadline: | 2023-01-30 |
Description
Josh Stone
2022-09-02 23:21:48 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (rust bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2229 |