Fix zig std regression FTBFS

Regressed in 9176408
This commit is contained in:
Micah Switzer 2025-06-30 06:33:12 -04:00 committed by Alex Rønne Petersen
parent 79db39307b
commit b8ac740a1b

View File

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