Skip to content

Commit

Permalink
Update bindgen to 0.69 (#552)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffcharles authored Nov 3, 2023
1 parent 7d7a17b commit 69563a4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 35 deletions.
4 changes: 2 additions & 2 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/quickjs-wasm-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ categories = ["external-ffi-bindings"]

[build-dependencies]
cc = "1.0"
bindgen = "0.68.1"
bindgen = "0.69.0"
walkdir = "2"
anyhow.workspace = true
tokio = { version = "1.33", default-features = false, features = ["rt", "macros"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/quickjs-wasm-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ async fn main() -> Result<()> {
// Generate bindings for quickjs
let bindings = bindgen::Builder::default()
.header("wrapper.h")
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.parse_callbacks(Box::new(bindgen::CargoCallbacks::new()))
.clang_args(&["-fvisibility=default", "--target=wasm32-wasi", &sysroot])
.size_t_is_usize(false)
.generate()?;
Expand Down
4 changes: 4 additions & 0 deletions supply-chain/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ criteria = "safe-to-deploy"
version = "1.3.3"
criteria = "safe-to-deploy"

[[exemptions.bindgen]]
version = "0.69.0"
criteria = "safe-to-deploy"

[[exemptions.bitflags]]
version = "1.3.2"
criteria = "safe-to-deploy"
Expand Down
31 changes: 0 additions & 31 deletions supply-chain/imports.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1828,37 +1828,6 @@ version = "1.1.0"
notes = "All code written or reviewed by Josh Stone."
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bindgen]]
who = "Emilio Cobos Álvarez <[email protected]>"
criteria = "safe-to-deploy"
version = "0.59.2"
notes = "I'm the primary author and maintainer of the crate."
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bindgen]]
who = "Emilio Cobos Álvarez <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.59.2 -> 0.63.0"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bindgen]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.63.0 -> 0.64.0"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bindgen]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.64.0 -> 0.66.1"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bindgen]]
who = "Mike Hommey <[email protected]>"
criteria = "safe-to-deploy"
delta = "0.66.1 -> 0.68.1"
aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"

[[audits.mozilla.audits.bitflags]]
who = "Alex Franchuk <[email protected]>"
criteria = "safe-to-deploy"
Expand Down

0 comments on commit 69563a4

Please sign in to comment.