v.markused: fix compilation with `-prod -skip-unused` of programs that embed files

pull/11353/head
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
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ pub fn mark_used(mut table ast.Table, pref &pref.Preferences, ast_files []&ast.F
'os.getwd', 'os.getwd',
'os.init_os_args', 'os.init_os_args',
'os.init_os_args_wide', 'os.init_os_args_wide',
'v.embed_file.find_index_entry_by_path',
] ]
if pref.is_bare { if pref.is_bare {