build: update to zig version 0.9.0
This commit is contained in:
@ -140,7 +140,7 @@ const Output = struct {
|
||||
.namespace_in_use => fatal("namespace 'rivertile' already in use.", .{}),
|
||||
|
||||
.user_command => |ev| {
|
||||
var it = mem.tokenize(mem.span(ev.command), " ");
|
||||
var it = mem.tokenize(u8, mem.span(ev.command), " ");
|
||||
const raw_cmd = it.next() orelse {
|
||||
std.log.err("not enough arguments", .{});
|
||||
return;
|
||||
@ -357,7 +357,7 @@ pub fn main() !void {
|
||||
}
|
||||
|
||||
const display = wl.Display.connect(null) catch {
|
||||
std.debug.warn("Unable to connect to Wayland server.\n", .{});
|
||||
std.debug.print("Unable to connect to Wayland server.\n", .{});
|
||||
os.exit(1);
|
||||
};
|
||||
defer display.disconnect();
|
||||
|
Reference in New Issue
Block a user