cc: -ferror-limit

pull/3902/head
Alexander Medvednikov 2020-03-05 00:45:43 +01:00
parent 4161cfcdb8
commit b32a94627c
1 changed files with 3 additions and 1 deletions

View File

@ -199,7 +199,9 @@ fn (v mut V) cc() {
}
if debug_mode {
a << debug_options
a << ' -ferror-limit=5000 '
$if macos {
a << ' -ferror-limit=5000 '
}
}
if v.pref.is_prod {
a << optimization_options