modules cache: reduce verbosity
parent
ae6a426689
commit
9850193348
|
@ -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 {
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue