Rust Ffi

Design an FFI boundary meant to last — a thin translation layer with the logic in core crates, no panic across the boundary, explicit ownership on every pointer, repr(transparent) newtypes, and unsafe extern in edition 2024. Use when designing or reviewing a Rust FFI surface, when exposing a Rust library to another language, when a DLL or shared library keeps state, or when the user asks how to shape an extern function.

rewrite-rs Updated 18 repo stars

File contents

rewrite-rs/skills commit c739733826

Frequently asked questions

npx get-skill add rewrite-rs/rust-ffi