Skip to content

Commit eafa8dc

Browse files
committed
use rustc -Vv in the run-make test
1 parent c2d34ee commit eafa8dc

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

Lines changed: 4 additions & 4 deletions
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)