mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
v.markused: fix compilation with -prod -skip-unused
of programs that embed files
This commit is contained in:
parent
8dcb27a11d
commit
f33f216698
@ -115,6 +115,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
|
||||
'os.getwd',
|
||||
'os.init_os_args',
|
||||
'os.init_os_args_wide',
|
||||
'v.embed_file.find_index_entry_by_path',
|
||||
]
|
||||
|
||||
if pref.is_bare {
|
||||
|
Loading…
Reference in New Issue
Block a user