mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Fix zig std regression FTBFS
Regressed in 9176408
This commit is contained in:
parent
79db39307b
commit
b8ac740a1b
@ -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.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user