pub const Kind = enum(u3)
pub fn isTest(kind: Kind) bool
pub fn toOutputMode(kind: Kind) std.builtin.OutputMode
894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915
pub const Kind = enum(u3) { exe, lib, obj, @"test", test_obj, pub fn isTest(kind: Kind) bool { return switch (kind) { .exe, .lib, .obj => false, .@"test", .test_obj => true, }; } pub fn toOutputMode(kind: Kind) std.builtin.OutputMode { return switch (kind) { .exe, .@"test" => .Exe, .lib => .Lib, .obj, .test_obj => .Obj, }; } }