mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.util: add math to builtin_module_names (temporary fix for C2V) (#14100)
This commit is contained in:
@@ -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 {
|
pub fn module_is_builtin(mod string) bool {
|
||||||
// NOTE: using util.builtin_module_parts here breaks -usecache on macos
|
// NOTE: using util.builtin_module_parts here breaks -usecache on macos
|
||||||
|
Reference in New Issue
Block a user