mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-09-20 14:45:36 +00:00
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
This commit is contained in:
commit
ad32e402a5
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue
Block a user