We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab6c19 commit 7542c1bCopy full SHA for 7542c1b
examples/sdl2/src/sdl-zig-demo.zig
@@ -14,11 +14,11 @@ pub const std_options: std.Options = if (builtin.abi.isAndroid())
14
else
15
.{};
16
17
-// custom panic handler for Android
18
-// pub const panic = if (builtin.abi.isAndroid())
19
-// android.panic
20
-// else
21
-// std.debug.FullPanic(std.debug.defaultPanic);
+/// custom panic handler for Android
+pub const panic = if (builtin.abi.isAndroid())
+ android.panic
+else
+ std.debug.FullPanic(std.debug.defaultPanic);
22
23
comptime {
24
if (builtin.abi.isAndroid()) {
0 commit comments