tools/fast: location fix

pull/10950/head
Alexander Medvednikov 2021-07-24 23:41:55 +03:00
parent 76904719d0
commit f691a80145
1 changed files with 3 additions and 2 deletions

View File

@ -47,8 +47,9 @@ fn main() {
// exec('git checkout $commit')
println(' Building vprod...')
os.chdir(vdir)
exec('$vdir/v -o $vdir/vprod -prod -prealloc cmd/v')
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging
exec('v -o vprod -prod -prealloc cmd/v')
// println('cur vdir="$vdir"')
// exec('v -o vprod cmd/v') // for faster debugging
// cache vlib modules
exec('$vdir/v wipe-cache')
exec('$vdir/v -o v2 -prod cmd/v')