use wasi target

This commit is contained in:
2026-02-19 21:58:02 +00:00
parent bdf753eaf8
commit 9ae160a5f2
2 changed files with 8 additions and 9 deletions

View File

@@ -153,12 +153,11 @@ fn zigCompileAirImpl(
);
defer dirs.deinit();
// Hardcode x86_64-linux-musl target.
// Hardcode wasm32-wasi target (matching zig1.wasm).
const resolved_target: Package.Module.ResolvedTarget = .{
.result = try std.zig.system.resolveTargetQuery(.{
.cpu_arch = .x86_64,
.os_tag = .linux,
.abi = .musl,
.cpu_arch = .wasm32,
.os_tag = .wasi,
}),
.is_native_os = false,
.is_native_abi = false,

View File

@@ -97,11 +97,11 @@ const corpus_files = .{
"../lib/std/crypto/codecs.zig", // 165
"../lib/std/os/uefi/tables/table_header.zig", // 214
"../lib/std/zig/llvm.zig", // 247
//"../lib/compiler_rt/neghf2.zig", // 265
//"../lib/compiler_rt/negxf2.zig", // 265
//"../lib/compiler_rt/absvdi2.zig", // 311
//"../lib/compiler_rt/absvsi2.zig", // 311
//"../lib/compiler_rt/absvti2.zig", // 314
"../lib/compiler_rt/neghf2.zig", // 265
"../lib/compiler_rt/negxf2.zig", // 265
"../lib/compiler_rt/absvdi2.zig", // 311
"../lib/compiler_rt/absvsi2.zig", // 311
"../lib/compiler_rt/absvti2.zig", // 314
//"../lib/compiler_rt/addhf3.zig", // 319
//"../lib/compiler_rt/addxf3.zig", // 323
//"../lib/compiler_rt/mulhf3.zig", // 323