v.util: add math to builtin_module_names (temporary fix for C2V) (#14100)

master
playX 2022-04-20 07:57:55 +00:00 committed by GitHub
parent f6a0c26a85
commit 711e90cf99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const (
]
)
const builtin_module_names = ['builtin', 'strconv', 'strings', 'dlmalloc']
const builtin_module_names = ['builtin', 'strconv', 'strings', 'dlmalloc', 'math']
pub fn module_is_builtin(mod string) bool {
// NOTE: using util.builtin_module_parts here breaks -usecache on macos