зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1625281 - force make to update timestamp caches when building rust programs; r=firefox-build-system-reviewers,rstewart
Doing this means that make will correctly understand that the underlying program has changed and therefore it needs to trigger install rules. Differential Revision: https://phabricator.services.mozilla.com/D83326
This commit is contained in:
Родитель
8854b25ad0
Коммит
bddb48ea03
|
@ -343,7 +343,7 @@ force-cargo-host-library-build:
|
|||
$(REPORT_BUILD)
|
||||
$(call CARGO_BUILD) --lib $(cargo_host_flag) $(host_rust_features_flag)
|
||||
|
||||
$(HOST_RUST_LIBRARY_FILE): force-cargo-host-library-build
|
||||
$(HOST_RUST_LIBRARY_FILE): force-cargo-host-library-build ;
|
||||
|
||||
force-cargo-host-library-check:
|
||||
$(call CARGO_CHECK) --lib $(cargo_host_flag) $(host_rust_features_flag)
|
||||
|
@ -360,7 +360,7 @@ force-cargo-program-build: $(RESFILE)
|
|||
$(REPORT_BUILD)
|
||||
$(call CARGO_BUILD) $(addprefix --bin ,$(RUST_CARGO_PROGRAMS)) $(cargo_target_flag) -- $(if $(RESFILE),-C link-arg=$(CURDIR)/$(RESFILE))
|
||||
|
||||
$(RUST_PROGRAMS): force-cargo-program-build
|
||||
$(RUST_PROGRAMS): force-cargo-program-build ;
|
||||
|
||||
force-cargo-program-check:
|
||||
$(call CARGO_CHECK) $(addprefix --bin ,$(RUST_CARGO_PROGRAMS)) $(cargo_target_flag)
|
||||
|
@ -376,7 +376,7 @@ force-cargo-host-program-build:
|
|||
$(REPORT_BUILD)
|
||||
$(call CARGO_BUILD) $(addprefix --bin ,$(HOST_RUST_CARGO_PROGRAMS)) $(cargo_host_flag)
|
||||
|
||||
$(HOST_RUST_PROGRAMS): force-cargo-host-program-build
|
||||
$(HOST_RUST_PROGRAMS): force-cargo-host-program-build ;
|
||||
|
||||
force-cargo-host-program-check:
|
||||
$(REPORT_BUILD)
|
||||
|
|
Загрузка…
Ссылка в новой задаче