From 60f66038848a369bfbd6e6dc2d5dd425d4b2c9d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 13:07:54 +0000 Subject: [PATCH 1/2] Update bindgen requirement from 0.66 to 0.69 Updates the requirements on [bindgen](https://github.com/rust-lang/rust-bindgen) to permit the latest version. - [Release notes](https://github.com/rust-lang/rust-bindgen/releases) - [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-lang/rust-bindgen/compare/v0.66.0...v0.69.0) --- updated-dependencies: - dependency-name: bindgen dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- swiftnav-sys/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swiftnav-sys/Cargo.toml b/swiftnav-sys/Cargo.toml index 05fd85a..b25c4a1 100644 --- a/swiftnav-sys/Cargo.toml +++ b/swiftnav-sys/Cargo.toml @@ -10,7 +10,7 @@ license = "LGPL-3.0" rust-version = "1.56.1" [build-dependencies] -bindgen = "0.66" +bindgen = "0.69" cmake = "0.1.46" [features] From 979662d5824abb6697d0a949ae39cc47d72b8c66 Mon Sep 17 00:00:00 2001 From: Joseph Angelo Date: Sun, 26 May 2024 09:55:02 -0700 Subject: [PATCH 2/2] Fix compilation errors --- swiftnav-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swiftnav-sys/build.rs b/swiftnav-sys/build.rs index 1905ac9..175483f 100644 --- a/swiftnav-sys/build.rs +++ b/swiftnav-sys/build.rs @@ -60,7 +60,7 @@ fn main() { )) // Tell cargo to invalidate the built crate whenever any of the // included header files changed. - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .blocklist_type("u8") .blocklist_type("u16") .blocklist_type("u32")