diff options
| author | Daniele Cocca <daniele.cocca@gmail.com> | 2021-04-28 01:26:03 +0100 |
|---|---|---|
| committer | Daniele Cocca <dcocca@google.com> | 2021-06-16 22:03:02 +0100 |
| commit | 9e88356282861e5812d95587cb8fab7f902bc85b (patch) | |
| tree | 2d6321739d507435dc14bfca7057807b6a9f3c2a /src/codegen.zig | |
| parent | 9be2f767417ef4eb69f35b67348bb3e2ec752d4a (diff) | |
| download | zig-9e88356282861e5812d95587cb8fab7f902bc85b.tar.gz zig-9e88356282861e5812d95587cb8fab7f902bc85b.zip | |
embedFile: change notation from [X:0] to [N:0]
This is for consistency with the documentation on sentinel-terminated
{arrays,slices,pointers} which already use `N` for a comptime-inferred
size rather than `X`.
Also adds a behavioral test to assert that a string literal is returned.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
