- Rust Essentials(Second Edition)
- Ivo Balbaert
- 132字
- 2021-07-02 15:30:36
rustc--the Rust compiler
The Rust installation directory containing rustc can be found on your machine in the following folder (unless you have chosen a different installation folder):
- On Windows at C:\Users\username\.cargo\bin
- On Linux or OS X in /home/username/.cargo/bin
rustc and the other binaries can be run from any command-line window. The rustc command has the following format:
rustc [options] input
The options are one-letter directives for the compiler after a dash, like -g or -W, or words prefixed by a double dash, like - -test or - -version. All options with some explanation are shown when invoking rustc -h. In the next section, we verify our installation by compiling and running our first Rust program.
To view a local copy of the Rust documentation as a website, type rustup doc into a terminal.
推薦閱讀
- 零基礎學Visual C++第3版
- Learning C# by Developing Games with Unity 2020
- 數據結構和算法基礎(Java語言實現)
- Linux核心技術從小白到大牛
- 深入理解Django:框架內幕與實現原理
- 跟小海龜學Python
- Data Analysis with IBM SPSS Statistics
- 信息技術應用基礎
- Oracle從入門到精通(第5版)
- Mastering React
- Python期貨量化交易實戰
- Distributed Computing in Java 9
- Appcelerator Titanium:Patterns and Best Practices
- Machine Learning for OpenCV
- iOS開發項目化入門教程