We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1274cff commit 10c0e2dCopy full SHA for 10c0e2d
src/examples/pattern/command.zig
@@ -1,5 +1,6 @@
1
/// source: https://gameprogrammingpatterns.com/
2
const std = @import("std");
3
+const builtin = @import("builtin");
4
5
const GameActor = struct {
6
x: i8,
@@ -55,6 +56,8 @@ const Command = struct {
55
56
};
57
58
pub fn main() !void {
59
+ if (builtin.os.tag == .windows) @panic("Not implemented for Windows");
60
+
61
var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator);
62
defer arena.deinit();
63
0 commit comments