Skip to content

Commit

Permalink
Fix compiler crash during 'zig build test'
Browse files Browse the repository at this point in the history
  • Loading branch information
fardragon committed Aug 9, 2024
1 parent 2a737af commit 8f53fcb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/lib.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ pub const Arg = @import("Arg.zig");
pub const arg_matches = @import("arg_matches.zig");
pub const ArgMatches = arg_matches.ArgMatches;
pub const Command = @import("Command.zig");
pub const YazapError = @import("error.zig").YazapError;
pub const yazap_error = @import("error.zig");
pub const YazapError = yazap_error.YazapError;

test "emit docs" {
std.testing.refAllDeclsRecursive(@This());
comptime {
std.testing.refAllDecls(App);
std.testing.refAllDecls(Arg);
std.testing.refAllDecls(arg_matches);
std.testing.refAllDecls(Command);
std.testing.refAllDecls(yazap_error);
}
}

0 comments on commit 8f53fcb

Please sign in to comment.