diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-07-17 09:33:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-07-17 09:33:25 -0700 |
| commit | 155ab56cc63d775cca77d7bedbcac6ee65558818 (patch) | |
| tree | f00931ca6eb57e94e35662ad25f062094dfd6a81 /src/Compilation.zig | |
| parent | 5784500572e3d12b0342cc5b09210c1d1f49edc5 (diff) | |
| download | zig-155ab56cc63d775cca77d7bedbcac6ee65558818.tar.gz zig-155ab56cc63d775cca77d7bedbcac6ee65558818.zip | |
std.zig.readSourceFileToEndAlloc: avoid resizing
+1 on the ensure total capacity to account for the fact that we add a
null byte before returning.
thanks matklad
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
