Skip to content

Commit 78d2dfc

Browse files
authored
Update to bindgen 0.65. (#62)
This sets `.size_t_is_usize(false)` for now, for compatibility with current versions of this crate, but we can change this in the future.
1 parent 632d2ad commit 78d2dfc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+58
-57
lines changed

gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ edition = "2018"
55
publish = false
66

77
[dependencies]
8-
bindgen = { version = "=0.59.2", default-features = false, features = ["which-rustfmt"] }
8+
bindgen = { version = "=0.65.1", default-features = false, features = ["which-rustfmt"] }
99
tempdir = "0.3.7"

gen/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ fn run_bindgen(
336336
})
337337
.array_pointers_in_arguments(true)
338338
.derive_debug(true)
339+
.size_t_is_usize(false)
339340
.clang_arg(&format!("--target={}", clang_target))
340341
.clang_arg("-DBITS_PER_LONG=(__SIZEOF_LONG__*__CHAR_BIT__)")
341342
.clang_arg("-nostdinc")

src/aarch64/errno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
pub const EPERM: u32 = 1;
44
pub const ENOENT: u32 = 2;

src/aarch64/general.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
#[repr(C)]
44
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]

src/aarch64/ioctl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
pub const FIONREAD: u32 = 21531;
44
pub const FIONBIO: u32 = 21537;

src/aarch64/netlink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
#[repr(C)]
44
#[derive(Default)]

src/arm/errno.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
pub const EPERM: u32 = 1;
44
pub const ENOENT: u32 = 2;

src/arm/general.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
#[repr(C)]
44
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]

src/arm/ioctl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
pub const FIONREAD: u32 = 21531;
44
pub const FIONBIO: u32 = 21537;

src/arm/netlink.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* automatically generated by rust-bindgen 0.59.2 */
1+
/* automatically generated by rust-bindgen 0.65.1 */
22

33
#[repr(C)]
44
#[derive(Default)]

0 commit comments

Comments
 (0)