stage2: use std.debug.Trace only when explicitly enabled

Because it bumps up the stack space requirements, which is making a test
case fail on aarch64 drone CI.
This commit is contained in:
Andrew Kelley
2022-06-09 15:33:04 -07:00
parent bc36da0cb8
commit 2bf532fc23
4 changed files with 7 additions and 1 deletions

View File

@@ -2531,7 +2531,7 @@ const TracedOffset = struct {
x: i32,
trace: std.debug.Trace = .{},
const want_tracing = std.debug.Trace.enabled;
const want_tracing = build_options.value_tracing;
};
/// Resolving a source location into a byte offset may require doing work