1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

embed_file: rename debug_embed_file_in_prod -> force_embed_file (#14523)

This commit is contained in:
Larpon
2022-05-25 17:26:17 +02:00
committed by GitHub
parent 59e57f0c62
commit 6c08af63ff
4 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ fn (mut p Parser) comptime_call() ast.ComptimeCall {
}
p.register_auto_import('v.preludes.embed_file')
if embed_compression_type == 'zlib'
&& (p.pref.is_prod || 'debug_embed_file_in_prod' in p.pref.compile_defines) {
&& (p.pref.is_prod || 'force_embed_file' in p.pref.compile_defines) {
p.register_auto_import('v.preludes.embed_file.zlib')
}
return ast.ComptimeCall{