rust-bindgen-0.70.1

Introduction to rust-bindgen

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

[Note]

Note

Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

rust-bindgen Dependencies

Required

LLVM-18.1.7 with Clang and rustc-1.81.0

[Note]

Note

An Internet connection is needed for building this package.

Installation of rust-bindgen

Install rust-bindgen by running the following commands:

cargo build --release

Now, as the root user:

install -Dm755 target/release/bindgen /usr/bin/

Contents

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

Short Descriptions

bindgen

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