1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

makefiles/rust: Allow overriding CARGO_TARGET_DIR

This allows users (such as the riot-wrappers CI) to tune their cache
directory to their application's caching needs.
This commit is contained in:
chrysn 2025-02-22 00:25:36 +01:00
parent 0e6f92eba1
commit 8c12437f05

View File

@ -19,7 +19,7 @@ CARGO_PROFILE ?= release
# * Switching back and forth between two boards of the same CPU requires
# riot-sys rebuilds. (On its own, this would be outweighed by the shared
# compilation of other modules).
CARGO_TARGET_DIR = $(BINDIR)/target
CARGO_TARGET_DIR ?= $(BINDIR)/target
# The single Rust library to be built.
#