aboutsummaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-10 06:14:57 -0500
committerGitHub <noreply@github.com>2022-12-10 06:14:57 -0500
commit7637ac584fc2cee95dc5a20f51844b72fc7ecc82 (patch)
tree92d425bd0fccd34472453fa38c0cd721612023ea /build.zig
parente4874d842ec3a771a5c438b4c48020a74c221935 (diff)
parent89d1ccc477c1dbc8bb8d13ad2598ef0190c25898 (diff)
downloadzig-7637ac584fc2cee95dc5a20f51844b72fc7ecc82.tar.gz
zig-7637ac584fc2cee95dc5a20f51844b72fc7ecc82.zip
Merge pull request #13821 from Vexu/eliminate-bound-fn
Eliminate `BoundFn` type from the language
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 {