Commit 9d79f39844

wozeparrot <wozeparrot@gmail.com>
2020-04-30 18:14:17
switch anyerror to OutOfMemory
1 parent bfb4097
Changed files (1)
lib
lib/std/build.zig
@@ -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;
 
         try zig_args.append("--pkg-begin");
@@ -2053,7 +2053,7 @@ pub const LibExeObjStep = struct {
                 try zig_args.append("--test-cmd-bin");
             },
         }
-        
+
         for (self.packages.span()) |pkg| {
             try self.makePackageCmd(pkg, &zig_args);
         }