pref: add a `-debug-tcc` alias option (#8834)

pull/8862/head
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
1 changed files with 7 additions and 0 deletions

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
}