code: update to zig 0.8.0

This commit is contained in:
Isaac Freund
2021-05-23 13:35:37 +02:00
parent ca4abd261f
commit c0a2286847
22 changed files with 90 additions and 90 deletions

View File

@ -17,6 +17,7 @@
const build_options = @import("build_options");
const std = @import("std");
const mem = std.mem;
const os = std.os;
const wlr = @import("wlroots");
const wl = @import("wayland").server.wl;
@ -159,7 +160,7 @@ pub fn renderOutput(output: *Output) void {
// TODO: handle failure
output.wlr_output.commit() catch
log.err("output commit failed for {}", .{output.wlr_output.name});
log.err("output commit failed for {s}", .{mem.sliceTo(&output.wlr_output.name, 0)});
}
fn renderFilter(view: *View, filter_tags: u32) bool {