authorgravatar for micah.switzer.dev@outlook.comMicah Switzer <micah.switzer.dev@outlook.com> 2025-06-30 06:33:12-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-30 18:06:14+02:00
logb8ac740a1b072168c24785cf8d1c8315ed6db8b0
treecb66a9ecb2b8d07d614a88531f0ab5dbeadd1a27
parent79db39307bea14c9d43b365535e704d2a86f3b24

Fix `zig std` regression FTBFS

Regressed in 9176408

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

lib/compiler/std-docs.zig+2-2
...@@ -236,10 +236,10 @@ fn serveWasm(...@@ -236,10 +236,10 @@ fn serveWasm(
236 const wasm_base_path = try buildWasmBinary(arena, context, optimize_mode);236 const wasm_base_path = try buildWasmBinary(arena, context, optimize_mode);
237 const bin_name = try std.zig.binNameAlloc(arena, .{237 const bin_name = try std.zig.binNameAlloc(arena, .{
238 .root_name = autodoc_root_name,238 .root_name = autodoc_root_name,
239 .target = std.zig.system.resolveTargetQuery(std.Build.parseTargetQuery(.{239 .target = &(std.zig.system.resolveTargetQuery(std.Build.parseTargetQuery(.{
240 .arch_os_abi = autodoc_arch_os_abi,240 .arch_os_abi = autodoc_arch_os_abi,
241 .cpu_features = autodoc_cpu_features,241 .cpu_features = autodoc_cpu_features,
242 }) catch unreachable) catch unreachable,242 }) catch unreachable) catch unreachable),
243 .output_mode = .Exe,243 .output_mode = .Exe,
244 });244 });
245 // std.http.Server does not have a sendfile API yet.245 // std.http.Server does not have a sendfile API yet.