mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
pref: add a -debug-tcc
alias option (#8834)
This commit is contained in:
parent
cc3fd5333b
commit
adf2aa8760
@ -198,6 +198,13 @@ pub fn parse_args(known_external_commands []string, args []string) (&Preferences
|
||||
res.is_vlines = false
|
||||
res.build_options << arg
|
||||
}
|
||||
'-debug-tcc' {
|
||||
res.ccompiler = 'tcc'
|
||||
res.build_options << '$arg "$res.ccompiler"'
|
||||
res.retry_compilation = false
|
||||
res.show_cc = true
|
||||
res.show_c_output = true
|
||||
}
|
||||
'-repl' {
|
||||
res.is_repl = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user