We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc -Vv
1 parent 5362752 commit 7d2bb28Copy full SHA for 7d2bb28
src/test/run-make-fulldeps/emit-stack-sizes/Makefile
@@ -7,14 +7,14 @@ all:
7
else
8
# check that the .stack_sizes section is generated
9
# this test requires LLVM >= 6.0.0
10
-vers = $(shell llvm-ar -version)
11
-ifneq (,$(findstring version 3,$(vers)))
+vers = $(shell $(RUSTC) -Vv)
+ifneq (,$(findstring LLVM version: 3,$(vers)))
12
all:
13
exit 0
14
-else ifneq (,$(findstring version 4,$(vers)))
+else ifneq (,$(findstring LLVM version: 4,$(vers)))
15
16
17
-else ifneq (,$(findstring version 5,$(vers)))
+else ifneq (,$(findstring LLVM version: 5,$(vers)))
18
19
20
0 commit comments