Skip to content

Commit 72cd4e2

Browse files
committed
refactor: migrate to upstream bindgen-cli
Signed-off-by: Martin Kröning <[email protected]>
1 parent d7ca4b6 commit 72cd4e2

File tree

4 files changed

+131
-5
lines changed

4 files changed

+131
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
components: rustfmt
2121
- name: Install bindgen-cli
22-
run: cargo install --git https://github.com/mkroening/rust-bindgen.git --rev acfe29dd45a95f30a1710062d43de5b97e71cfa8 bindgen-cli
22+
run: cargo install --git https://github.com/rust-lang/rust-bindgen.git --rev 9a8e5ca2f4089e21300fbea6b73e82efd7f18882 bindgen-cli
2323
- run: ./bindgen.sh
2424
- run: git diff --exit-code
2525

patches/0001-fix-add-zerocopy-support-for-__IncompleteArrayField.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ diff --git a/src/linux.rs b/src/linux.rs
22
--- a/src/linux.rs
33
+++ b/src/linux.rs
44
@@ -1,7 +1,15 @@
5-
/* automatically generated by rust-bindgen 0.69.4 */
5+
/* automatically generated by rust-bindgen 0.70.1 */
66

77
-#[repr(C)]
88
+#[repr(transparent)]
@@ -22,7 +22,7 @@ diff --git a/src/macos.rs b/src/macos.rs
2222
--- a/src/macos.rs
2323
+++ b/src/macos.rs
2424
@@ -1,7 +1,15 @@
25-
/* automatically generated by rust-bindgen 0.69.4 */
25+
/* automatically generated by rust-bindgen 0.70.1 */
2626

2727
-#[repr(C)]
2828
+#[repr(transparent)]

0 commit comments

Comments
 (0)