projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b837c01
)
Don't build rust code with Clto to avoid out of memory errors.
author
Peter Michael Green
<plugwash@raspbian.org>
Sat, 27 Aug 2022 07:58:37 +0000
(07:58 +0000)
committer
Raspbian forward porter
<root@raspbian.org>
Thu, 20 Oct 2022 16:38:40 +0000
(17:38 +0100)
Gbp-Pq: Name dont-build-rust-code-with-clto-to-avoid-.patch
config/makefiles/rust.mk
patch
|
blob
|
history
diff --git
a/config/makefiles/rust.mk
b/config/makefiles/rust.mk
index a243ee5f7f31fba3d9480d33ced3846ec62923ee..9509002b4be0d08b56ab05f8e966fc351799be34 100644
(file)
--- a/
config/makefiles/rust.mk
+++ b/
config/makefiles/rust.mk
@@
-90,7
+90,7
@@
ifndef rustflags_sancov
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
ifndef MOZ_CODE_COVERAGE
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
-cargo_rustc_flags += -Clto
+
#
cargo_rustc_flags += -Clto
endif
# We need -Cembed-bitcode=yes for all crates when using -Clto.
RUSTFLAGS += -Cembed-bitcode=yes