authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-05 11:15:31-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-01-07 11:03:36-08:00
log42ca9e5d8e45264ae39ac9dd7fd34e2d9f82a61a
tree02a933ae0f5d18dea731766b3fde5186d1264d91
parent3bc22dbd940836858311dffbfdabad6ad26d9376

std.Build: remove no longer needed workaround

now that definitions of networking addresses are arch-independent

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

lib/std/Build/Step.zig+1-6
...@@ -111,12 +111,7 @@ pub const TestResults = struct {...@@ -111,12 +111,7 @@ pub const TestResults = struct {
111pub const MakeOptions = struct {111pub const MakeOptions = struct {
112 progress_node: std.Progress.Node,112 progress_node: std.Progress.Node,
113 watch: bool,113 watch: bool,
114 web_server: switch (builtin.target.cpu.arch) {114 web_server: ?*Build.WebServer,
115 else => ?*Build.WebServer,
116 // WASM code references `Build.abi` which happens to incidentally reference this type, but
117 // it currently breaks because `std.net.Address` doesn't work there. Work around for now.
118 .wasm32 => void,
119 },
120 /// If set, this is a timeout to enforce on all individual unit tests, in nanoseconds.115 /// If set, this is a timeout to enforce on all individual unit tests, in nanoseconds.
121 unit_test_timeout_ns: ?u64,116 unit_test_timeout_ns: ?u64,
122 /// Not to be confused with `Build.allocator`, which is an alias of `Build.graph.arena`.117 /// Not to be confused with `Build.allocator`, which is an alias of `Build.graph.arena`.
lib/std/Io/Threaded.zig+1-1
...@@ -65,7 +65,7 @@ argv0: Argv0,...@@ -65,7 +65,7 @@ argv0: Argv0,
65environ: Environ,65environ: Environ,
6666
67null_file: NullFile = .{},67null_file: NullFile = .{},
68dev_urandom_fd: dev_urandom_fd_t,68dev_urandom_fd: dev_urandom_fd_t = if (use_dev_urandom) -1 else {},
6969
70pub const Argv0 = switch (native_os) {70pub const Argv0 = switch (native_os) {
71 .openbsd, .haiku => struct {71 .openbsd, .haiku => struct {