mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: disable gc for translated code
This commit is contained in:
parent
bc60b0d1a3
commit
924239026c
@ -498,6 +498,7 @@ pub fn parse_args_and_show_errors(known_external_commands []string, args []strin
|
||||
}
|
||||
'-translated' {
|
||||
res.translated = true
|
||||
res.gc_mode = .no_gc // no gc in c2v'ed code, at least for now
|
||||
}
|
||||
'-m32', '-m64' {
|
||||
res.m64 = arg[2] == `6`
|
||||
|
Loading…
Reference in New Issue
Block a user