1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

tools: build c2v in non verbose mode by default

This commit is contained in:
Delyan Angelov 2022-06-20 16:03:39 +03:00
parent fa2e8d8459
commit 1fc9e1a716
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -23,7 +23,7 @@ fn main() {
if !os.exists(c2v_bin) { if !os.exists(c2v_bin) {
os.chdir(c2v_dir)? os.chdir(c2v_dir)?
println('Compiling c2v ...') println('Compiling c2v ...')
res2 := os.execute('v -d trace_verbose -g -o c2v -experimental -w .') res2 := os.execute('v -keepc -g -experimental -o c2v .')
if res2.exit_code != 0 { if res2.exit_code != 0 {
eprintln(res2.output) eprintln(res2.output)
eprintln('Failed to compile C2V. This should never happen, please report it via GitHub.') eprintln('Failed to compile C2V. This should never happen, please report it via GitHub.')