官术网_书友最值得收藏!

  • Mastering Rust
  • Rahul Sharma Vesa Kaihlavirta
  • 140字
  • 2021-07-02 13:35:13

Installing the Rust compiler and toolchain

The Rust toolchain has two major components: the compiler, rustc, and the package manager, cargo, which helps manage Rust projects. The toolchain comes in three release channels:

  • Nightly: The daily successful build from the master development branch. This contains all the latest features, many of which are unstable.
  • Beta: This is released every six weeks. A new beta branch is taken from nightly. It contains only features that are flagged as stable.
  • Stable: This is released every six weeks. The previous beta branch becomes the new stable release.

Developers are encouraged to use the stable release channel. However, the nightly version enables bleeding edge features, and some libraries and programs require it. You can change to the nightly toolchain easily with rustup. We'll see how we can do that in a moment.

主站蜘蛛池模板: 凤庆县| 榆中县| 樟树市| 彩票| 镶黄旗| 白沙| 桃园市| 峨眉山市| 梧州市| 双江| 郓城县| 恩施市| 临颍县| 额济纳旗| 双柏县| 荃湾区| 湖北省| 宁南县| 杭锦后旗| 蕉岭县| 栖霞市| 铜川市| 通化县| 上林县| 内江市| 乌鲁木齐市| 和田县| 平定县| 九台市| 蕉岭县| 高安市| 赣州市| 九江县| 将乐县| 鹤峰县| 宁阳县| 台前县| 永州市| 荥经县| 随州市| 高淳县|