2024-11-23 23:26:03 +00:00
|
|
|
const std = @import("std");
|
|
|
|
|
|
|
|
|
|
pub const args = @import("./args/args.zig");
|
|
|
|
|
|
|
|
|
|
comptime {
|
|
|
|
|
// A hack to prevent the compiler from optimizing tests and "exports" away.
|
|
|
|
|
// but only in `Debug` mode. Hopefully.
|
|
|
|
|
const builtin = @import("builtin");
|
|
|
|
|
|
|
|
|
|
if (builtin.is_test) {
|
|
|
|
|
std.mem.doNotOptimizeAway(args);
|
2024-11-28 20:56:55 +00:00
|
|
|
std.mem.doNotOptimizeAway(args.help);
|
2024-11-23 23:26:03 +00:00
|
|
|
}
|
|
|
|
|
}
|