diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3f5e13..ec830d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: with: components: rustfmt - name: Install bindgen-cli - run: cargo install --git https://github.com/rust-lang/rust-bindgen.git --rev 9a8e5ca2f4089e21300fbea6b73e82efd7f18882 bindgen-cli + run: cargo install --locked bindgen-cli@0.72.1 - run: ./bindgen.sh - run: git diff --exit-code diff --git a/patches/0001-fix-add-zerocopy-support-for-__IncompleteArrayField.patch b/patches/0001-fix-add-zerocopy-support-for-__IncompleteArrayField.patch index 0c814fd..c8f0553 100644 --- a/patches/0001-fix-add-zerocopy-support-for-__IncompleteArrayField.patch +++ b/patches/0001-fix-add-zerocopy-support-for-__IncompleteArrayField.patch @@ -2,7 +2,7 @@ diff --git a/src/linux.rs b/src/linux.rs --- a/src/linux.rs +++ b/src/linux.rs @@ -1,7 +1,16 @@ - /* automatically generated by rust-bindgen 0.70.1 */ + /* automatically generated by rust-bindgen 0.72.1 */ -#[repr(C)] +#[repr(transparent)] @@ -23,7 +23,7 @@ diff --git a/src/macos.rs b/src/macos.rs --- a/src/macos.rs +++ b/src/macos.rs @@ -1,7 +1,16 @@ - /* automatically generated by rust-bindgen 0.70.1 */ + /* automatically generated by rust-bindgen 0.72.1 */ -#[repr(C)] +#[repr(transparent)] diff --git a/src/linux.rs b/src/linux.rs index 8739ee5..9d36ed3 100644 --- a/src/linux.rs +++ b/src/linux.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.70.1 */ +/* automatically generated by rust-bindgen 0.72.1 */ #[repr(transparent)] #[derive(Default)] diff --git a/src/macos.rs b/src/macos.rs index b810e6f..8209575 100644 --- a/src/macos.rs +++ b/src/macos.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.70.1 */ +/* automatically generated by rust-bindgen 0.72.1 */ #[repr(transparent)] #[derive(Default)]