Expand description
Raw FFI bindings to libkrun โ a lightweight VM engine for sandboxed execution.
All types and functions are auto-generated by bindgen
from the libkrun.h header. Do not edit bindings.rs manually.
ยงBuild
The build script (build.rs) automatically:
- Downloads the pre-built dynamic library from GitHub Releases
(or uses a local path via
BUX_DEPS_DIR). - Configures the linker for dynamic linking.
For local development, set BUX_DEPS_DIR to point at a directory
containing the pre-built libkrun dynamic library.