From 9e614ce466e7a9b3bc3050b378701b6a464fcdb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 15 Sep 2023 18:15:53 +0200 Subject: [PATCH] runtime-rs: Ensure static-checks-build is a dep of `make test` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise `make test` will simply fail with: ``` error[E0583]: file not found for module `config` ``` Fixes: #7974 -- part 0 Signed-off-by: Fabiano FidĂȘncio (cherry picked from commit 08f2e5ae0bbdc2e6c08b2ec29f29404207b2c2fb) --- src/runtime-rs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime-rs/Makefile b/src/runtime-rs/Makefile index 1981a37d9c..6fb3f20ed3 100644 --- a/src/runtime-rs/Makefile +++ b/src/runtime-rs/Makefile @@ -49,7 +49,7 @@ else ##TARGET default: build code default: runtime show-header ##TARGET test: run cargo tests -test: +test: static-checks-build @cargo test --all --target $(TRIPLE) $(EXTRA_RUSTFEATURES) -- --nocapture install: install-runtime install-configs endif