Skip to content

Commit 9a845c1

Browse files
Bumb bindgen dependency to 0.70 (#452)
Signed-off-by: Luca Della Vedova <[email protected]>
1 parent 31e4563 commit 9a845c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rclrs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tokio = { version = "*", features = ["rt", "time", "macros"] }
4343

4444
[build-dependencies]
4545
# Needed for FFI
46-
bindgen = "0.66.1"
46+
bindgen = "0.70"
4747
# Needed for uploading documentation to docs.rs
4848
cfg-if = "1.0.0"
4949

rclrs/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ fn main() {
5757
.default_enum_style(bindgen::EnumVariation::Rust {
5858
non_exhaustive: false,
5959
})
60-
.parse_callbacks(Box::new(bindgen::CargoCallbacks));
60+
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()));
6161

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

0 commit comments

Comments
 (0)