Automatically generates Rust FFI bindings to C (and some C++) libraries.
Download (HTTP): https://github.com/rust-lang/rust-bindgen/archive/v0.71.1.tar.gz
LLVM-19.1.7 with Clang and rustc-1.84.0
An Internet connection is needed for building this package.
Install rust-bindgen by running the following commands:
cargo build --release
Now, as the root
user:
install -Dm755 target/release/bindgen /usr/bin/
Still as the root
user, install the
Bash and Zsh completion support files
bindgen --generate-shell-completions bash \ > /usr/share/bash-completion/completions/bindgen && bindgen --generate-shell-completions zsh \ > /usr/share/zsh/site-functions/_bindgen