mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builder: add generated C lines with -stats too
This commit is contained in:
parent
c636a7080d
commit
93c1c1cec3
@ -39,7 +39,7 @@ pub fn (mut b Builder) build_c(v_files []string, out_file string) {
|
||||
f.writeln(output2) or { panic(err) }
|
||||
f.close()
|
||||
if b.pref.is_stats {
|
||||
println('generated C source code size: ${util.bold(output2.len.str())} bytes')
|
||||
println('generated C source code size: ${util.bold((output2.count('\n') + 1).str())} lines, ${util.bold(output2.len.str())} bytes')
|
||||
}
|
||||
// os.write_file(out_file, b.gen_c(v_files))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user