Skip to content

Commit

Permalink
fix build on zig master
Browse files Browse the repository at this point in the history
  • Loading branch information
zenith391 committed Dec 3, 2022
1 parent eb7c83a commit 34bf939
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions android/Sdk.zig
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ pub fn createApp(
\\
) catch unreachable;

break :blk buf.toOwnedSlice();
break :blk buf.toOwnedSlice() catch unreachable;
});

const manifest_step = sdk.b.addWriteFile("AndroidManifest.xml", blk: {
Expand Down Expand Up @@ -479,7 +479,7 @@ pub fn createApp(
) catch unreachable;
}

break :blk buf.toOwnedSlice();
break :blk buf.toOwnedSlice() catch unreachable;
});

const resource_dir_step = CreateResourceDirectory.create(sdk.b);
Expand Down Expand Up @@ -601,7 +601,7 @@ pub fn createApp(
.sdk = sdk,
.first_step = &make_unsigned_apk.step,
.final_step = sign_step,
.libraries = libs.toOwnedSlice(),
.libraries = libs.toOwnedSlice() catch unreachable,
.build_options = build_options,
.package_name = sdk.b.dupe(app_config.package_name),
.apk_file = (std.build.FileSource{ .path = apk_file }).dupe(sdk.b),
Expand Down

0 comments on commit 34bf939

Please sign in to comment.