Skip to content

Commit

Permalink
Bump bindgen from 0.69.4 to 0.70.0 (#51)
Browse files Browse the repository at this point in the history
* Bump bindgen from 0.69.4 to 0.70.0

Bumps [bindgen](/~https://github.com/rust-lang/rust-bindgen) from 0.69.4 to 0.70.0.
- [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.69.4...v0.70.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix clippy warnings in generated file

* Bump MSRV to 1.77.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthijs Brobbel <m1brobbel@gmail.com>
  • Loading branch information
dependabot[bot] and mbrobbel authored Aug 20, 2024
1 parent d958aa9 commit e0fe4b3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: true
- uses: dtolnay/rust-toolchain@1.70.0
- uses: dtolnay/rust-toolchain@1.77.0
id: toolchain
- uses: actions/cache@v4
with:
Expand Down
72 changes: 2 additions & 70 deletions Cargo.lock

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

12 changes: 9 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ members = ["crates/nvtx-sys"]
version = "0.1.0"
authors = ["Voltron Data"]
edition = "2021"
rust-version = "1.70.0"
rust-version = "1.77.0"
description = "NVIDIA NVTX bindings for Rust"
repository = "/~https://github.com/voltrondata/nvtx-rs"
readme = "README.md"
Expand All @@ -25,12 +25,18 @@ publish.workspace = true
license.workspace = true

[features]
default = ["color-name", "name-current-thread", "cuda", "cuda_runtime", "tracing"]
default = [
"color-name",
"name-current-thread",
"cuda",
"cuda_runtime",
"tracing",
]
color-name = ["dep:color-name"]
name-current-thread = ["dep:gettid"]
cuda = ["nvtx-sys/cuda"]
cuda_runtime = ["nvtx-sys/cuda_runtime"]
tracing = ["dep:tracing-core", "dep:tracing-subscriber", "dep:color-name" ]
tracing = ["dep:tracing-core", "dep:tracing-subscriber", "dep:color-name"]

[dependencies]
color-name = { version = "1.1.0", optional = true }
Expand Down
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.69.4"
bindgen = "0.70.0"
cc = "1.1.13"

[dependencies]
Expand Down
1 change: 1 addition & 0 deletions crates/nvtx-sys/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(clippy::unnecessary_operation, clippy::identity_op)]

/// The unmodified FFI imported functions, types, and definitions
pub mod ffi {
Expand Down

0 comments on commit e0fe4b3

Please sign in to comment.