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.
1 parent 9b1e7db commit 5d0fea1Copy full SHA for 5d0fea1
src/test/run-make/dep-info/Makefile
@@ -1,4 +1,5 @@
1
-include ../tools.mk
2
+
3
all:
4
$(RUSTC) --dep-info --lib lib.rs
5
sleep 1
src/test/run-make/dep-info/Makefile.foo
@@ -1,10 +1,6 @@
-ifeq ($(shell uname),Darwin)
-LIBEXT=dylib
-else
-LIBEXT=so
-endif
+LIB := $(shell $(RUSTC) --crate-file-name --lib lib.rs)
6
7
-$(TMPDIR)/libfoo-b517899a-0.1.$(LIBEXT):
+$(TMPDIR)/$(LIB):
8
9
touch $(TMPDIR)/done
10
0 commit comments