From 7d217b40b66e7c569e160447e4aa87d973470a9b Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 20 Oct 2016 17:53:36 +0800 Subject: Makefile - Allow overriding the last stage for rust_tests --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f65b3c67..2ffab7e8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -539,6 +539,8 @@ ProgramParams::ProgramParams(int argc, char *argv[]) this->last_stage = STAGE_RESOLVE; else if( strcmp(arg, "mir") == 0 ) this->last_stage = STAGE_MIR; + else if( strcmp(arg, "ALL") == 0 ) + this->last_stage = STAGE_ALL; else { ::std::cerr << "Unknown argument to --stop-after : '" << arg << "'" << ::std::endl; exit(1); -- cgit v1.2.3