| ... | @@ -1132,7 +1132,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1132,7 +1132,7 @@ pub const LibExeObjStep = struct { |
| 1132 | name_prefix: []const u8, | 1132 | name_prefix: []const u8, |
| 1133 | filter: ?[]const u8, | 1133 | filter: ?[]const u8, |
| 1134 | single_threaded: bool, | 1134 | single_threaded: bool, |
| 1135 | evented_io: bool = false, | 1135 | test_evented_io: bool = false, |
| 1136 | code_model: builtin.CodeModel = .default, | 1136 | code_model: builtin.CodeModel = .default, |
| 1137 | | 1137 | |
| 1138 | root_src: ?FileSource, | 1138 | root_src: ?FileSource, |
| ... | @@ -1560,11 +1560,6 @@ pub const LibExeObjStep = struct { | ... | @@ -1560,11 +1560,6 @@ pub const LibExeObjStep = struct { |
| 1560 | self.filter = text; | 1560 | self.filter = text; |
| 1561 | } | 1561 | } |
| 1562 | | 1562 | |
| 1563 | pub fn setUseTestEventedIo(self: *LibExeObjStep, use_evented_io: bool) void { | | |
| 1564 | assert(self.kind == Kind.Test); | | |
| 1565 | self.evented_io = use_evented_io; | | |
| 1566 | } | | |
| 1567 | | | |
| 1568 | pub fn addCSourceFile(self: *LibExeObjStep, file: []const u8, args: []const []const u8) void { | 1563 | pub fn addCSourceFile(self: *LibExeObjStep, file: []const u8, args: []const []const u8) void { |
| 1569 | self.addCSourceFileSource(.{ | 1564 | self.addCSourceFileSource(.{ |
| 1570 | .args = args, | 1565 | .args = args, |
| ... | @@ -1870,7 +1865,7 @@ pub const LibExeObjStep = struct { | ... | @@ -1870,7 +1865,7 @@ pub const LibExeObjStep = struct { |
| 1870 | try zig_args.append(filter); | 1865 | try zig_args.append(filter); |
| 1871 | } | 1866 | } |
| 1872 | | 1867 | |
| 1873 | if (self.evented_io) { | 1868 | if (self.test_evented_io) { |
| 1874 | try zig_args.append("--test-evented-io"); | 1869 | try zig_args.append("--test-evented-io"); |
| 1875 | } | 1870 | } |
| 1876 | | 1871 | |