From 8f9526e5ae9ba80bfa1b8d864a97fff6867b4f84 Mon Sep 17 00:00:00 2001 From: Nathan Fiedler Date: Fri, 9 Apr 2021 18:21:08 -0700 Subject: [PATCH] chore: update dependencies and bindgen usage cargo test passes --- Cargo.toml | 4 ++-- build.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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()));