Rust Rewrite Index

libffi

Foreign Function Interface library runtime

Rust efforts

Research record · 2026-11-29

Searched libffi, ffi_call Rust rewrites, runtime ABI alternatives and libffi-rs. libffi-rs and libffi-sys bind or compile the C library, while statically generated FFI trampolines address a different scope. No direct Rust libffi port surfaced in these sources.

Original source check. The packaged source scan found zero files with the .rs suffix. This covers the Debian 13 snapshot and excludes common vendor directories. Independent repositories are outside this count.

Project structure

A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language.

Inside the source tree

Source files by extension in this snapshot · C (248), Assembly (48), Python (3), C++ (2)

Selected components packaged from this source in Debian 13.

  • libffi8 · Foreign Function Interface library runtime
  • libffi-dev · Foreign Function Interface library (development files)