it cannot work since there are no bundled LLVM (and thus no bundled
compiler-rt) sources available. during the regular build this is handled by our
config, but bootstrap tests don't use that..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Gbp-Pq: Topic build
Gbp-Pq: Name bootstrap-tests-disable-compiler-rt-optimizing.patch
let build = toml.build.get_or_insert_with(Default::default);
build.rustc = build.rustc.take().or(std::env::var_os("RUSTC").map(|p| p.into()));
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(include) = &toml.profile {