the tests use a default config, so we need to manually override this
option..
Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-don-t-attempt-to-download-rustc-in-tests.patch
build.cargo = build.cargo.take().or(std::env::var_os("CARGO").map(|p| p.into()));
// Debian: don't optimize compiler-rt, the bundled sources are not available..
build.optimized_compiler_builtins = Some(false);
+
+ if let Some(ref mut rust) = toml.rust {
+ rust.download_rustc = Some(StringOrBool::Bool(false));
+ }
}
if let Some(include) = &toml.profile {