diff --git a/build.rs b/build.rs index b429b6c..74ed3a6 100644 --- a/build.rs +++ b/build.rs @@ -2,6 +2,7 @@ use cmake::Config; fn main() { + println!("cargo:hello2=/path/to/includes"); // Tell Cargo to tell rustc to link the C++ library. println!("cargo:rustc-link-lib=static=stm32u5"); @@ -15,5 +16,8 @@ fn main() { // // println!("cargo:include=/includes") // provide DEP_U5_INCLUDE var println!("cargo:include={}/include", dst.to_str().unwrap()); + println!("cargo:include=/path/to/includes"); + println!("cargo:hello=/path/to/includes"); + }