Skip to content

Commit

Permalink
Bump bindgen from 0.70.1 to 0.71.1 (#86)
Browse files Browse the repository at this point in the history
* Bump bindgen from 0.70.1 to 0.71.1

Bumps [bindgen](https://github.com/rust-lang/rust-bindgen) from 0.70.1 to 0.71.1.
- [Release notes](https://github.com/rust-lang/rust-bindgen/releases)
- [Changelog](https://github.com/rust-lang/rust-bindgen/blob/main/CHANGELOG.md)
- [Commits](rust-lang/rust-bindgen@v0.70.1...v0.71.1)

---
updated-dependencies:
- dependency-name: bindgen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: bump `proc-macro2` from `1.0.79` to `1.0.92`

* Set Rust target to prevent having to bump msrv

* Rustfmt

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthijs Brobbel <[email protected]>
  • Loading branch information
dependabot[bot] and mbrobbel authored Dec 9, 2024
1 parent 7b8c597 commit e85d861
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/nvtx-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ publish.workspace = true
license.workspace = true

[build-dependencies]
bindgen = "0.70.1"
bindgen = "0.71.1"
cc = "1.2.3"

[dependencies]
Expand Down
6 changes: 6 additions & 0 deletions crates/nvtx-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ use std::{
path::{Path, PathBuf},
};

use bindgen::RustTarget;

fn main() {
let mut lib_builder = cc::Build::new();
let mut builder = bindgen::Builder::default();
Expand All @@ -14,6 +16,10 @@ fn main() {
.file(Path::new("c/src/lib.c"));

builder = builder
.rust_target(
#[allow(deprecated)]
RustTarget::Stable_1_77,
) // MSRV
.detect_include_paths(true)
.clang_arg("-I")
.clang_arg("vendor/nvtx/c/include")
Expand Down

0 comments on commit e85d861

Please sign in to comment.