Hack to get build working on FreeBSD again

Due to a bug in rust-bindgen, use the bindings as generated on the Mac
for the same version of MagickWand as found on FreeBSD. That is, when
build.rs is invoked on a FreeBSD system, it will use the Mac-generated
bindings.rs rather than pulling down rust-bindgen and invoking it to
generate the bindings on the fly. See issue #385 in the rust-bindgen
project for details.

cargo test passes
This commit is contained in:
Nathan Fiedler
2016-09-20 20:03:28 -07:00
parent 2a76a0f164
commit dd4becddd7
2 changed files with 8200 additions and 91 deletions

8097
bindings.rs Normal file

File diff suppressed because it is too large Load Diff