remove unmaintained WASM support

Same reasoning as outlined in #1254

> nobody is interested in actively maintaining or contributing to that today.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-08-24 23:17:51 -07:00
parent 984d4de3bd
commit 51e996db72
10 changed files with 6 additions and 978 deletions

View file

@ -372,7 +372,6 @@ fn buildExamples(
core: bool = false,
name: []const u8,
deps: []const Dependency = &.{},
wasm: bool = false,
has_assets: bool = false,
}{
// Mach core examples
@ -388,7 +387,6 @@ fn buildExamples(
.{ .name = "sprite", .deps = &.{ .zigimg, .assets } },
.{ .name = "text", .deps = &.{.assets} },
}) |example| {
if (target.result.cpu.arch == .wasm32 and !example.wasm) continue;
const exe = b.addExecutable(.{
.name = if (example.core) b.fmt("core-{s}", .{example.name}) else example.name,
.root_source_file = if (example.core)