Skip to main content

Crate bux_sys

Crate bux_sys 

Source
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:

  1. Downloads the pre-built dynamic library from GitHub Releases (or uses a local path via BUX_DEPS_DIR).
  2. 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.