mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix vweb_run_at.run.out and vweb_run_at.skip_unused.run.out, ensure stable ordering of stdout/stderr for v run file.v
, in case of compiling a program with warnings/notices.
This commit is contained in:
parent
8f844ea313
commit
1b136e213a
3 changed files with 3 additions and 3 deletions
|
@ -59,13 +59,13 @@ const external_tools = [
|
|||
const list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags']
|
||||
|
||||
fn main() {
|
||||
unbuffer_stdout()
|
||||
mut timers_should_print := false
|
||||
$if time_v ? {
|
||||
timers_should_print = true
|
||||
}
|
||||
if '-show-timings' in os.args {
|
||||
timers_should_print = true
|
||||
unbuffer_stdout()
|
||||
}
|
||||
mut timers := util.new_timers(should_print: timers_should_print, label: 'main')
|
||||
timers.start('v start')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue