@@ -61,7 +61,8 @@ pub fn parse_config(args: ~[~str]) -> config {
6161 getopts::optopt(~"runtool"), getopts::optopt(~"rustcflags"),
6262 getopts::optflag(~"verbose"),
6363 getopts::optopt(~"logfile"),
64- getopts::optflag(~"jit")];
64+ getopts::optflag(~"jit"),
65+ getopts::optflag(~"newrt")];
6566
6667 fail_unless!(!args.is_empty());
6768 let args_ = vec::tail(args);
@@ -95,6 +96,7 @@ pub fn parse_config(args: ~[~str]) -> config {
9596 runtool: getopts::opt_maybe_str(matches, ~"runtool"),
9697 rustcflags: getopts::opt_maybe_str(matches, ~"rustcflags"),
9798 jit: getopts::opt_present(matches, ~"jit"),
99+ newrt: getopts::opt_present(matches, ~"newrt"),
98100 verbose: getopts::opt_present(matches, ~"verbose")
99101 }
100102}
@@ -114,6 +116,7 @@ pub fn log_config(config: config) {
114116 logv(c, fmt!("runtool: %s", opt_str(config.runtool)));
115117 logv(c, fmt!("rustcflags: %s", opt_str(config.rustcflags)));
116118 logv(c, fmt!("jit: %b", config.jit));
119+ logv(c, fmt!("newrt: %b", config.newrt));
117120 logv(c, fmt!("verbose: %b", config.verbose));
118121 logv(c, fmt!("\n"));
119122}
0 commit comments