authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-27 02:13:01-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-27 02:13:01-07:00
log20c230cda955936a04af952f9773c0cdda10d9f4
treedbe96da4a171514a45fb22b42a421f02bb2c0f2e
parentffac6a1b9f00d89c238724854440943f67cee9bb

test-cases harness: annotate an optional type

Not sure why this is needed by the CI; it's not needed locally. This is a mystery that will have to wait for another day.

1 files changed, 1 insertions(+), 1 deletions(-)

src/test.zig+1-1
......@@ -1843,7 +1843,7 @@ pub const TestContext = struct {
18431843
18441844 .qemu => |qemu_bin_name| if (enable_qemu) {
18451845 const need_cross_glibc = target.isGnuLibC() and case.link_libc;
1846 const glibc_dir_arg = if (need_cross_glibc)
1846 const glibc_dir_arg: ?[]const u8 = if (need_cross_glibc)
18471847 glibc_runtimes_dir orelse continue :update // glibc dir not available; pass test
18481848 else
18491849 null;