From 07e5623e7d8ba95a96e66d6614d998e70c976ca0 Mon Sep 17 00:00:00 2001 From: Jan Gutsche Date: Sun, 6 Sep 2026 10:36:39 +0200 Subject: [PATCH] fix: update bindgen for Clang type definitions --- r2r_actions/Cargo.toml | 3 ++- r2r_common/Cargo.toml | 3 ++- r2r_msg_gen/Cargo.toml | 3 ++- r2r_rcl/Cargo.toml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/r2r_actions/Cargo.toml b/r2r_actions/Cargo.toml index 7c9f5b598..617f3f299 100644 --- a/r2r_actions/Cargo.toml +++ b/r2r_actions/Cargo.toml @@ -15,7 +15,8 @@ r2r_rcl = { path = "../r2r_rcl", version = "0.9.6" } r2r_msg_gen = { path = "../r2r_msg_gen", version = "0.9.6" } [build-dependencies] -bindgen = "0.71.1" +# Use the release that handles Clang type definitions correctly. +bindgen = "0.72.1" r2r_common = { path = "../r2r_common", version = "0.9.6" } [features] diff --git a/r2r_common/Cargo.toml b/r2r_common/Cargo.toml index 291bb3094..39bfe57a2 100644 --- a/r2r_common/Cargo.toml +++ b/r2r_common/Cargo.toml @@ -11,7 +11,8 @@ repository = "https://github.com/sequenceplanner/r2r" documentation = "https://docs.rs/r2r/latest/r2r" [dependencies] -bindgen = "0.71.1" +# Use the release that handles Clang type definitions correctly. +bindgen = "0.72.1" sha2 = "0.10.6" os_str_bytes = "6.5.1" regex = "1.8.4" diff --git a/r2r_msg_gen/Cargo.toml b/r2r_msg_gen/Cargo.toml index 3c9919967..0c05e87ff 100644 --- a/r2r_msg_gen/Cargo.toml +++ b/r2r_msg_gen/Cargo.toml @@ -21,7 +21,8 @@ force-send-sync = "1.0.0" rayon = "1.7.0" [build-dependencies] -bindgen = "0.71.1" +# Use the release that handles Clang type definitions correctly. +bindgen = "0.72.1" r2r_rcl = { path = "../r2r_rcl", version = "0.9.6" } r2r_common = { path = "../r2r_common", version = "0.9.6" } quote = "1.0.28" diff --git a/r2r_rcl/Cargo.toml b/r2r_rcl/Cargo.toml index 292e19ebf..e3cc4fdca 100644 --- a/r2r_rcl/Cargo.toml +++ b/r2r_rcl/Cargo.toml @@ -15,7 +15,8 @@ paste = "1.0.9" widestring = "1.0.2" [build-dependencies] -bindgen = "0.71.1" +# Use the release that handles Clang type definitions correctly. +bindgen = "0.72.1" r2r_common = { path = "../r2r_common", version = "0.9.6" } [features]