aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig13
1 files changed, 2 insertions, 11 deletions
diff --git a/build.zig b/build.zig
index bcc50ea9fa..f2a7e48dc7 100644
--- a/build.zig
+++ b/build.zig
@@ -502,17 +502,8 @@ fn addWasiUpdateStep(b: *Builder, version: [:0]const u8) !void {
run_opt.addArg("-o");
run_opt.addFileSourceArg(.{ .path = "stage1/zig1.wasm" });
- const run_zstd = b.addSystemCommand(&.{ "zstd", "-19", "-f" });
- run_zstd.step.dependOn(&run_opt.step);
- run_zstd.addFileSourceArg(.{ .path = "stage1/zig1.wasm" });
- run_zstd.addArg("-o");
- run_zstd.addFileSourceArg(.{ .path = "stage1/zig1.wasm.zst" });
-
- const cleanup = b.addRemoveDirTree("stage1/zig1.wasm");
- cleanup.step.dependOn(&run_zstd.step);
-
- const update_zig1_step = b.step("update-zig1", "Update stage1/zig1.wasm.zst");
- update_zig1_step.dependOn(&cleanup.step);
+ const update_zig1_step = b.step("update-zig1", "Update stage1/zig1.wasm");
+ update_zig1_step.dependOn(&run_opt.step);
}
fn addCompilerStep(b: *Builder) *std.build.LibExeObjStep {