tools/fast: fix -skip-unused
parent
3e5a5754f3
commit
e040806c36
|
@ -39,7 +39,7 @@ fn main() {
|
||||||
println(' Building vprod...')
|
println(' Building vprod...')
|
||||||
exec('v -o $vdir/vprod -prod -prealloc $vdir/cmd/v')
|
exec('v -o $vdir/vprod -prod -prealloc $vdir/cmd/v')
|
||||||
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging
|
// exec('v -o $vdir/vprod $vdir/cmd/v') // for faster debugging
|
||||||
diff1 := measure('$vdir/vprod -cc -skip-unused clang -o v.c -show-timings $vdir/cmd/v', 'v.c')
|
diff1 := measure('$vdir/vprod -skip-unused -cc clang -o v.c -show-timings $vdir/cmd/v', 'v.c')
|
||||||
mut tcc_path := 'tcc'
|
mut tcc_path := 'tcc'
|
||||||
$if freebsd {
|
$if freebsd {
|
||||||
tcc_path = '/usr/local/bin/tcc'
|
tcc_path = '/usr/local/bin/tcc'
|
||||||
|
|
Loading…
Reference in New Issue