このコンテンツは選択した言語では利用できません。

Chapter 5. Changes in Rust 1.88.0 Toolset


RHEL provides Rust Toolset in version 1.88.0. Notable enhancements since the previously available version 1.84.1 include:

  • Rust 2024 Edition: The Rust 2024 Edition is now stable. It introduces changes such as refined capture rules for impl Trait, and safer extern blocks which now require the unsafe keyword.
  • Async Closures: The async closures are now stable.
  • Let Chains: This feature allows using && to chain multiple let statements within if and while conditions, enabling more concise complex conditional checks. This feature is available only in the Rust 2024 Edition.
  • Naked Functions: Developers can now define "naked functions" using the #[unsafe(naked)] attribute. These functions do not have a compiler-generated prologue or epilogue, providing full control over the assembly code.
  • High-performance computing: When you enable target features, you can call multiple std::arch intrinsics directly in safe Rust, which gives you direct access to specific CPU features.
  • Trait Upcasting: It is now possible to upcast trait objects to their supertraits, improving flexibility when working with trait objects.
  • Standard Library Improvements:

    • Anonymous Pipes: Access to anonymous pipes is now available in the standard library.
    • Mutable Multiple Element Indexing: `HashMap`s and slices now support safely retrieving mutable references to multiple elements simultaneously.

      Compatibility notes
  • The #[bench] attribute has been fully de-stabilized and its usage will result in a hard error.
  • The wasm_c_abi future compatibility warning is now a hard error.
  • The missing_abi lint is now warn-by-default, and explicitly specify the ABI in extern blocks.

Rust Toolset is a rolling Application Stream, and Red Hat only supports the latest version. For more information, see the Red Hat Enterprise Linux Application Streams Life Cycle document.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る