什麼是 rustc-basics?
用於系統程式設計的 Rust 編譯器技能。在選擇 RUSTFLAGS、設定 Cargo 設定檔、調整發布版本、讀取組件或 MIR 輸出、了解單態化或診斷編譯錯誤時使用。在有關 rustc 標誌、Cargo.toml 設定檔、opt-level、LTO、codegen-units、target-cpu、emit asm、MIR 或 Rust 建置效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
用於系統程式設計的 Rust 編譯器技能。在選擇 RUSTFLAGS、設定 Cargo 設定檔、調整發布版本、讀取組件或 MIR 輸出、了解單態化或診斷編譯錯誤時使用。在有關 rustc 標誌、Cargo.toml 設定檔、opt-level、LTO、codegen-units、target-cpu、emit asm、MIR 或 Rust 建置效能的查詢時啟動。
透過命令列快速安裝 rustc-basics AI 技能到你的開發環境
來源:mohitmishra786/low-level-dev-skills。
Guide agents through Rust compiler invocation: RUSTFLAGS, Cargo profile configuration, build modes, MIR and assembly inspection, monomorphization, and common compilation error patterns.
| lto = true (fat) | Best optimization, slowest link | | lto = "thin" | Good optimization, parallel link | | codegen-units = 1 | Best inlining, slower compile | | panic = "abort" | Removes unwind tables, smaller binary | | opt-level = "z" | Aggressive size reduction |
Rust generics are monomorphized — each concrete type instantiation produces separate code. This causes:
用於系統程式設計的 Rust 編譯器技能。在選擇 RUSTFLAGS、設定 Cargo 設定檔、調整發布版本、讀取組件或 MIR 輸出、了解單態化或診斷編譯錯誤時使用。在有關 rustc 標誌、Cargo.toml 設定檔、opt-level、LTO、codegen-units、target-cpu、emit asm、MIR 或 Rust 建置效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill rustc-basics用於系統程式設計的 Rust 編譯器技能。在選擇 RUSTFLAGS、設定 Cargo 設定檔、調整發布版本、讀取組件或 MIR 輸出、了解單態化或診斷編譯錯誤時使用。在有關 rustc 標誌、Cargo.toml 設定檔、opt-level、LTO、codegen-units、target-cpu、emit asm、MIR 或 Rust 建置效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill rustc-basics 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mohitmishra786/low-level-dev-skills