Skip to content

Commit f6045e8

Browse files
committed
Bump bindgen.
Untested as I'm not on macos, but it should be behavior-identical as the only potential relevant breaking change for coreaudio is the size_t -> usize mapping, that this PR restores.
1 parent 2082654 commit f6045e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/RustAudio/coreaudio-sys.git"
1111
build = "build.rs"
1212

1313
[build-dependencies.bindgen]
14-
version = "0.51"
14+
version = "0.53"
1515
default-features = false
1616

1717
[features]

build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ fn build(sdk_path: Option<&str>, target: &str) {
7979
// Begin building the bindgen params.
8080
let mut builder = bindgen::Builder::default();
8181

82+
builder = builder.size_t_is_usize(true);
83+
8284
builder = builder.clang_args(&[&format!("--target={}", target)]);
8385

8486
if let Some(sdk_path) = sdk_path {

0 commit comments

Comments
 (0)