modules cache: reduce verbosity

pull/2316/head
Alexander Medvednikov 2019-10-12 22:14:16 +03:00
parent ae6a426689
commit 9850193348
3 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ fn (v mut V) cc() {
imp_path := imp.replace('.', os.PathSeparator) imp_path := imp.replace('.', os.PathSeparator)
path := '$v_modules_path${os.PathSeparator}cache${os.PathSeparator}vlib${os.PathSeparator}${imp_path}.o' path := '$v_modules_path${os.PathSeparator}cache${os.PathSeparator}vlib${os.PathSeparator}${imp_path}.o'
println('adding ${imp_path}.o') //println('adding ${imp_path}.o')
if os.file_exists(path) { if os.file_exists(path) {
libs += ' ' + path libs += ' ' + path
} else { } else {

View File

@ -109,7 +109,7 @@ mut:
building_v bool building_v bool
autofree bool autofree bool
compress bool compress bool
skip_builtin bool // Skips re-compilation of the builtin module //skip_builtin bool // Skips re-compilation of the builtin module
// to increase compilation time. // to increase compilation time.
// This is on by default, since a vast majority of users do not // This is on by default, since a vast majority of users do not
// work on the builtin module itself. // work on the builtin module itself.

View File

@ -229,7 +229,7 @@ fn (v &V) generate_vh() {
file.writeln('\n// Methods //////////////////') file.writeln('\n// Methods //////////////////')
for _, typ in v.table.typesmap { for _, typ in v.table.typesmap {
if typ.mod != v.mod && !(v.mod == 'builtin' && typ.mod == '') { if typ.mod != v.mod && !(v.mod == 'builtin' && typ.mod == '') {
println('skipping method typ $typ.name mod=$typ.mod') //println('skipping method typ $typ.name mod=$typ.mod')
continue continue
} }
for method in typ.methods { for method in typ.methods {