core: remove linux support
The `mach.Core` API needs major design changes, and every backend that it supports today must be updated to account for those API design changes. Unless someone is actively maintaining and improving the state of a given backend, it slows down our ability to make those critical changes. Unfortunately, the backends for X11 and Wayland today are half-baked, nobody is actively maintaining on or contributing to them, and the Linux CI tests have been broken for over a month as a result which harms overall stability of Mach. As a result, this PR removes Linux support from `mach.Core` Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
51e996db72
commit
17450fde65
5 changed files with 4 additions and 2237 deletions
|
|
@ -13,8 +13,6 @@ pub const Timer = @import("core/Timer.zig");
|
|||
const Frequency = @import("core/Frequency.zig");
|
||||
|
||||
pub const Platform = switch (build_options.core_platform) {
|
||||
.x11 => @import("core/X11.zig"),
|
||||
.wayland => @import("core/Wayland.zig"),
|
||||
.wasm => @panic("TODO: support mach.Core WASM platform"),
|
||||
.win32 => @import("core/win32.zig"),
|
||||
.darwin => @import("core/Darwin.zig"),
|
||||
|
|
@ -25,8 +23,6 @@ pub const Platform = switch (build_options.core_platform) {
|
|||
// platform must take control and drive the main loop itself.
|
||||
pub const supports_non_blocking = switch (build_options.core_platform) {
|
||||
.win32 => true,
|
||||
.x11 => true,
|
||||
.wayland => true,
|
||||
.wasm => false,
|
||||
.darwin => false,
|
||||
.null => false,
|
||||
|
|
|
|||
1024
src/core/Wayland.zig
1024
src/core/Wayland.zig
File diff suppressed because it is too large
Load diff
1161
src/core/X11.zig
1161
src/core/X11.zig
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +0,0 @@
|
|||
#include "wayland-client-protocol-code.h"
|
||||
#include "wayland-xdg-shell-client-protocol-code.h"
|
||||
#include "wayland-xdg-decoration-client-protocol-code.h"
|
||||
#include "wayland-viewporter-client-protocol-code.h"
|
||||
#include "wayland-relative-pointer-unstable-v1-client-protocol-code.h"
|
||||
#include "wayland-pointer-constraints-unstable-v1-client-protocol-code.h"
|
||||
#include "wayland-idle-inhibit-unstable-v1-client-protocol-code.h"
|
||||
Loading…
Add table
Add a link
Reference in a new issue