diff --git a/lib/std/std.zig b/lib/std/std.zig index a1f3621023..091095bdb5 100644 --- a/lib/std/std.zig +++ b/lib/std/std.zig @@ -93,5 +93,41 @@ comptime { } test "" { - testing.refAllDecls(@This()); + if (builtin.os.tag == .windows) { + // We only test the Windows-relevant stuff to save memory because the CI + // server is hitting OOM. TODO revert this after stage2 arrives. + _ = ChildProcess; + _ = DynLib; + _ = mutex; + _ = Mutex; + _ = Progress; + _ = ResetEvent; + _ = SpinLock; + _ = StaticResetEvent; + _ = Target; + _ = Thread; + + _ = atomic; + _ = build; + _ = builtin; + _ = debug; + _ = event; + _ = fs; + _ = heap; + _ = io; + _ = log; + _ = macho; + _ = net; + _ = os; + _ = once; + _ = pdb; + _ = process; + _ = testing; + _ = time; + _ = unicode; + _ = zig; + _ = start; + } else { + testing.refAllDecls(@This()); + } }