From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/run-make-fulldeps/issue-22131/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/run-make-fulldeps/issue-22131/Makefile (limited to 'tests/run-make-fulldeps/issue-22131/Makefile') diff --git a/tests/run-make-fulldeps/issue-22131/Makefile b/tests/run-make-fulldeps/issue-22131/Makefile new file mode 100644 index 000000000..770f4b04e --- /dev/null +++ b/tests/run-make-fulldeps/issue-22131/Makefile @@ -0,0 +1,7 @@ +include ../tools.mk + +all: foo.rs + $(RUSTC) --cfg 'feature="bar"' --crate-type lib foo.rs + $(RUSTDOC) --test --cfg 'feature="bar"' \ + -L $(TMPDIR) foo.rs |\ + $(CGREP) 'foo.rs - foo (line 1) ... ok' -- cgit v1.2.3