Skip to content

Commit 78f58f9

Browse files
committed
Use a valid target directory in miri ui tests
1 parent a3cea7f commit 78f58f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/tools/miri/tests/compiletest.rs

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ fn test_config(target: &str, path: &str, mode: Mode, with_dependencies: bool) ->
8888
mode,
8989
program,
9090
output_conflict_handling,
91+
out_dir: PathBuf::from(std::env::var_os("CARGO_TARGET_DIR").unwrap()).join("ui"),
9192
edition: Some("2021".into()),
9293
..Config::rustc(path.into())
9394
};

0 commit comments

Comments
 (0)