rust/tests/run-make/link-arg/Makefile
2023-03-30 07:34:55 -05:00

6 lines
153 B
Makefile

include ../tools.mk
RUSTC_FLAGS = -C link-arg="-lfoo" -C link-arg="-lbar" --print link-args
all:
$(RUSTC) $(RUSTC_FLAGS) empty.rs | $(CGREP) lfoo lbar