Skip to content

Commit

Permalink
Bumb bindgen dependency to 0.70 (#452)
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
  • Loading branch information
luca-della-vedova authored Dec 23, 2024
1 parent 31e4563 commit 9a845c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rclrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ tokio = { version = "*", features = ["rt", "time", "macros"] }

[build-dependencies]
# Needed for FFI
bindgen = "0.66.1"
bindgen = "0.70"
# Needed for uploading documentation to docs.rs
cfg-if = "1.0.0"

Expand Down
2 changes: 1 addition & 1 deletion rclrs/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn main() {
.default_enum_style(bindgen::EnumVariation::Rust {
non_exhaustive: false,
})
.parse_callbacks(Box::new(bindgen::CargoCallbacks));
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()));

// Invalidate the built crate whenever this script or the wrapper changes
println!("cargo:rerun-if-changed=build.rs");
Expand Down

0 comments on commit 9a845c1

Please sign in to comment.