zig/test/stage1
Andrew Kelley 4a38799631 make file and fn_name fields of SourceLocation also null-terminated
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
2020-06-18 17:09:10 -04:00
..
behavior make file and fn_name fields of SourceLocation also null-terminated 2020-06-18 17:09:10 -04:00
c_abi C ABI: Add C support for passing structs of floats to an extern function 2020-05-28 22:56:33 -04:00
behavior.zig add tests for `@src` 2020-06-18 21:11:34 +03:00