Rollup merge of #83444 - Mark-Simulacrum:bootstrap-beta, r=pietroalbini

Fix bootstrap tests on beta

Forward-porting a fix from the beta branch, which led to test failure on beta.

r? ``@pietroalbini``
This commit is contained in:
Dylan DPC 2021-03-26 02:34:40 +01:00 committed by GitHub
commit a054fd83a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -585,8 +585,11 @@ mod dist {
rustfix_coverage: false,
pass: None,
};
// Make sure rustfmt binary not being found isn't an error.
config.channel = "beta".to_string();
let build = Build::new(config);
let mut builder = Builder::new(&build);
builder.run_step_descriptions(&Builder::get_step_descriptions(Kind::Test), &[]);
let a = TargetSelection::from_user("A");