diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-12-10 06:14:57 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-10 06:14:57 -0500 |
| commit | 7637ac584fc2cee95dc5a20f51844b72fc7ecc82 (patch) | |
| tree | 92d425bd0fccd34472453fa38c0cd721612023ea /build.zig | |
| parent | e4874d842ec3a771a5c438b4c48020a74c221935 (diff) | |
| parent | 89d1ccc477c1dbc8bb8d13ad2598ef0190c25898 (diff) | |
| download | zig-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.zig | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -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 { |
