From 39837abec6087555b23680959e6784a74320a97a Mon Sep 17 00:00:00 2001 From: oberrich <6305520+oberrich@users.noreply.github.com> Date: Wed, 10 Apr 2024 11:31:37 +0200 Subject: [PATCH] break this version --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- src/build.rs | 6 ++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4df521d..20a418e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,7 +297,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "phnt" -version = "0.0.11" +version = "0.0.12" dependencies = [ "bindgen", "chrono", diff --git a/Cargo.toml b/Cargo.toml index bc1b4fb..6e3ae4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phnt" -version = "0.0.11" +version = "0.0.12" license = "MIT" authors = ["oberrich "] repository = "https://github.com/oberrich/phnt-rs" @@ -12,7 +12,7 @@ description = "Rust bindings to the System Informer's (formerly known as Process [package.metadata.docs.rs] all-features = true -default-target = "" +default-target = "x86_64-pc-windows-msvc" targets = [] [build-dependencies] diff --git a/src/build.rs b/src/build.rs index 216e08c..5ffa299 100644 --- a/src/build.rs +++ b/src/build.rs @@ -110,10 +110,8 @@ impl BindgenConfig { } fn main() { - if cfg!(doc) { - println!("Skipping regeneration of bindings for docs."); - return; - } + println!("Skipping regeneration of bindings for docs."); + return; std::process::Command::new("git") .args(["submodule", "update", "--remote", "--recursive"])