From 46ade3dab30e8dbf181245bc8877d519ae77bf70 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 13 Jan 2022 16:38:32 -0600 Subject: [PATCH] Try to fix CI for Rust 1.58 (#3689) PATH lookup for WIndows command execution was tweaked slightly to not search the cwd, so let's see if this fixes things... --- crates/misc/run-examples/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/misc/run-examples/src/main.rs b/crates/misc/run-examples/src/main.rs index 362f9e1774..93c515ff4a 100644 --- a/crates/misc/run-examples/src/main.rs +++ b/crates/misc/run-examples/src/main.rs @@ -89,7 +89,7 @@ fn main() -> anyhow::Result<()> { .arg("ole32.lib") .arg("bcrypt.lib"); if is_dir { - "main.exe".to_string() + "./main.exe".to_string() } else { format!("./{}.exe", example) }