Rollup merge of #83444 - Mark-Simulacrum:bootstrap-beta, r=pietroalbini
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``

aidancully/rust,aidancully/rust,aidancully/rust,graydon/rust,aidancully/rust,graydon/rust,graydon/rust,graydon/rust,aidancully/rust,aidancully/rust,graydon/rust,graydon/rust