From b9dd97705a445f0096dd8dc81d087ccfac94247f Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:20:35 +0000 Subject: [PATCH] Fix rebase fallout --- src/bootstrap/test.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index fa2191ff938d..5c22a388c6c2 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -3040,7 +3040,8 @@ impl Step for CodegenCranelift { let mut prepare_cargo = build_cargo(); prepare_cargo.arg("--").arg("prepare").arg("--download-dir").arg(&download_dir); - try_run(builder, &mut prepare_cargo.into()); + #[allow(deprecated)] + builder.config.try_run(&mut prepare_cargo.into()).unwrap(); let mut cargo = build_cargo(); cargo @@ -3062,6 +3063,7 @@ impl Step for CodegenCranelift { .arg("testsuite.extended_sysroot"); cargo.args(builder.config.test_args()); - try_run(builder, &mut cargo.into()); + #[allow(deprecated)] + builder.config.try_run(&mut cargo.into()).unwrap(); } }