diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-23 16:51:17 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-10-23 17:24:58 -0700 |
| commit | 411fcd22abe5348271669e7673006421d2d7f195 (patch) | |
| tree | 8e893758efeebb1eb50cf87e8d7a898eb62c40f6 /lib/std | |
| parent | 3e0b36507c39e9bee2ff1be2540eacf0ad3c2daa (diff) | |
| download | zig-411fcd22abe5348271669e7673006421d2d7f195.tar.gz zig-411fcd22abe5348271669e7673006421d2d7f195.zip | |
frontend: rework `@embedFile` for incremental compilation
This feature was made to work with the legacy incremental compilation
mechanism which is being reworked.
This commit regresses the ability to update files used with `@embedFile`
while the compiler is running.
In exchange, we get these benefits:
* The embedded file contents are copied directly into InternPool rather
than there being an extra allocation and memcpy.
* The EmbedFile struct, which represents a long-lived object, is made
more serialization friendly.
* Eliminate the creation and use of a Decl as an anonymous decl.
When implementing the new incremental compilation mechanism,
functionality will need to be added back for handling `@embedFile`.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions
