diff options
| author | Carl Ã…stholm <carl@astholm.se> | 2024-11-06 22:30:46 +0100 |
|---|---|---|
| committer | Ian Johnson <ian@ianjohnson.dev> | 2024-12-13 08:49:02 -0500 |
| commit | b352595aa2ede0c2fd53094da4123aac031335ec (patch) | |
| tree | aa94a2af3250a50ddf169a8e2c1da0e11f34f730 /src/main.zig | |
| parent | 82f35c51866826fb71eb6f27d9210bb738d602e9 (diff) | |
| download | zig-b352595aa2ede0c2fd53094da4123aac031335ec.tar.gz zig-b352595aa2ede0c2fd53094da4123aac031335ec.zip | |
Add compiler internals tests
There are several test decls inside `/src` that are not currently being
tested and have bitrotted as a result. This commit revives those tests
and adds the `test-compiler-internals` set of tests which tests
everything reachable from `/src/main.zig`.
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.zig b/src/main.zig index 1f8bd8d065..e1392428f6 100644 --- a/src/main.zig +++ b/src/main.zig @@ -34,6 +34,10 @@ const Zcu = @import("Zcu.zig"); const mingw = @import("mingw.zig"); const dev = @import("dev.zig"); +test { + _ = Package; +} + pub const std_options: std.Options = .{ .wasiCwd = wasi_cwd, .logFn = log, |
