Comprehensive Rust(繁体中文) 202406
Drop 特徵 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 3 19.8 練習:建構工具型別 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 19.8.1 解決方案 . . . . . . . . @henrythebuilder and @detro. 如果想協助翻譯,請參閱 [操作說明],瞭解如何開始翻譯。譯者可以在 [問題追蹤工具] 上討論及統整翻譯。 15 第 2 部分 使用Cargo 您開始閱讀 Rust 內容後,很快就會認識 Cargo,這是在 Rust 生態系統中使用的標準工具,用於建構及執 行 Rust 應用程式。以下簡要介紹 Cargo,以及如何在更廣大的生態系統和本訓練課程中運用 Cargo。 behavior. The command would be: sudo apt install cargo rust-src rustfmt 2.1 Rust 生態系統 Rust 生態系統包含多項工具,以下列出主要工具: • rustc:Rust 編譯器,可將 .rs 檔案轉換成二進位檔和其他中繼格式。 • cargo: the Rust dependency manager and build tool0 码力 | 356 页 | 1.41 MB | 1 年前3
共 1 条
- 1