Use a valid target directory in miri ui tests

This commit is contained in:
Oli Scherer 2023-06-29 10:16:13 +00:00
parent a3cea7f179
commit 78f58f96aa

View File

@ -88,6 +88,7 @@ fn test_config(target: &str, path: &str, mode: Mode, with_dependencies: bool) ->
mode,
program,
output_conflict_handling,
out_dir: PathBuf::from(std::env::var_os("CARGO_TARGET_DIR").unwrap()).join("ui"),
edition: Some("2021".into()),
..Config::rustc(path.into())
};