Skip to content

Commit

Permalink
update bindgen version
Browse files Browse the repository at this point in the history
  • Loading branch information
thegwan committed Jun 4, 2024
1 parent 97fe288 commit 21b5162
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[build-dependencies]
bindgen = "0.60.1"
bindgen = "0.69.4"
cc = "1.0.79"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion core/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ fn main() {
.allowlist_type(r"(rte|eth|pcap)_.*")
.allowlist_function(r"(_rte|rte|eth|numa|pcap)_.*")
.allowlist_var(r"(RTE|DEV|ETH|MEMPOOL|PKT|rte)_.*")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.generate_comments(false)
.generate()
.unwrap_or_else(|e| panic!("Failed to generate bindings: {:?}", e));
Expand Down

0 comments on commit 21b5162

Please sign in to comment.