authorgravatar for wozeparrot@gmail.comwozeparrot <wozeparrot@gmail.com> 2020-04-30 12:14:17-04:00
committergravatar for wozeparrot@gmail.comwozeparrot <wozeparrot@gmail.com> 2020-04-30 12:14:17-04:00
log9d79f3984474deb5db73c3edd555b8646ad135b1
tree4c64ecb6bbad04c563b1b2c09c2563c7da43d50b
parentbfb40972a9b1e8eb42b8fb5c2fb967c7cd50930d

switch anyerror to OutOfMemory


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/build.zig+2-2
......@@ -1775,7 +1775,7 @@ pub const LibExeObjStep = struct {
17751775 }
17761776 }
17771777
1778 fn makePackageCmd(self: *LibExeObjStep, pkg: Pkg, zig_args: *ArrayList([]const u8)) anyerror!void {
1778 fn makePackageCmd(self: *LibExeObjStep, pkg: Pkg, zig_args: *ArrayList([]const u8)) error{OutOfMemory}!void {
17791779 const builder = self.builder;
17801780
17811781 try zig_args.append("--pkg-begin");
......@@ -2053,7 +2053,7 @@ pub const LibExeObjStep = struct {
20532053 try zig_args.append("--test-cmd-bin");
20542054 },
20552055 }
2056
2056
20572057 for (self.packages.span()) |pkg| {
20582058 try self.makePackageCmd(pkg, &zig_args);
20592059 }