mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-25 00:19:20 +00:00
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From: =?utf-8?q?Fabian_Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
|
Date: Tue, 22 Oct 2024 09:03:38 +0200
|
|
Subject: bootstrap tests: disable compiler-rt optimizing
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset="utf-8"
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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>
|
|
---
|
|
src/bootstrap/src/core/config/config.rs | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs
|
|
index 0587408..d77da96 100644
|
|
--- a/src/bootstrap/src/core/config/config.rs
|
|
+++ b/src/bootstrap/src/core/config/config.rs
|
|
@@ -1454,6 +1454,8 @@ impl Config {
|
|
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 {
|