Skip to main content
Run any Skill in Manus
with one click

rust-unsafe-guide

Stars0
Forks0
UpdatedMarch 29, 2026 at 15:16

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

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
5 files
SKILL.md
readonly