v.pref: disable the parallel cgen when `-g` is given for now (the line numbers/paths are wrong)

pull/12077/head
Delyan Angelov 2021-10-05 15:08:28 +03:00
parent 92f2e5bad2
commit e23d61d99e
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 0 deletions

View File

@ -338,6 +338,7 @@ pub fn parse_args(known_external_commands []string, args []string) (&Preferences
'-g' {
res.is_debug = true
res.is_vlines = true
res.no_parallel = true // TODO: fix `-g` with the parallel backend (line numbers are wrong)
res.build_options << arg
}
'-cg' {