sergio/takana
> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…
firefox 154.0 — la cabeza de la familia Gecko (receta, sin construir todavía)
1set rust crate lto to thin to not use fatlto for gkrust which fails sometimes
2
3additionally, disable lto on riscv64 altogether
4
5--- a/config/makefiles/rust.mk
6+++ b/config/makefiles/rust.mk
7@@ -91,11 +91,13 @@
8 ifndef rustflags_sancov
9 # Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
10 ifndef MOZ_CODE_COVERAGE
11+ifeq (,$(findstring riscv64,$(RUST_TARGET)))
12 ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
13-cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat)
14+cargo_rustc_flags += -Clto=thin
15 endif
16 # We need -Cembed-bitcode=yes for all crates when using -Clto.
17 RUSTFLAGS += -Cembed-bitcode=yes
18+endif
19 endif
20 endif
21 endif