Skip to content

Commit

Permalink
all: remove support for stage1
Browse files Browse the repository at this point in the history
With almost all tests/examples working on all platforms now with the new compiler,
hexops/mach#180, it's time to remove stage1 support.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
  • Loading branch information
slimsag committed Sep 10, 2022
1 parent 89fd00d commit 8b62427
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1,654 deletions.
5 changes: 1 addition & 4 deletions gamemode.zig
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
//! Note: All the above requests can be blocking - dbus requests can and will block while the daemon
//! handles the request. It is not recommended to make these calls in performance critical code
const builtin = @import("builtin");
pub const c = if (builtin.zig_backend == .stage1)
@import("gamemode_client_stage1.zig")
else
@import("gamemode_client.zig");
pub const c = @import("gamemode_client.zig");

pub const GamemodeError = error{
RequestFailed,
Expand Down

0 comments on commit 8b62427

Please sign in to comment.