mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
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:
parent
ffac6a1b9f
commit
20c230cda9
@ -1843,7 +1843,7 @@ pub const TestContext = struct {
|
||||
|
||||
.qemu => |qemu_bin_name| if (enable_qemu) {
|
||||
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
|
||||
else
|
||||
null;
|
||||
|
Loading…
Reference in New Issue
Block a user