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 {...@@ -1775,7 +1775,7 @@ pub const LibExeObjStep = struct {
1775 }1775 }
1776 }1776 }
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 {
1779 const builder = self.builder;1779 const builder = self.builder;
17801780
1781 try zig_args.append("--pkg-begin");1781 try zig_args.append("--pkg-begin");
...@@ -2053,7 +2053,7 @@ pub const LibExeObjStep = struct {...@@ -2053,7 +2053,7 @@ pub const LibExeObjStep = struct {
2053 try zig_args.append("--test-cmd-bin");2053 try zig_args.append("--test-cmd-bin");
2054 },2054 },
2055 }2055 }
2056 2056
2057 for (self.packages.span()) |pkg| {2057 for (self.packages.span()) |pkg| {
2058 try self.makePackageCmd(pkg, &zig_args);2058 try self.makePackageCmd(pkg, &zig_args);
2059 }2059 }