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 {
111111pub const MakeOptions = struct {
112112 progress_node: std.Progress.Node,
113113 watch: bool,
114 web_server: switch (builtin.target.cpu.arch) {
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 },
114 web_server: ?*Build.WebServer,
120115 /// If set, this is a timeout to enforce on all individual unit tests, in nanoseconds.
121116 unit_test_timeout_ns: ?u64,
122117 /// 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,
6565environ: Environ,
6666
6767null_file: NullFile = .{},
68dev_urandom_fd: dev_urandom_fd_t,
68dev_urandom_fd: dev_urandom_fd_t = if (use_dev_urandom) -1 else {},
6969
7070pub const Argv0 = switch (native_os) {
7171 .openbsd, .haiku => struct {