Skip to content

Commit

Permalink
refactor: migrate to upstream bindgen-cli
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Oct 11, 2024
1 parent d7ca4b6 commit 72cd4e2
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
components: rustfmt
- name: Install bindgen-cli
run: cargo install --git https://github.com/mkroening/rust-bindgen.git --rev acfe29dd45a95f30a1710062d43de5b97e71cfa8 bindgen-cli
run: cargo install --git https://github.com/rust-lang/rust-bindgen.git --rev 9a8e5ca2f4089e21300fbea6b73e82efd7f18882 bindgen-cli
- run: ./bindgen.sh
- run: git diff --exit-code

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,15 @@
/* automatically generated by rust-bindgen 0.69.4 */
/* automatically generated by rust-bindgen 0.70.1 */

-#[repr(C)]
+#[repr(transparent)]
Expand All @@ -22,7 +22,7 @@ diff --git a/src/macos.rs b/src/macos.rs
--- a/src/macos.rs
+++ b/src/macos.rs
@@ -1,7 +1,15 @@
/* automatically generated by rust-bindgen 0.69.4 */
/* automatically generated by rust-bindgen 0.70.1 */

-#[repr(C)]
+#[repr(transparent)]
Expand Down
Loading

0 comments on commit 72cd4e2

Please sign in to comment.