- 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.
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Spring 5.0 By Example
- The Modern C++ Challenge
- INSTANT FreeMarker Starter
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- Mastering Python High Performance
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- SQL Server 2016數據庫應用與開發習題解答與上機指導
- Mastering React
- 持續輕量級Java EE開發:編寫可測試的代碼
- Image Processing with ImageJ
- Python編程:從入門到實踐(第3版)
- C語言程序設計實訓教程與水平考試指導
- JavaScript+jQuery網頁特效設計任務驅動教程
- 一步一步跟我學Scratch3.0案例