mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +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:
@@ -508,6 +508,10 @@ const ZiglingStep = struct {
|
|||||||
zig_args.append("-lc") catch @panic("OOM");
|
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(b.pathFromRoot(path)) catch @panic("OOM");
|
||||||
|
|
||||||
zig_args.append("--cache-dir") catch @panic("OOM");
|
zig_args.append("--cache-dir") catch @panic("OOM");
|
||||||
|
|||||||
Reference in New Issue
Block a user