zig/test
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
..
src std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00
stage1 make file and fn_name fields of SourceLocation also null-terminated 2020-06-18 17:09:10 -04:00
stage2 Stage2/Testing: Code cleanup 2020-06-15 21:47:42 -04:00
standalone Enable the test `standalone/global_linkage` 2020-05-16 02:05:55 +09:00
assemble_and_link.zig update std lib to new Target API 2020-02-28 14:51:54 -05:00
cli.zig std lib API deprecations for the upcoming 0.6.0 release 2020-03-30 14:23:22 -04:00
compare_output.zig test & docs fixups to work with new semantics 2020-03-19 09:53:55 -04:00
compile_errors.zig add tests for `@src` 2020-06-18 21:11:34 +03:00
gen_h.zig @OpaqueType -> @Type(.Opaque) 2020-04-28 00:02:13 -06:00
run_translated_c.zig translate-c: use correct scope in for loop condition 2020-05-27 14:14:17 +03:00
runtime_safety.zig update docs/tests for async/extern fn removal 2020-05-05 10:31:32 -06:00
stack_traces.zig update docs/tests for async/extern fn removal 2020-05-05 10:31:32 -06:00
standalone.zig Enable the test `standalone/global_linkage` 2020-05-16 02:05:55 +09:00
tests.zig fix memory errors 2020-06-09 00:17:22 -04:00
translate_c.zig translate-c: don't crash on complex switches 2020-06-04 14:22:27 +03:00