Automatically generates Rust FFI bindings to C (and some C++) libraries.
En internettforbindelse er nødvendig for å bygge denne pakken. Systemsertifikatlageret må kanskje konfigureres med make-ca-1.16.1 før du bygger denne pakken.
LLVM-20.1.7 with Clang and rustc-1.88.0
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