Cbindgen can be used to generate C bindings for Rust code.
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.
An Internet connection is needed for building this package.
Install cbindgen by running the following commands:
cargo build --release
To test the results, issue: cargo
test --release. Three tests in profile.rs
are known to fail as they try to use
some unstable Rust features disabled in GLFS.
Now, as the root
user:
install -Dm755 target/release/cbindgen /usr/bin/