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:
Nathan Froyd 2020-07-13 19:01:40 +00:00
Родитель 8854b25ad0
Коммит bddb48ea03
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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)