mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
One of the main motivating use cases for this language feature is tracing/profiling tools, which expect null-terminated strings for these values. Since the data is statically allocated, making them additionally null-terminated comes at no cost. This prevents the requirement of compile-time code to convert to null-termination, which could increase the compilation time of code with tracing enabled. See #2029 |
History
|
|
|---|---|---|
| .. | ||
| src | ||
| stage1 | ||
| stage2 | ||
| standalone | ||
| assemble_and_link.zig | ||
| cli.zig | ||
| compare_output.zig | ||
| compile_errors.zig | ||
| gen_h.zig | ||
| run_translated_c.zig | ||
| runtime_safety.zig | ||
| stack_traces.zig | ||
| standalone.zig | ||
| tests.zig | ||
| translate_c.zig | ||