1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
zig-wayland-0.2.0
--- a/deps/zig-wayland/src/scanner.zig
+++ b/deps/zig-wayland/src/scanner.zig
@@ -528,7 +528,7 @@
// These interfaces are special in that their version may never be increased.
// That is, they are pinned to version 1 forever. They also may break the
// normally required tree object creation hierarchy.
- const version_locked_interfaces = std.StaticStringMap(void).initComptime(.{
+ const version_locked_interfaces = std.ComptimeStringMap(void, .{
.{"wl_display"},
.{"wl_registry"},
.{"wl_callback"},
river-0.3.5
--- a/river/command.zig
+++ b/river/command.zig
@@ -36,9 +36,8 @@
vertical,
};
-const command_impls = std.StaticStringMap(
+const command_impls = std.ComptimeStringMap(
*const fn (*Seat, []const [:0]const u8, *?[]const u8) Error!void,
-).initComptime(
.{
// zig fmt: off
.{ "attach-mode", @import("command/attach_mode.zig").defaultAttachMode },
|