Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit bb2a47f

Browse files
committed
Bug 1742910 - Work around rust-lang/rust#90045. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D132111
1 parent 54702ee commit bb2a47f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

config/makefiles/rust.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ ifndef MOZ_DEBUG_RUST
9494
ifndef MOZ_LTO_RUST_CROSS
9595
# Never enable when sancov is enabled to work around https://github.com/rust-lang/rust/issues/90300.
9696
ifndef rustflags_sancov
97+
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
98+
ifndef MOZ_CODE_COVERAGE
9799
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
98100
cargo_rustc_flags += -Clto
99101
endif
@@ -103,6 +105,7 @@ endif
103105
endif
104106
endif
105107
endif
108+
endif
106109

107110
ifdef CARGO_INCREMENTAL
108111
export CARGO_INCREMENTAL

0 commit comments

Comments
 (0)