Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env:
CI_JAVA_VERSION: 17
# 35.0.0 = Android 15
CI_ANDROID_SDK: "tools platform-tools platforms;android-35 build-tools;35.0.0 ndk;29.0.13113456"
CI_ZIG_PREVIOUS_STABLE_VERSION: "0.14.0"
CI_ZIG_STABLE_VERSION: "0.15.1"
CI_ZIG_PREVIOUS_STABLE_VERSION: "0.15.1"
CI_ZIG_STABLE_VERSION: "0.16.0"

jobs:
# NOTE(jae): 2026-02-01
Expand Down
2 changes: 1 addition & 1 deletion examples/raylib/src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn raylibFileOpen(filename: [*c]const u8, modes: [*c]const u8) callconv(.c) ?*an
fn androidMain() callconv(.c) c_int {
main() catch |err| {
std.log.err("{t}", .{err});
if (@errorReturnTrace()) |trace| std.debug.dumpStackTrace(trace);
if (@errorReturnTrace()) |trace| std.debug.dumpErrorReturnTrace(trace);
return 1;
};
return 0;
Expand Down
8 changes: 5 additions & 3 deletions examples/sdl2/src/sdl-zig-demo.zig
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,18 @@ fn SDL_main() callconv(.c) void {
@compileError("SDL_main should not be called outside of Android builds");
}
if (builtin.zig_version.major == 0 and builtin.zig_version.minor <= 14) {
// Deprecated path: Zig 0.14.X support
_ = std.start.callMain();
return;
}
main() catch |err| {
log.err("{s}", .{@errorName(err)});
log.err("{t}", .{err});
if (@errorReturnTrace()) |trace| {
if (builtin.zig_version.major == 0 and builtin.zig_version.minor <= 15) {
if (comptime builtin.zig_version.major == 0 and builtin.zig_version.minor <= 15) {
// Deprecated path: Zig 0.15.X support
std.debug.dumpStackTrace(trace.*);
} else {
std.debug.dumpStackTrace(trace);
std.debug.dumpErrorReturnTrace(trace);
}
}
};
Expand Down
Loading