1
0
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:
Delyan Angelov 2021-08-30 17:57:33 +03:00
parent 8dcb27a11d
commit f33f216698
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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 {