Automatically generates Rust FFI bindings to C (and some C++) libraries.
An Internet connection is needed for building this package. The system certificate store may need to be set up with make-ca-1.15 before building this package.
LLVM-20.1.1 with Clang and rustc-1.85.1
Install rust-bindgen by running the following commands:
cargo build --release
Now, as the root
user:
install -v -m755 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