Skip to content

Commit b79f9b8

Browse files
committed
Update main branch to latest Zig version
1 parent 8db8bea commit b79f9b8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<img align="right" width="160" height="160" src="https://user-images.githubusercontent.com/34946442/152222895-9c8adb22-a22d-4bce-a513-3486ca28bdd5.png"> zig**fsm** is a [finite state machine](https://en.wikipedia.org/wiki/Finite-state_machine) library for Zig.
22

3-
This library supports Zig 0.12.x, 0.13 as well as Zig master. Last test was on Zig version `0.14.0-dev.32+4aa15440c`.
3+
This library supports Zig 0.12.x, 0.13 as well as Zig master. Last test was on Zig version `0.14.0-dev.1694+3b465ebec`
44

55
Use the zigfsm main branch to compile with Zig master. Use the appropriate zig-*version* tag to target a Zig version not compatible with the main branch.
66

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ pub fn GenerateConsecutiveEnum(comptime prefix: []const u8, comptime element_cou
664664
.value = i,
665665
}};
666666
}
667-
return @Type(.{ .Enum = .{
667+
return @Type(.{ .@"enum" = .{
668668
.fields = fields,
669669
.tag_type = std.math.IntFittingRange(0, element_count),
670670
.decls = &[_]std.builtin.Type.Declaration{},

0 commit comments

Comments
 (0)