rust-bindgen-0.72.0

Introduction to rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries.

[Notat]

Notat

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.

rust-bindgen Dependencies

Required

LLVM-20.1.7 with Clang and rustc-1.88.0

Installation of rust-bindgen

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

Contents

Installed Program: bindgen
Installed Library: none
Installed Directory: none

Short Descriptions

bindgen

generates Rust FFI bindings to C (and some C++) libraries