Update build.rs
This commit is contained in:
parent
b4367d58c0
commit
f14fbd9cf9
7
build.rs
7
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
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user