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

Chapter 5. Changes in Rust Toolset in Red Hat Developer Tools 2018.3


This chapter lists some notable changes in Rust Toolset since its previous release.

5.1. Rust

Rust has been updated from version 1.25.0 to 1.26.2. Notable changes include:

  • The ability to describe a type with the impl Trait construct without giving the type name has been added. This construct is useful for returning unnamed types, in situations where the actual type is not known such as closures, or where the type’s implementation should stay private.

    Situations where a type must be supplied in multiple positions in a statement still require type parameters.

  • Support for automatic pattern references has been added to the match, let and other statements. When using patterns to match the inner parts of a referenced object, the compiler can now automatically dereference the object and reference the inner parts.
  • Previously, the main() function of a Rust program could return only the () unit type. Rust has been extended to allow returning a value of the Result type from main(), such as Result<(), E>, and to handle the error values supplied this way.
  • Inclusive ranges have been added. To specify a range that includes the last specified value, use a..=b.
  • Support for slice patterns has been added to the match statement.
  • 128-bit integer types i128 and u128 have been added.

5.2. cargo

The cargo tool has been updated from version 0.26.0 to 1.26.0.

5.3. cargo-vendor

The cargo-vendor tool has been updated from version 0.1.13 to 0.1.15.

5.4. Rust Language Server

The Rust Language Server (RLS) version 0.126.0 has been added to Red Hat Developer Tools. This tool enables integration of Rust with Integrated development environments. RLS is provided by the rust-toolset-7-rls-preview package.

5.5. Known Issues

The release of Rust Toolset in Red Hat Developer Tools 2018.3 contains the following known issues:

  • Rust programs can print a backtrace when they enounter a panic and the environment variable RUST_BACKTRACE=1 is set. This functionality is not available on the big-endian variant of IBM Power Systems architecture. (BZ#1497800)
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

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

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

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

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

会社概要

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

Theme

© 2025 Red Hat