WSL cargo test is now working

This commit is contained in:
Eric Ratliff
2026-02-23 12:55:28 -06:00
parent 3570777a0d
commit a517fba88a
2 changed files with 6 additions and 1 deletions

View File

@@ -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");
}