| ... | @@ -93,5 +93,41 @@ comptime { | ... | @@ -93,5 +93,41 @@ comptime { |
| 93 | } | 93 | } |
| 94 | | 94 | |
| 95 | test "" { | 95 | test "" { |
| 96 | testing.refAllDecls(@This()); | 96 | if (builtin.os.tag == .windows) { |
| | 97 | // We only test the Windows-relevant stuff to save memory because the CI |
| | 98 | // server is hitting OOM. TODO revert this after stage2 arrives. |
| | 99 | _ = ChildProcess; |
| | 100 | _ = DynLib; |
| | 101 | _ = mutex; |
| | 102 | _ = Mutex; |
| | 103 | _ = Progress; |
| | 104 | _ = ResetEvent; |
| | 105 | _ = SpinLock; |
| | 106 | _ = StaticResetEvent; |
| | 107 | _ = Target; |
| | 108 | _ = Thread; |
| | 109 | |
| | 110 | _ = atomic; |
| | 111 | _ = build; |
| | 112 | _ = builtin; |
| | 113 | _ = debug; |
| | 114 | _ = event; |
| | 115 | _ = fs; |
| | 116 | _ = heap; |
| | 117 | _ = io; |
| | 118 | _ = log; |
| | 119 | _ = macho; |
| | 120 | _ = net; |
| | 121 | _ = os; |
| | 122 | _ = once; |
| | 123 | _ = pdb; |
| | 124 | _ = process; |
| | 125 | _ = testing; |
| | 126 | _ = time; |
| | 127 | _ = unicode; |
| | 128 | _ = zig; |
| | 129 | _ = start; |
| | 130 | } else { |
| | 131 | testing.refAllDecls(@This()); |
| | 132 | } |
| 97 | } | 133 | } |