diff options
Diffstat (limited to 'rust')
-rw-r--r-- | rust/vboot_reference-sys/build.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/vboot_reference-sys/build.rs b/rust/vboot_reference-sys/build.rs index de8de900..9cc8cee8 100644 --- a/rust/vboot_reference-sys/build.rs +++ b/rust/vboot_reference-sys/build.rs @@ -25,13 +25,13 @@ fn bindings_generation() -> io::Result<()> { println!("cargo:rerun-if-changed={}", header_path.display()); let status = Command::new(bindgen) .args(["--default-enum-style", "rust"]) - .args(["--blacklist-type", "__rlim64_t"]) + .args(["--blocklist-type", "__rlim64_t"]) .args(["--raw-line", "pub type __rlim64_t = u64;"]) - .args(["--blacklist-type", "__u\\d{1,2}"]) + .args(["--blocklist-type", "__u\\d{1,2}"]) .args(["--raw-line", "pub type __u8 = u8;"]) .args(["--raw-line", "pub type __u16 = u16;"]) .args(["--raw-line", "pub type __u32 = u32;"]) - .args(["--blacklist-type", "__uint64_t"]) + .args(["--blocklist-type", "__uint64_t"]) .arg("--no-layout-tests") .arg("--disable-header-comment") .args(["--output", gen_file.to_str().unwrap()]) |