diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-08-24 14:37:57 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-08-24 14:37:57 +0200 |
| commit | ad32e402a5138b8ac00a83626bcafe1cbdcad17a (patch) | |
| tree | 54a9abfbfe0bfb7b46584bb0ebf530c8e3ad4609 | |
| parent | 5b3b0eb26bca1a62d8a1734ad603916f33127bb3 (diff) | |
| parent | 470f69596857b3608d751045bf093e6d097ddd4c (diff) | |
Merge pull request 'pass -freference-trace to executed compile command' (#294) from SimonLSchlee/exercises:pass-reference-trace into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/294
| -rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -508,6 +508,10 @@ const ZiglingStep = struct { zig_args.append("-lc") catch @panic("OOM"); } + if (b.reference_trace) |rt| { + zig_args.append(b.fmt("-freference-trace={}", .{rt})) catch @panic("OOM"); + } + zig_args.append(b.pathFromRoot(path)) catch @panic("OOM"); zig_args.append("--cache-dir") catch @panic("OOM"); |
