mach: build: fix init error type. append can return OutOfMemory (#604)
This commit is contained in:
parent
88c5f54380
commit
6563739d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue