We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78ee4ac commit 65cd805Copy full SHA for 65cd805
1 file changed
build.zig
@@ -27,26 +27,6 @@ pub fn build(b: *std.Build) void {
27
28
b.installArtifact(exe);
29
30
- // Add WASM build target
31
- const wasm = b.addExecutable(.{
32
- .name = "httpspec",
33
- .root_source_file = b.path("src/wasm.zig"),
34
- .target = b.resolveTargetQuery(.{
35
- .cpu_arch = .wasm32,
36
- .os_tag = .freestanding,
37
- }),
38
- .optimize = optimize,
39
- });
40
-
41
- // Configure WASM-specific build options
42
- wasm.entry = .disabled;
43
- wasm.rdynamic = true;
44
45
- const wasm_step = b.step("wasm", "Build WebAssembly module");
46
- wasm_step.dependOn(&b.addInstallArtifact(wasm, .{
47
- .dest_dir = .{ .override = .{ .custom = "web" } },
48
- }).step);
49
50
const run_cmd = b.addRunArtifact(exe);
51
52
run_cmd.step.dependOn(b.getInstallStep());
0 commit comments