cli_run test fixes

This commit is contained in:
Anton-4 2022-09-24 20:14:59 +02:00
parent 076190a217
commit 1d9a751606
No known key found for this signature in database
GPG key ID: A13F4A6E21141925
4 changed files with 19 additions and 4 deletions

View file

@ -635,6 +635,7 @@ pub fn rebuild_host(
} else if cargo_host_src.exists() {
// Compile and link Cargo.toml, if it exists
let cargo_dir = host_input_path.parent().unwrap();
let cargo_out_dir = cargo_dir.join("target").join(
if matches!(opt_level, OptLevel::Optimize | OptLevel::Size) {
"release"