switch anyerror to OutOfMemory

master
wozeparrot 2020-04-30 12:14:17 -04:00
parent bfb40972a9
commit 9d79f39844
1 changed files with 2 additions and 2 deletions

View File

@ -1775,7 +1775,7 @@ pub const LibExeObjStep = struct {
} }
} }
fn makePackageCmd(self: *LibExeObjStep, pkg: Pkg, zig_args: *ArrayList([]const u8)) anyerror!void { fn makePackageCmd(self: *LibExeObjStep, pkg: Pkg, zig_args: *ArrayList([]const u8)) error{OutOfMemory}!void {
const builder = self.builder; const builder = self.builder;
try zig_args.append("--pkg-begin"); try zig_args.append("--pkg-begin");
@ -2053,7 +2053,7 @@ pub const LibExeObjStep = struct {
try zig_args.append("--test-cmd-bin"); try zig_args.append("--test-cmd-bin");
}, },
} }
for (self.packages.span()) |pkg| { for (self.packages.span()) |pkg| {
try self.makePackageCmd(pkg, &zig_args); try self.makePackageCmd(pkg, &zig_args);
} }