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

  • 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.

主站蜘蛛池模板: 英吉沙县| 永寿县| 汤阴县| 宁德市| 韶山市| 抚松县| 泸溪县| 东至县| 新巴尔虎左旗| 常宁市| 吴旗县| 张家界市| 巍山| 定陶县| 五家渠市| 封丘县| 阿图什市| 龙海市| 屏边| 嵊州市| 黄冈市| 静乐县| 泌阳县| 白水县| 夹江县| 和田市| 乌什县| 和政县| 舟曲县| 泾源县| 叶城县| 铜川市| 拉孜县| 卓尼县| 炉霍县| 甘谷县| 陆良县| 信宜市| 夏邑县| 云浮市| 东阿县|