diff --git a/build.rs b/build.rs index 74ed3a6..90dde5c 100644 --- a/build.rs +++ b/build.rs @@ -2,7 +2,6 @@ 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"); @@ -14,10 +13,8 @@ fn main() { // get the out dir of dependcy `cortex-m` // - // 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"); + println!("cargo:include=/includes") // provide DEP_U5_INCLUDE var + }