1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix again -usecache regression on macos

This commit is contained in:
Delyan Angelov 2022-03-26 09:47:44 +02:00
parent 0248349e7c
commit 7f28d91190

View File

@ -39,7 +39,8 @@ const (
const builtin_module_names = ['builtin', 'strconv', 'strings', 'dlmalloc'] const builtin_module_names = ['builtin', 'strconv', 'strings', 'dlmalloc']
pub fn module_is_builtin(mod string) bool { pub fn module_is_builtin(mod string) bool {
return mod in util.builtin_module_parts // NOTE: using util.builtin_module_parts here breaks -usecache on macos
return mod in util.builtin_module_names
} }
pub fn tabs(n int) string { pub fn tabs(n int) string {