Skip to main content

rust-unsafe-guide

Rust unsafe 使用指南技能。涵蓋 unsafe 區塊五種超能力(raw pointer 解引用、 呼叫 unsafe 函式、存取 mutable static、實作 unsafe trait、存取 union 欄位)、 安全封裝策略(safe abstraction over unsafe)、FFI unsafe 模式、 Miri 驗證流程、unsafe 程式碼審查準則、常見 UB(未定義行為)清單、 Pin 與自引用結構、raw pointer 算術、transmute 使用場景與風險。 觸發關鍵詞:unsafe, raw pointer, Miri, undefined behavior, UB, safe abstraction, transmute, Pin, self-referential, unsafe trait, union, mutable static, deref raw pointer

Jump to install

Source facts

Repository
luckyegg168/rust-skill
Last source activity
March 29, 2026 at 15:16
Detected SKILL.md language
Chinese
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.