From 7bf96a4b0c126b0279673dfbfc15da8d8cd9896b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 07:59:37 +0800 Subject: [PATCH] Bump bindgen from 0.68.1 to 0.69.2 (#32) * Bump bindgen from 0.68.1 to 0.69.2 Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.68.1 to 0.69.2. - [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.68.1...v0.69.2) --- updated-dependencies: - dependency-name: bindgen dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Fix linting --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yota Toyama --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- build.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 889be76..2f66d4b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "bindgen" -version = "0.68.1" +version = "0.69.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "726e4313eb6ec35d2730258ad4e15b547ee75d6afaa1361a922e78e59b7d8078" +checksum = "a4c69fae65a523209d34240b60abe0c42d33d1045d445c0839d8a4894a736e2d" dependencies = [ "bitflags", "cexpr", diff --git a/Cargo.toml b/Cargo.toml index cae8ad9..ede8f91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,4 +10,4 @@ links = "MLIR" license-file = "LICENSE" [build-dependencies] -bindgen = "0.68.1" +bindgen = "0.69.2" diff --git a/build.rs b/build.rs index 69fa1a4..ad1c52d 100644 --- a/build.rs +++ b/build.rs @@ -93,7 +93,7 @@ fn run() -> Result<(), Box> { bindgen::builder() .header("wrapper.h") .clang_arg(format!("-I{}", llvm_config("--includedir")?)) - .parse_callbacks(Box::new(bindgen::CargoCallbacks)) + .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .generate() .unwrap() .write_to_file(Path::new(&env::var("OUT_DIR")?).join("bindings.rs"))?;