| author | |
| committer | |
| log | bfc8500390f0ed9371b01e2d9b1836b23bea68b9 |
| tree | 0c32dda6ef5e4a94551512eb2e635e37b96c84f6 |
| parent | b0e905a30dc99928c6686bf2b1401bebc0b0bdc0 |
Use std.builtins instead.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/testing.zig+1-1| ... | ... | @@ -451,7 +451,7 @@ test { |
| 451 | 451 | |
| 452 | 452 | /// Given a type, reference all the declarations inside, so that the semantic analyzer sees them. |
| 453 | 453 | pub fn refAllDecls(comptime T: type) void { |
| 454 | if (!@import("builtin").is_test) return; | |
| 454 | if (!std.builtin.is_test) return; | |
| 455 | 455 | inline for (std.meta.declarations(T)) |decl| { |
| 456 | 456 | _ = decl; |
| 457 | 457 | } |