mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1742910 - Work around https://github.com/rust-lang/rust/issues/90045. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D132111
This commit is contained in:
parent
54702ee2e3
commit
bb2a47feb5
@ -94,6 +94,8 @@ ifndef MOZ_DEBUG_RUST
|
||||
ifndef MOZ_LTO_RUST_CROSS
|
||||
# Never enable when sancov is enabled to work around https://github.com/rust-lang/rust/issues/90300.
|
||||
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
|
||||
endif
|
||||
@ -103,6 +105,7 @@ endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef CARGO_INCREMENTAL
|
||||
export CARGO_INCREMENTAL
|
||||
|
Loading…
Reference in New Issue
Block a user