v: always embed file data of \$embed_file(file) constructs, even without -prod, unless -d embed_only_metadata is given.

This commit is contained in:
Delyan Angelov 2022-06-01 09:08:18 +03:00
parent f40c30c3dc
commit 846ddfd728
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
5 changed files with 27 additions and 17 deletions

View file

@ -203,4 +203,4 @@ to create a copy of the compiler rather than replacing it with `v self`.
| `trace_thirdparty_obj_files` | Prints details about built thirdparty obj files |
| `trace_usecache` | Prints details when -usecache is used |
| `trace_embed_file` | Prints details when $embed_file is used |
| `force_embed_file` | Force embedding of file(s) with `$embed_file('somefile')` |
| `embed_only_metadata` | Embed only the metadata for the file(s) with `$embed_file('somefile')`; faster; for development, *not* distribution |