Skip to content

Commit 2ded29c

Browse files
committed
Try fixing windows CI by explicitly running bash
1 parent 57d07dd commit 2ded29c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/compiletest.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ fn run_tests(mode: Mode, path: &str, target: Option<String>) -> Result<()> {
6262
output_conflict_handling,
6363
manifest_path: Some(std::env::current_dir()?.join("test_dependencies").join("Cargo.toml")),
6464
dependency_builder: Some(DependencyBuilder {
65-
program: std::env::current_dir()?.join("miri"),
66-
args: vec!["cargo".to_string()],
65+
program: PathBuf::from("bash"),
66+
args: vec![
67+
std::env::current_dir()?.join("miri").display().to_string(),
68+
"cargo".to_string(),
69+
],
6770
envs: vec![("MIRI_SYSROOT".to_string(), std::env::var("MIRI_SYSROOT").unwrap())],
6871
}),
6972
};

0 commit comments

Comments
 (0)