Skip to content

Commit 0d4beec

Browse files
bors[bot]toasteater
andauthored
Merge #723
723: Bump bindgen to 0.58 with new terminology r=toasteater a=toasteater Supersedes #722 since the automatic PR failed CI bors r+ Co-authored-by: toasteater <48371905+toasteater@users.noreply.github.com>
2 parents 4c5184c + a41539f commit 0d4beec

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

gdnative-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ edition = "2018"
1515
libc = "0.2"
1616

1717
[build-dependencies]
18-
bindgen = { version = "0.57.0", default-features = false, features = ["runtime"] }
18+
bindgen = { version = "0.58.0", default-features = false, features = ["runtime"] }
1919
proc-macro2 = "1.0.6"
2020
quote = "1.0.2"
2121
miniserde = "=0.1.13"

gdnative-sys/build.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,10 @@ mod header_binding {
160160
#[allow(unused_mut)]
161161
let mut builder = bindgen::Builder::default()
162162
.header("godot_headers/gdnative_api_struct.gen.h")
163-
.whitelist_type("godot.*")
164-
.whitelist_function("godot.*")
165-
.whitelist_var("godot.*")
166-
.whitelist_type("GDNATIVE.*")
163+
.allowlist_type("godot.*")
164+
.allowlist_function("godot.*")
165+
.allowlist_var("godot.*")
166+
.allowlist_type("GDNATIVE.*")
167167
.derive_default(true)
168168
.ignore_functions()
169169
.size_t_is_usize(true)

0 commit comments

Comments
 (0)