- Announcement: Rust 1.87.0 is announced at the 10 Years of Rust celebration in Utrecht, Netherlands. Today is the 10-year anniversary of Rust 1.0.
- Update Method: If you have a previous version of Rust installed via
rustup
, you can get 1.87.0 withrustup update stable
. If you don't haverustup
, you can get it from the appropriate page on the website and check the detailed release notes. - Beta Channel and Nightly Channel: You can update locally to use the beta channel (
rustup default beta
) or the nightly channel (rustup default nightly
) to help test future releases and report any bugs. What's in 1.87.0 stable:
- Anonymous pipes: Access to anonymous pipes is added to the standard library, including integration with
std::process::Command
. - Safe architecture intrinsics: Most
std::arch
intrinsics that require target features can now be called in safe code. asm!
jumps to Rust code: Inline assembly can now jump to labeled blocks within Rust code.- Precise capturing (
+ use<...>
) inimpl Trait
in trait definitions: Specific captured generic types and lifetimes can be specified in trait definitions. - Stabilized APIs: Many Rust APIs are stabilized, including various methods in
Vec
,LinkedList
,String
, etc. - Stable in const contexts: Some previously stable APIs are now stable in const contexts.
i586-pc-windows-msvc
target removal: The Tier 2 targeti586-pc-windows-msvc
has been removed. Users should migrate toi686-pc-windows-msvc
.
- Anonymous pipes: Access to anonymous pipes is added to the standard library, including integration with
- Other changes: Check the release pages of Rust, Cargo, and Clippy for all the changes.
- Contributors: Many people contributed to Rust 1.87.0. Thanks to all of them.
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。