From 505639432efc22ee8c85c4a9b34e111acbe896d4 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Thu, 24 Jun 2021 20:20:26 +0200 Subject: [PATCH] Revert "build: assert wlroots version at comptime" zig-wlroots now has this assert built in This reverts commit 3392b21aa8982c1a9d5bf25307830a4294e5ae4c. --- deps/zig-wlroots | 2 +- river/main.zig | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/deps/zig-wlroots b/deps/zig-wlroots index b270171..4c4e598 160000 --- a/deps/zig-wlroots +++ b/deps/zig-wlroots @@ -1 +1 @@ -Subproject commit b270171f7bfe19eb15c1bb2b20121dd9e7ac32f7 +Subproject commit 4c4e598445a7c4143c5d3650d54c9ffa415119df diff --git a/river/main.zig b/river/main.zig index 3a2d5ee..874b518 100644 --- a/river/main.zig +++ b/river/main.zig @@ -16,17 +16,9 @@ // along with this program. If not, see . const std = @import("std"); -const assert = std.debug.assert; const os = std.os; - const wlr = @import("wlroots"); -// River requires wlroots 0.14 -comptime { - assert(wlr.version.major == 0); - assert(wlr.version.minor == 14); -} - const build_options = @import("build_options"); const c = @import("c.zig");