Cbindgen-0.26.0

Introduction to Cbindgen

Cbindgen can be used to generate C bindings for Rust code.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

cbindgen Dependencies

Required

rustc-1.76.0

[Note]

Note

An Internet connection is needed for building this package.

Installation of cbindgen

Install cbindgen by running the following commands:

cargo build --release

To test the results, issue: cargo test. Three tests in profile.rs are known to fail.

Now, as the root user:

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

Contents

Installed Program: cbindgen
Installed Library: none
Installed Directory: none

Short Descriptions

cbindgen

generates C bindings for Rust code