Skip to content

Commit 6f85036

Browse files
committed
update deps: bindgen
1 parent 963f4d4 commit 6f85036

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

couchbase-lite-core-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ edition = "2018"
88

99
[build-dependencies]
1010
cmake = "0.1.42"
11-
bindgen = "0.52.0"
11+
bindgen = "0.53.2"
1212
cc = "1.0.48"

couchbase-lite-core-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ fn run_bindgen_for_c_headers<P: AsRef<Path>>(
154154
.header(c_file_path.to_str().unwrap())
155155
.generate_comments(false)
156156
.prepend_enum_name(true)
157+
.size_t_is_usize(true)
157158
.rustfmt_bindings(false);
158159
bindings = include_dirs.iter().fold(bindings, |acc, x| {
159160
acc.clang_arg("-I".to_string() + x.as_ref().to_str().unwrap())

0 commit comments

Comments
 (0)