Skip to content

Commit

Permalink
use rustc -Vv in the run-make test
Browse files Browse the repository at this point in the history
  • Loading branch information
japaric committed Sep 16, 2018
1 parent c2d34ee commit eafa8dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/run-make-fulldeps/emit-stack-sizes/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ all:
else
# check that the .stack_sizes section is generated
# this test requires LLVM >= 6.0.0
vers = $(shell llvm-ar -version)
ifneq (,$(findstring version 3,$(vers)))
vers = $(shell $(RUSTC) -Vv)
ifneq (,$(findstring LLVM version: 3,$(vers)))
all:
exit 0
else ifneq (,$(findstring version 4,$(vers)))
else ifneq (,$(findstring LLVM version: 4,$(vers)))
all:
exit 0
else ifneq (,$(findstring version 5,$(vers)))
else ifneq (,$(findstring LLVM version: 5,$(vers)))
all:
exit 0
else
Expand Down

0 comments on commit eafa8dc

Please sign in to comment.