Skip to main content

rust-c-ffi-safety

Sterne14
Forks0
Aktualisiert18. Juni 2026 um 10:43

Use when writing, reviewing, or generating Rust code that calls C (or C that is called from Rust) over FFI โ€” extern "C" declarations, unsafe wrappers, pointer/struct marshaling, or the C side of a Rust binding. Enforces the 26 FFI soundness rules so foreign data and pointers are validated against Rust's safety invariants.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fรผgen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prรผfen und installieren.

Datei-Explorer
2 Dateien
SKILL.md
readonly