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:
@@ -131,6 +131,7 @@ const (
|
||||
'-w',
|
||||
'-print-v-files',
|
||||
'-error-limit',
|
||||
'-warn-error-limit',
|
||||
'-os',
|
||||
'-printfn',
|
||||
'-cflags',
|
||||
|
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user