From e301ba67f20e071cf87d5e418f71a980ec59e378 Mon Sep 17 00:00:00 2001 From: oberrich <6305520+oberrich@users.noreply.github.com> Date: Mon, 8 Apr 2024 07:15:13 +0200 Subject: [PATCH] attempt to fix doc build --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/build.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a3c88d1..bab5967 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,7 +297,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "phnt" -version = "0.0.3" +version = "0.0.4" dependencies = [ "bindgen", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 719f8de..dd46956 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phnt" -version = "0.0.3" +version = "0.0.4" license = "MIT" authors = ["oberrich "] repository = "https://github.com/oberrich/phnt-rs" diff --git a/src/build.rs b/src/build.rs index 98f0544..af6dc30 100644 --- a/src/build.rs +++ b/src/build.rs @@ -70,7 +70,7 @@ impl BindgenConfig { ]; bindgen::builder() - .header(concat!(env!("CARGO_MANIFEST_DIR"), "\\src\\ffi\\wrapper.h")) + .header(concat!(env!("CARGO_MANIFEST_DIR"), "/src/ffi/wrapper.h")) .raw_line(raw_lines.join("\r\n").as_str()) .clang_args(clang_args) .allowlist_file(allowlist_regexpr.as_str())