Disambiguity for Rust Archive in build template

Add the target name to the rules for generating the rust archive. This
change puts naming more in line with all other builds, and avoids
producing warnings on consecuitve uses of build_template.mk

Bug: 309050799
Test: ./load_aoc.sh -b, /rust_world: ./load_app.sh -f
Change-Id: Ic1162f9350035568477a148fdddce556157f6524
diff --git a/build/build_template.mk b/build/build_template.mk
index b332f92..18bf30b 100644
--- a/build/build_template.mk
+++ b/build/build_template.mk
@@ -242,12 +242,12 @@
 ifeq ($(IS_BUILD_REQUIRING_RUST),)
 RUST_DEPENDENCIES =
 else
-RUST_DEPENDENCIES = rust_archive
+RUST_DEPENDENCIES = rust_archive_$(1)
 endif
 
 # Always invoke the cargo build, let cargo decide if updates are needed
-.PHONY: rust_archive
-rust_archive:
+.PHONY: rust_archive_$(1)
+rust_archive_$(1):
 	@echo " [Rust Archive] $$@"
 	$(RUST_FLAGS) cargo +nightly build -Z build-std=core,alloc \
 	    --$(RUST_OPT_LEVEL) --target $(RUST_TARGET_DIR)/$(RUST_TARGET).json