Skip to content

Commit 8e2cf2e

Browse files
committed
fix
1 parent db03d58 commit 8e2cf2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/minimal/src/minimal.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ const androidbind = @import("android-bind.zig");
55
const log = std.log;
66

77
/// custom standard options for Android
8-
pub const std_options: std.Options = if (builtin.abi.isAndroid())
8+
pub const std_options: std.Options = if (builtin.abi == .android)
99
.{
1010
.logFn = android.logFn,
1111
}
1212
else
1313
.{};
1414

1515
/// custom panic handler for Android
16-
pub const panic = if (builtin.abi.isAndroid())
16+
pub const panic = if (builtin.abi == .android)
1717
android.panic
1818
else
1919
std.builtin.default_panic;

0 commit comments

Comments
 (0)