We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bfd895 commit e657cb2Copy full SHA for e657cb2
cmd/tools/fast/fast.v
@@ -4,7 +4,7 @@
4
import os
5
import time
6
7
-const voptions = ' -skip-unused -show-timings -stats '
+const voptions = ' -skip-unused -usecache -show-timings -stats '
8
9
fn main() {
10
exe := os.executable()
@@ -41,6 +41,7 @@ fn main() {
41
println(' Building vprod...')
42
exec('v -o $vdir/vprod -prod -prealloc $vdir/cmd/v')
43
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging
44
+ exec('v -o v2 -prod -usecache $vdir/cmd/v') // cache vlib modules
45
diff1 := measure('$vdir/vprod $voptions -o v.c $vdir/cmd/v', 'v.c')
46
mut tcc_path := 'tcc'
47
$if freebsd {
0 commit comments