We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
echo
1 parent 028b6d1 commit 0b0cc4eCopy full SHA for 0b0cc4e
tests/run-make-fulldeps/hotplug_codegen_backend/Makefile
@@ -6,8 +6,11 @@ include ../../run-make/tools.mk
6
# backends and that this external codegen backend is only included in the dep info if
7
# -Zbinary-dep-depinfo is used.
8
9
+REQUIRED := echo # This test requires `echo` to exist
10
+$(foreach bin,$(REQUIRED),\
11
+ $(if $(shell command -v $(bin) 2> /dev/null),,$(error Error: Please install `$(bin)`)))
12
+
13
all:
- /bin/echo || exit 0 # This test requires /bin/echo to exist
14
$(RUSTC) the_backend.rs --crate-name the_backend --crate-type dylib \
15
-o $(TMPDIR)/the_backend.dylib
16
0 commit comments