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

all: add limit to accumulated errors / warnings (#11183)

This commit is contained in:
Leo Developer
2021-08-14 18:49:21 +02:00
committed by GitHub
parent deb26b92b9
commit 8a8a0932f7
6 changed files with 49 additions and 26 deletions

View File

@@ -131,6 +131,7 @@ const (
'-w',
'-print-v-files',
'-error-limit',
'-warn-error-limit',
'-os',
'-printfn',
'-cflags',

View File

@@ -82,6 +82,10 @@ NB: the build flags are shared with the run command too:
d) the function name
NB: if you want to output the profile info to stdout, use `-profile -`.
-warn-error-limit <limit>
Limit of warnings / errors that will be accumulated (defaults to 100).
Settings this to a negative value will disable the limit.
-profile-no-inline
Skip [inline] functions when profiling.