Skip to content

Commit

Permalink
Merge #53
Browse files Browse the repository at this point in the history
53: Upgrade bindgen. r=michaelkirk a=frewsxcv

This was needed to get things compiling on Apple Silicon.

https://github.com/rust-lang/rust-bindgen/blob/master/CHANGELOG.md

Co-authored-by: Corey Farwell <[email protected]>
  • Loading branch information
bors[bot] and frewsxcv authored Jan 5, 2021
2 parents 0ab155f + 91ad652 commit 172aac2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion proj-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ links = "proj"
[dependencies]

[build-dependencies]
bindgen = "0.52.0"
bindgen = "0.56.0"
pkg-config = "0.3.17"
cmake = "0.1"
flate2 = "1.0.14"
Expand Down
1 change: 1 addition & 0 deletions proj-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let bindings = bindgen::Builder::default()
.clang_arg(format!("-I{}", include_path.to_string_lossy()))
.trust_clang_mangling(false)
.size_t_is_usize(true)
.blacklist_type("max_align_t")
// The input header we would like to generate
// bindings for.
Expand Down

0 comments on commit 172aac2

Please sign in to comment.