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.
This commit is contained in:
Andrew Kelley 2022-07-27 02:13:01 -07:00
parent ffac6a1b9f
commit 20c230cda9

View File

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