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:
parent
af7ac96a0e
commit
66e56f037b
6 changed files with 308 additions and 25 deletions
|
|
@ -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"),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue