From 9345d489f827f57dce36232057c5c18f1a3d3057 Mon Sep 17 00:00:00 2001 From: spaceface777 Date: Fri, 4 Dec 2020 12:25:02 +0100 Subject: [PATCH] ci: fix self compilation with cached modules on macos (#7127) --- vlib/v/builder/cc.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/builder/cc.v b/vlib/v/builder/cc.v index 9dc9d5aec2..412b63c379 100644 --- a/vlib/v/builder/cc.v +++ b/vlib/v/builder/cc.v @@ -127,7 +127,7 @@ fn (mut v Builder) post_process_c_compiler_output(res os.Result) { fn (mut v Builder) rebuild_cached_module(vexe string, imp_path string) string { // TODO: move this check somewhere else, this is really not the best place for it :/ // strconv is already imported inside builtin, so skip generating its object file - if imp_path == 'vlib/strconv' { + if imp_path in ['vlib/strconv', 'vlib/strings'] { return '' } res := v.pref.cache_manager.exists('.o', imp_path) or {