initial macOS backend (#1249)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Co-authored-by: Michael Bradshaw <github@mjb.io>
This commit is contained in:
Stephen Gutekanst 2024-08-18 16:45:37 -07:00 committed by GitHub
parent af7ac96a0e
commit 66e56f037b
Failed to generate hash of commit
6 changed files with 308 additions and 25 deletions

View file

@ -12,11 +12,12 @@ pub const sysjs = @import("mach-sysjs");
pub const Timer = @import("core/Timer.zig");
const Frequency = @import("core/Frequency.zig");
const Platform = switch (build_options.core_platform) {
pub const Platform = switch (build_options.core_platform) {
.x11 => @import("core/X11.zig"),
.wayland => @import("core/Wayland.zig"),
.web => @panic("TODO: revive wasm backend"),
.win32 => @import("core/win32.zig"),
.darwin => @import("core/Darwin.zig"),
.null => @import("core/Null.zig"),
};