Cbindgen can be used to generate C bindings for Rust code.
This package is known to build and work properly using an LFS 12.0 platform.
Download (HTTP): https://github.com/eqrion/cbindgen/archive/v0.24.3/cbindgen-0.24.3.tar.gz
Download MD5 sum: 6aa2991ca8411f9ebf9961e8b873e884
Download size: 204 KB
Estimated disk space required: 121 MB (add 596 MB for tests)
Estimated build time: 0.5 SBU (add 0.4 SBU for tests), both on a 4-core machine
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. Three tests in the final suite are known to fail.
Now, as the root
user:
install -Dm755 target/release/cbindgen /usr/bin/