mach: build: fix init error type. append can return OutOfMemory (#604)

This commit is contained in:
Ian Applegate 2022-10-31 10:15:56 -05:00 committed by GitHub
parent 88c5f54380
commit 6563739d1a
Failed to generate hash of commit

View file

@ -166,7 +166,7 @@ pub const App = struct {
watch_paths: ?[]const []const u8,
use_freetype: ?[]const u8 = null,
pub const InitError = std.zig.system.NativeTargetInfo.DetectError;
pub const InitError = error{OutOfMemory} || std.zig.system.NativeTargetInfo.DetectError;
pub const LinkError = glfw.LinkError;
pub const RunError = error{
ParsingIpFailed,