| author | |
| committer | |
| log | 8591731f2b938b2b55b05181d5ec0e27f79c86fa |
| tree | 6fa4e9979f4d2a93a718b9344588aff21fd223be |
| parent | 17eb24a7e4b2bc5740dc15996acc4736833cb2a0 |
| signature |
3 files changed, 15 insertions(+), 14 deletions(-)
lib/std/math.zig+1-1| ... | ... | @@ -202,7 +202,7 @@ pub const Complex = complex.Complex; |
| 202 | 202 | |
| 203 | 203 | pub const big = @import("math/big.zig"); |
| 204 | 204 | |
| 205 | comptime { | |
| 205 | test "" { | |
| 206 | 206 | std.meta.refAllDecls(@This()); |
| 207 | 207 | } |
| 208 | 208 |
lib/std/os.zig+13-12| ... | ... | @@ -34,18 +34,19 @@ pub const zen = @import("os/zen.zig"); |
| 34 | 34 | |
| 35 | 35 | comptime { |
| 36 | 36 | assert(@import("std") == std); // std lib tests require --override-lib-dir |
| 37 | if (builtin.is_test) { | |
| 38 | _ = darwin; | |
| 39 | _ = freebsd; | |
| 40 | _ = linux; | |
| 41 | _ = netbsd; | |
| 42 | _ = uefi; | |
| 43 | _ = wasi; | |
| 44 | _ = windows; | |
| 45 | _ = zen; | |
| 46 | ||
| 47 | _ = @import("os/test.zig"); | |
| 48 | } | |
| 37 | } | |
| 38 | ||
| 39 | test "" { | |
| 40 | _ = darwin; | |
| 41 | _ = freebsd; | |
| 42 | _ = linux; | |
| 43 | _ = netbsd; | |
| 44 | _ = uefi; | |
| 45 | _ = wasi; | |
| 46 | _ = windows; | |
| 47 | _ = zen; | |
| 48 | ||
| 49 | _ = @import("os/test.zig"); | |
| 49 | 50 | } |
| 50 | 51 | |
| 51 | 52 | /// When linking libc, this is the C API. Otherwise, it is the OS-specific system interface. |
lib/std/std.zig+1-1| ... | ... | @@ -65,6 +65,6 @@ pub const unicode = @import("unicode.zig"); |
| 65 | 65 | pub const valgrind = @import("valgrind.zig"); |
| 66 | 66 | pub const zig = @import("zig.zig"); |
| 67 | 67 | |
| 68 | comptime { | |
| 68 | test "" { | |
| 69 | 69 | meta.refAllDecls(@This()); |
| 70 | 70 | } |