removing unsupported panic
All checks were successful
Build / build (push) Successful in 1m14s
Test / build_and_test (push) Successful in 2h4m35s

This commit is contained in:
2026-02-27 22:30:26 +01:00
parent b13d9cb4c9
commit 961ee791b3

View File

@@ -104,13 +104,9 @@ pub inline fn getLogVerboseLevel() LogVerboseLevel {
.Standard; .Standard;
} }
pub fn unsupported(comptime fmt: []const u8, args: anytype) void { pub inline fn unsupported(comptime fmt: []const u8, args: anytype) void {
if (builtin.mode == std.builtin.OptimizeMode.Debug) {
std.debug.panic("UNSUPPORTED " ++ fmt, args);
} else {
std.log.scoped(.UNSUPPORTED).warn(fmt, args); std.log.scoped(.UNSUPPORTED).warn(fmt, args);
} }
}
comptime { comptime {
_ = lib_vulkan; _ = lib_vulkan;