1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: bump up array capacities in repeat.v (workaround for segfaulting code-formatting-perf-regressions job)

This commit is contained in:
Delyan Angelov 2021-05-07 14:40:52 +03:00
parent 13ea92a77d
commit 5b4eef8010
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -184,9 +184,9 @@ fn (mut context Context) parse_options() {
exit(1)
}
context.commands = context.expand_all_commands(commands)
context.results = []CmdResult{len: context.commands.len, cap: 10, init: CmdResult{
outputs: []string{cap: 200}
timings: []int{cap: 200}
context.results = []CmdResult{len: context.commands.len, cap: 20, init: CmdResult{
outputs: []string{cap: 500}
timings: []int{cap: 500}
}}
if context.use_newline {
context.cline = '\n'