This is an automated email from the ASF dual-hosted git repository. martinzink pushed a commit to branch minifi_rust_pgp in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
commit f67a0db5b81d64e9878b63f5d58287826fd09258 Author: Martin Zink <[email protected]> AuthorDate: Thu Aug 13 18:32:06 2026 +0200 review change + small improvement in build.rs --- .../extensions/minifi_rs_playground/features/controller_apis.feature | 2 +- minifi_rust/minifi_native_sys/build.rs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/minifi_rust/extensions/minifi_rs_playground/features/controller_apis.feature b/minifi_rust/extensions/minifi_rs_playground/features/controller_apis.feature index 8bbc2dd7e..cb382089e 100644 --- a/minifi_rust/extensions/minifi_rs_playground/features/controller_apis.feature +++ b/minifi_rust/extensions/minifi_rs_playground/features/controller_apis.feature @@ -23,6 +23,6 @@ Feature: Testing controller service api casting And the "Extra information" property of the Wolfie the magical controller service is set to "The dog (Canis familiaris or Canis lupus familiaris) is a domesticated descendant of wolves." When the MiNiFi instance starts up - Then the Minifi logs contain the following message: "[minifi_rs_playground::processors::zoo_processor::ZooProcessorRs] [critical] Can DogControllerRs { has_jetpack: true, extra_info: Some("The dog (Canis familiaris or Canis lupus familiaris) is a domesticated descendant of wolves.") } fly?" in less than 10 seconds + Then the Minifi logs contain the following message: "[minifi_rs_playground::processors::zoo_processor::ZooProcessorRs] [critical] Can DogControllerRs { has_jetpack: true, extra_info: Some("The dog (Canis familiaris or Canis lupus familiaris) is a domesticated descendant of wolves.") } fly? true" in less than 10 seconds And the Minifi logs do not contain errors And the Minifi logs do not contain warnings diff --git a/minifi_rust/minifi_native_sys/build.rs b/minifi_rust/minifi_native_sys/build.rs index 3403c4bbe..1906478ad 100644 --- a/minifi_rust/minifi_native_sys/build.rs +++ b/minifi_rust/minifi_native_sys/build.rs @@ -228,7 +228,8 @@ fn main() { let bindings = bindgen::Builder::default() .header(sdk.header_path.to_str().unwrap()) - .clang_arg("-std=c2x") + .clang_arg("-include") + .clang_arg("stdbool.h") .parse_callbacks(Box::new(bindgen::CargoCallbacks::new())) .generate() .expect("Unable to generate bindings");
