Skip to content

Commit

Permalink
fix: zig 0.12.0-dev.3245+4f782d1e8
Browse files Browse the repository at this point in the history
  • Loading branch information
giann committed Mar 12, 2024
1 parent 852760d commit d09b954
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn getBuzzPrefix(b: *Build) []const u8 {
pub fn build(b: *Build) !void {
// Check minimum zig version
const current_zig = builtin.zig_version;
const min_zig = std.SemanticVersion.parse("0.12.0-dev.3074+ae7f3fc3") catch return;
const min_zig = std.SemanticVersion.parse("0.12.0-dev.3245+4f782d1e8") catch return;
if (current_zig.order(min_zig).compare(.lt)) {
@panic(b.fmt("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ current_zig, min_zig }));
}
Expand Down
4 changes: 2 additions & 2 deletions src/FFI.zig
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ fn unionContainer(self: *Self, name: []const u8, container: Ast.full.ContainerDe

const zig_type = ZigType{
.Union = .{
.layout = .Extern,
.layout = .@"extern",
.fields = fields.items,
.decls = decls.items,
.tag_type = null,
Expand Down Expand Up @@ -598,7 +598,7 @@ fn structContainer(self: *Self, name: []const u8, container: Ast.full.ContainerD

const zig_type = ZigType{
.Struct = .{
.layout = .Extern,
.layout = .@"extern",
.fields = fields.items,
.decls = decls.items,
.is_tuple = false,
Expand Down

0 comments on commit d09b954

Please sign in to comment.