Skip to content

Commit

Permalink
Use a valid target directory in miri ui tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jun 29, 2023
1 parent a3cea7f commit 78f58f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/miri/tests/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
};
Expand Down

0 comments on commit 78f58f9

Please sign in to comment.