diff --git a/Cargo.toml b/Cargo.toml index f8e3b78..3532729 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,8 @@ build = "build.rs" libc = "0.2.70" [build-dependencies] -bindgen = "0.56.0" -pkg-config = "0.3.17" +bindgen = "0.58" +pkg-config = "0.3" [features] diff --git a/build.rs b/build.rs index 7ece7bb..1adc92c 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,5 @@ /* - * Copyright 2016-2018 Nathan Fiedler + * Copyright 2016-2021 Nathan Fiedler * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -149,8 +149,8 @@ fn main() { .header(gen_h_path.to_str().unwrap()) .size_t_is_usize(true) .parse_callbacks(Box::new(ignored_macros)) - .blacklist_type("timex") - .blacklist_function("clock_adjtime"); + .blocklist_type("timex") + .blocklist_function("clock_adjtime"); for d in include_dirs { builder = builder.clang_arg(format!("-I{}", d.to_string_lossy()));