blob: 2bbaf8edbe62736b3838851cbc607515f1bc8d6c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
const std = @import("std");
const c = @import("c.zig");
const Server = @import("server.zig").Server;
pub fn main() !void {
std.debug.warn("Starting up.\n", .{});
c.wlr_log_init(c.enum_wlr_log_importance.WLR_DEBUG, null);
var server: Server = undefined;
try server.init(std.heap.c_allocator);
defer server.destroy();
try server.start();
server.run();
}
|