Revert "build: assert wlroots version at comptime"

zig-wlroots now has this assert built in

This reverts commit 3392b21aa8.
This commit is contained in:
Isaac Freund 2021-06-24 20:20:26 +02:00
parent 3392b21aa8
commit 505639432e
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11
2 changed files with 1 additions and 9 deletions

2
deps/zig-wlroots vendored

@ -1 +1 @@
Subproject commit b270171f7bfe19eb15c1bb2b20121dd9e7ac32f7 Subproject commit 4c4e598445a7c4143c5d3650d54c9ffa415119df

View File

@ -16,17 +16,9 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>. // along with this program. If not, see <https://www.gnu.org/licenses/>.
const std = @import("std"); const std = @import("std");
const assert = std.debug.assert;
const os = std.os; const os = std.os;
const wlr = @import("wlroots"); 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 build_options = @import("build_options");
const c = @import("c.zig"); const c = @import("c.zig");