WSL cargo test is now working
This commit is contained in:
5
build.rs
5
build.rs
@@ -23,6 +23,11 @@ fn has_tool(name: &str) -> bool {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("cargo::rustc-check-cfg=cfg(has_cmake)");
|
||||
println!("cargo::rustc-check-cfg=cfg(has_cpp_compiler)");
|
||||
println!("cargo::rustc-check-cfg=cfg(has_git)");
|
||||
println!("cargo::rustc-check-cfg=cfg(has_arduino_cli)");
|
||||
|
||||
if has_tool("cmake") {
|
||||
println!("cargo:rustc-cfg=has_cmake");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user