From b4367d58c0950637e5658d8893fa68d53524ba50 Mon Sep 17 00:00:00 2001 From: guangzong Date: Tue, 14 Nov 2023 23:46:57 +0000 Subject: [PATCH] Update build.rs --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) 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"); + }