- 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.
推薦閱讀
- Learning Python Web Penetration Testing
- 微信公眾平臺與小程序開發:從零搭建整套系統
- ReSharper Essentials
- 從0到1:HTML+CSS快速上手
- GitLab Repository Management
- Unreal Engine 4 Shaders and Effects Cookbook
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- Access 2010數據庫應用技術(第2版)
- C專家編程
- Python 3 數據分析與機器學習實戰
- Extending Unity with Editor Scripting
- FFmpeg開發實戰:從零基礎到短視頻上線
- Python趣味編程與精彩實例
- Mastering Adobe Captivate 7
- Scala Functional Programming Patterns