ci: fix self compilation with cached modules on macos (#7127)

pull/7128/head
spaceface777 2020-12-04 12:25:02 +01:00 committed by GitHub
parent 52ccdd747f
commit 9345d489f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 { 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 :/ // 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 // 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 '' return ''
} }
res := v.pref.cache_manager.exists('.o', imp_path) or { res := v.pref.cache_manager.exists('.o', imp_path) or {