Skip to content

Commit 7d2bb28

Browse files
committed
use rustc -Vv in the run-make test
1 parent 5362752 commit 7d2bb28

File tree

1 file changed

+4
-4
lines changed
  • src/test/run-make-fulldeps/emit-stack-sizes

1 file changed

+4
-4
lines changed

src/test/run-make-fulldeps/emit-stack-sizes/Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ all:
77
else
88
# check that the .stack_sizes section is generated
99
# this test requires LLVM >= 6.0.0
10-
vers = $(shell llvm-ar -version)
11-
ifneq (,$(findstring version 3,$(vers)))
10+
vers = $(shell $(RUSTC) -Vv)
11+
ifneq (,$(findstring LLVM version: 3,$(vers)))
1212
all:
1313
exit 0
14-
else ifneq (,$(findstring version 4,$(vers)))
14+
else ifneq (,$(findstring LLVM version: 4,$(vers)))
1515
all:
1616
exit 0
17-
else ifneq (,$(findstring version 5,$(vers)))
17+
else ifneq (,$(findstring LLVM version: 5,$(vers)))
1818
all:
1919
exit 0
2020
else

0 commit comments

Comments
 (0)