cmd: use x64 target and v2 parser with run arg
parent
1066ec5cd9
commit
7eee5cf116
|
@ -19,7 +19,15 @@ fn compile(command string, args []string) {
|
||||||
if command == 'run' {
|
if command == 'run' {
|
||||||
// always recompile for now, too error prone to skip recompilation otherwise
|
// always recompile for now, too error prone to skip recompilation otherwise
|
||||||
// for example for -repl usage, especially when piping lines to v
|
// for example for -repl usage, especially when piping lines to v
|
||||||
v.compile()
|
if v.pref.x64 {
|
||||||
|
v.compile_x64()
|
||||||
|
}
|
||||||
|
else if v.pref.v2 {
|
||||||
|
v.compile2()
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
v.compile()
|
||||||
|
}
|
||||||
run_compiled_executable_and_exit(v, args)
|
run_compiled_executable_and_exit(v, args)
|
||||||
}
|
}
|
||||||
mut tmark := benchmark.new_benchmark()
|
mut tmark := benchmark.new_benchmark()
|
||||||
|
|
Loading…
Reference in New Issue