Skip to content

Commit e657cb2

Browse files
committed
tools/fast: use -usecache
1 parent 7bfd895 commit e657cb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/tools/fast/fast.v

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import os
55
import time
66

7-
const voptions = ' -skip-unused -show-timings -stats '
7+
const voptions = ' -skip-unused -usecache -show-timings -stats '
88

99
fn main() {
1010
exe := os.executable()
@@ -41,6 +41,7 @@ fn main() {
4141
println(' Building vprod...')
4242
exec('v -o $vdir/vprod -prod -prealloc $vdir/cmd/v')
4343
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging
44+
exec('v -o v2 -prod -usecache $vdir/cmd/v') // cache vlib modules
4445
diff1 := measure('$vdir/vprod $voptions -o v.c $vdir/cmd/v', 'v.c')
4546
mut tcc_path := 'tcc'
4647
$if freebsd {

0 commit comments

Comments
 (0)