mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
fix wasm bootstrapping compilation errors
This commit is contained in:
parent
ba77959137
commit
f4428e5804
2 changed files with 2 additions and 0 deletions
|
|
@ -508,6 +508,7 @@ fn addWasiUpdateStep(b: *std.Build, version: [:0]const u8) !void {
|
|||
exe_options.addOption(bool, "enable_tracy_callstack", false);
|
||||
exe_options.addOption(bool, "enable_tracy_allocation", false);
|
||||
exe_options.addOption(bool, "value_tracing", false);
|
||||
exe_options.addOption(bool, "omit_pkg_fetching_code", true);
|
||||
|
||||
const run_opt = b.addSystemCommand(&.{ "wasm-opt", "-Oz", "--enable-bulk-memory" });
|
||||
run_opt.addArtifactArg(exe);
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ const is_darwin = builtin.target.isDarwin();
|
|||
pub const ChildProcess = struct {
|
||||
pub const Id = switch (builtin.os.tag) {
|
||||
.windows => windows.HANDLE,
|
||||
.wasi => void,
|
||||
else => os.pid_t,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue