@@ -61,7 +61,8 @@ pub fn parse_config(args: ~[~str]) -> config {
61
61
getopts::optopt(~"runtool"), getopts::optopt(~"rustcflags"),
62
62
getopts::optflag(~"verbose"),
63
63
getopts::optopt(~"logfile"),
64
- getopts::optflag(~"jit")];
64
+ getopts::optflag(~"jit"),
65
+ getopts::optflag(~"newrt")];
65
66
66
67
fail_unless!(!args.is_empty());
67
68
let args_ = vec::tail(args);
@@ -95,6 +96,7 @@ pub fn parse_config(args: ~[~str]) -> config {
95
96
runtool: getopts::opt_maybe_str(matches, ~"runtool"),
96
97
rustcflags: getopts::opt_maybe_str(matches, ~"rustcflags"),
97
98
jit: getopts::opt_present(matches, ~"jit"),
99
+ newrt: getopts::opt_present(matches, ~"newrt"),
98
100
verbose: getopts::opt_present(matches, ~"verbose")
99
101
}
100
102
}
@@ -114,6 +116,7 @@ pub fn log_config(config: config) {
114
116
logv(c, fmt!("runtool: %s", opt_str(config.runtool)));
115
117
logv(c, fmt!("rustcflags: %s", opt_str(config.rustcflags)));
116
118
logv(c, fmt!("jit: %b", config.jit));
119
+ logv(c, fmt!("newrt: %b", config.newrt));
117
120
logv(c, fmt!("verbose: %b", config.verbose));
118
121
logv(c, fmt!("\n"));
119
122
}
0 commit comments