Skip to content

Commit 1b136e2

Browse files
committed
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.
1 parent 8f844ea commit 1b136e2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/v/v.v

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ const external_tools = [
5959
const list_of_flags_that_allow_duplicates = ['cc', 'd', 'define', 'cf', 'cflags']
6060

6161
fn main() {
62+
unbuffer_stdout()
6263
mut timers_should_print := false
6364
$if time_v ? {
6465
timers_should_print = true
6566
}
6667
if '-show-timings' in os.args {
6768
timers_should_print = true
68-
unbuffer_stdout()
6969
}
7070
mut timers := util.new_timers(should_print: timers_should_print, label: 'main')
7171
timers.start('v start')
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
done
21
`vweb` has been deprecated. Please use the more stable and fast `veb` instead.
2+
done
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
done
21
`vweb` has been deprecated. Please use the more stable and fast `veb` instead.
2+
done

0 commit comments

Comments
 (0)