Commit Graph

14 Commits (846ddfd728d672ff38d339bb0d1af1e9d374e58a)

Author SHA1 Message Date
Delyan Angelov 846ddfd728
v: always embed file data of \$embed_file(file) constructs, even without -prod, unless `-d embed_only_metadata` is given. 2022-06-01 09:08:18 +03:00
Larpon 6c08af63ff
embed_file: rename debug_embed_file_in_prod -> force_embed_file (#14523) 2022-05-25 18:26:17 +03:00
Alexander Medvednikov 0527ac633e ast: remove .byte 2022-04-15 15:30:37 +03:00
Delyan Angelov a913983408
ci: fix -cstrict jobs (use U postfix for u64 hash constants in embed.v) 2022-01-25 12:50:19 +02:00
Delyan Angelov 5f38ba896e
parser,cgen: handle `const x = $embed_file("file.txt").to_string()` 2022-01-25 11:40:07 +02:00
Delyan Angelov fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
Leo Developer ace63594bf
all: support `$embed_file('embed.vv', .zlib)` (#12654) 2021-12-04 19:43:19 +02:00
Leo Developer 0f59d88ba6
v.embedfile: make path public (#12614) 2021-11-29 16:32:42 +02:00
Leo Developer f72d001db5
cgen: fix $embed_file not finding embedded file when using -prod (#12596) 2021-11-28 12:32:05 +02:00
Delyan Angelov 955dc12523
v: replace execuast => executable 2021-05-31 09:39:18 +03:00
KJ Lawrence 9a5768395d
cgen: fix embeds for msvc (fix #10244) (#10259)
* cgen: fix embed file for mvsc

* define struct fields during init

* vfmt

* wrap string in `cestring` to escape properly

Co-authored-by: klawrence <klawrence@netpark.us>
2021-05-31 07:50:23 +03:00
Alexander Medvednikov 7385f8e56b all: a massive merge of ast and table modules 2021-04-02 01:57:09 +03:00
zakuro f54c1a5cc2
all: add strings.Builder.write_string and use write_string instead of write (#8892) 2021-02-22 13:18:11 +02:00
joe-conigliaro ffedbe4b81
cgen: move cgen from v.gen to v.gen.c (#8515) 2021-02-02 15:41:51 +01:00