Bug 1803492 - Fix linker issues during mach cargo clippy

The patch is from Arthur Carcano <arthur.carcano@ocamlpro.com>, r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D163551
This commit is contained in:
Arthur Carcano 2022-12-01 04:23:47 +00:00
parent bf9b396e44
commit c14cbced66

View File

@ -254,7 +254,7 @@ endif
export RUSTC_BOOTSTRAP
endif
target_rust_ltoable := force-cargo-library-build force-cargo-library-udeps
target_rust_ltoable := force-cargo-library-build force-cargo-library-udeps force-cargo-library-clippy
target_rust_nonltoable := force-cargo-test-run force-cargo-library-check $(foreach b,build check,force-cargo-program-$(b))
ifdef MOZ_PGO_RUST
@ -286,7 +286,7 @@ $(target_rust_nonltoable): RUSTFLAGS:=$(rustflags_override) $(rustflags_sancov)
TARGET_RECIPES := $(target_rust_ltoable) $(target_rust_nonltoable)
HOST_RECIPES := \
$(foreach a,library program,$(foreach b,build check udeps,force-cargo-host-$(a)-$(b)))
$(foreach a,library program,$(foreach b,build check udeps clippy,force-cargo-host-$(a)-$(b)))
$(HOST_RECIPES): RUSTFLAGS:=$(rustflags_override)