From f14fbd9cf9634fd4caa66282d1575733d7ad9b18 Mon Sep 17 00:00:00 2001 From: guangzong Date: Tue, 14 Nov 2023 23:53:53 +0000 Subject: [PATCH] Update build.rs --- build.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 + }