rpm-ostree/rust
Colin Walters f50f9e8d7e Split cbindgen to separate build, support external version
The problem is building bindgen as part of our single run
locks serde to way old versions, and I want to use newer versions.

Since Fedora will now again ship a `cbindgen` package, let's
also support using it if we find it, saving ourselves
the cost of building it.

For distros that don't ship it (e.g. CentOS) for CI purposes
we build it.  For downstream builds that are offline, rather
than vendor the cbindgen sources like we do with our main Rust,
let's just vendor the `rpmostree-rust.h` file as was suggested
in https://bugzilla.redhat.com/show_bug.cgi?id=1608670

Closes: https://github.com/projectatomic/rpm-ostree/issues/1557

Closes: #1573
Approved by: jlebon
2018-09-25 20:29:21 +00:00
..
src treefile: Redo rojig_spec to be Box<CStr> 2018-09-17 15:51:53 +00:00
.gitignore build-sys: Add some gitignore for Rust bits 2018-06-11 13:08:41 +00:00
cargo-vendor-config Add support for YAML treefiles 2018-06-05 13:08:33 +00:00
Cargo.toml Split cbindgen to separate build, support external version 2018-09-25 20:29:21 +00:00
cbindgen.toml rust/bindgen: Add an autoptr cleanup for our struct 2018-09-13 21:49:06 +00:00