aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c/Type.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2025-05-16 13:37:30 +0100
committermlugg <mlugg@mlugg.co.uk>2025-05-16 13:40:52 +0100
commit46d7e808dcef3c9f9200d6cc1ed4e3a787ba054d (patch)
treec89e8bde28f46f77d1b3863a841fc2535cb1788a /src/codegen/c/Type.zig
parent16481c8ef347f7fc5ffdc4636cf904b335a6dc09 (diff)
downloadzig-46d7e808dcef3c9f9200d6cc1ed4e3a787ba054d.tar.gz
zig-46d7e808dcef3c9f9200d6cc1ed4e3a787ba054d.zip
build runner: don't incorrectly omit reference traces
It's incorrect to ever set `include_reference_trace` here, because the compiler has already given or not given reference traces depending on the `-freference-trace` option propagated to the compiler process by `std.Build.Step.Compile`. Perhaps in future we could make the compiler always return the reference trace when communicating over the compiler protocol; that'd be more versatile than the current behavior, because the build runner could, for instance, show a reference trace on-demand without having to even invoke the compiler. That seems really useful, since the reference trace is *often* unnecessary noise, but *sometimes* essential. However, we don't live in that world right now, so passing the option here doesn't make sense. Resolves: #23415
Diffstat (limited to 'src/codegen/c/Type.zig')
0 files changed, 0 insertions, 0 deletions