File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -27,26 +27,6 @@ pub fn build(b: *std.Build) void {
2727
2828 b .installArtifact (exe );
2929
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-
5030 const run_cmd = b .addRunArtifact (exe );
5131
5232 run_cmd .step .dependOn (b .getInstallStep ());
You can’t perform that action at this time.
0 commit comments