Skip to content

Commit 5f3e12c

Browse files
authored
Merge pull request #34 from emilio/master
Bump bindgen.
2 parents 2082654 + 6fc93b3 commit 5f3e12c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ 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
16+
features = ["runtime"]
1617

1718
[features]
1819
default = ["audio_toolbox", "audio_unit", "core_audio", "open_al", "core_midi"]

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)