mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix building
This commit is contained in:
parent
2f1cc2bd08
commit
19bfd5ffb5
@ -37,7 +37,10 @@ const (
|
||||
)
|
||||
|
||||
fn main() {
|
||||
timers_should_print := $if time_v ? { true } $else { false }
|
||||
mut timers_should_print := false
|
||||
$if time_v ? {
|
||||
timers_should_print = true
|
||||
}
|
||||
mut timers := util.new_timers(timers_should_print)
|
||||
timers.start('v total')
|
||||
defer {
|
||||
|
@ -70,7 +70,10 @@ mut:
|
||||
}
|
||||
|
||||
pub fn new_checker(table &table.Table, pref &pref.Preferences) Checker {
|
||||
timers_should_print := $if time_checking ? { true } $else { false }
|
||||
mut timers_should_print := false
|
||||
$if time_checking ? {
|
||||
timers_should_print = true
|
||||
}
|
||||
return Checker{
|
||||
table: table
|
||||
pref: pref
|
||||
|
@ -152,7 +152,10 @@ pub fn cgen(files []ast.File, table &table.Table, pref &pref.Preferences) string
|
||||
'.')
|
||||
}
|
||||
}
|
||||
timers_should_print := $if time_cgening ? { true } $else { false }
|
||||
mut timers_should_print := false
|
||||
$if time_cgening ? {
|
||||
timers_should_print = true
|
||||
}
|
||||
mut g := Gen{
|
||||
out: strings.new_builder(1000)
|
||||
cheaders: strings.new_builder(8192)
|
||||
|
Loading…
Reference in New Issue
Block a user