From ae6701985cd982f91e5eb95d6bb4c5804f4d8912 Mon Sep 17 00:00:00 2001 From: oberrich <6305520+oberrich@users.noreply.github.com> Date: Tue, 9 Apr 2024 01:07:03 +0200 Subject: [PATCH] attempt to fix doc build --- Cargo.toml | 2 +- src/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a6ecd0a..315b10b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ description = "Rust bindings to the System Informer's (formerly known as Process [package.metadata.docs.rs] all-features = true default-target = "x86_64-pc-windows-msvc" -targets = [] +targets = ["x86_64-pc-windows-msvc"] [build-dependencies] windows.features = ["Win32_Foundation"] diff --git a/src/build.rs b/src/build.rs index f7e3d06..af6dc30 100644 --- a/src/build.rs +++ b/src/build.rs @@ -95,7 +95,7 @@ impl BindgenConfig { .vtable_generation(true) .generate_comments(true) .generate_block(true) - .detect_include_paths(false) + .detect_include_paths(true) .prepend_enum_name(false) .block_extern_crate(false) .fit_macro_constants(false)