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

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.

主站蜘蛛池模板: 三明市| 五原县| 临海市| 南通市| 佛坪县| 嘉兴市| 名山县| 万山特区| 乐清市| 商南县| 千阳县| 大埔区| 延长县| 望谟县| 凤城市| 酉阳| 资阳市| 剑阁县| 靖西县| 石嘴山市| 崇左市| 突泉县| 邳州市| 法库县| 禄劝| 阿合奇县| 曲阜市| 灵山县| 泾源县| 仪陇县| 波密县| 上虞市| 庐江县| 邢台市| 博兴县| 昌平区| 民丰县| 新化县| 都安| 微山县| 皮山县|