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:
parent
984d4de3bd
commit
51e996db72
10 changed files with 6 additions and 978 deletions
|
|
@ -5,14 +5,9 @@ const math = mach.math;
|
|||
const vec2 = math.vec2;
|
||||
const Vec2 = math.Vec2;
|
||||
|
||||
pub const Font = FontInterface(if (@import("builtin").cpu.arch == .wasm32) {
|
||||
@panic("TODO: implement wasm/Font.zig");
|
||||
} else @import("native/Font.zig"));
|
||||
pub const Font = FontInterface(if (@import("builtin").cpu.arch == .wasm32) @panic("TODO: implement wasm/Font.zig") else @import("native/Font.zig"));
|
||||
|
||||
pub const TextRun = TextRunInterface(if (@import("builtin").cpu.arch == .wasm32)
|
||||
{
|
||||
@panic("TODO: implement wasm/TextRun.zig");
|
||||
} else @import("native/TextRun.zig"));
|
||||
pub const TextRun = TextRunInterface(if (@import("builtin").cpu.arch == .wasm32) @panic("TODO: implement wasm/TextRun.zig") else @import("native/TextRun.zig"));
|
||||
|
||||
fn FontInterface(comptime T: type) type {
|
||||
assertDecl(T, "initBytes", fn (font_bytes: []const u8) anyerror!T);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue