- 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.
推薦閱讀
- Google Flutter Mobile Development Quick Start Guide
- LabVIEW Graphical Programming Cookbook
- 樂(lè)學(xué)Web編程:網(wǎng)站制作不神秘
- 青少年軟件編程基礎(chǔ)與實(shí)戰(zhàn)(圖形化編程三級(jí))
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- Visual Foxpro 9.0數(shù)據(jù)庫(kù)程序設(shè)計(jì)教程
- Hands-On Nuxt.js Web Development
- Image Processing with ImageJ
- Go語(yǔ)言底層原理剖析
- Clean Code in C#
- Android應(yīng)用開(kāi)發(fā)深入學(xué)習(xí)實(shí)錄
- C++ Fundamentals
- JavaScript+jQuery網(wǎng)頁(yè)特效設(shè)計(jì)任務(wù)驅(qū)動(dòng)教程
- PHP+MySQL動(dòng)態(tài)網(wǎng)站開(kāi)發(fā)從入門到精通(視頻教學(xué)版)
- 從零學(xué)Java設(shè)計(jì)模式