From 985019334816e4c12177af1a74bf138596ad5ce9 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 12 Oct 2019 22:14:16 +0300 Subject: [PATCH] modules cache: reduce verbosity --- compiler/cc.v | 2 +- compiler/main.v | 2 +- compiler/module_header.v | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/cc.v b/compiler/cc.v index b2f7935736..89284e100c 100644 --- a/compiler/cc.v +++ b/compiler/cc.v @@ -131,7 +131,7 @@ fn (v mut V) cc() { imp_path := imp.replace('.', os.PathSeparator) 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) { libs += ' ' + path } else { diff --git a/compiler/main.v b/compiler/main.v index a041285b3e..96cf1c0fb8 100644 --- a/compiler/main.v +++ b/compiler/main.v @@ -109,7 +109,7 @@ mut: building_v bool autofree 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. // This is on by default, since a vast majority of users do not // work on the builtin module itself. diff --git a/compiler/module_header.v b/compiler/module_header.v index 7dab622e2a..eee3424a92 100644 --- a/compiler/module_header.v +++ b/compiler/module_header.v @@ -229,7 +229,7 @@ fn (v &V) generate_vh() { file.writeln('\n// Methods //////////////////') for _, typ in v.table.typesmap { 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 } for method in typ.methods {