1
0
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:
spaceface 2021-02-20 17:53:22 +01:00 committed by GitHub
parent cc3fd5333b
commit adf2aa8760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}