diff --git a/README.md b/README.md index 1f650f94..3613673b 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ A small/lightweight statically typed scripting language written in Zig ## How to build and install -_Latest zig version supported: 0.14.0-dev.2634+b36ea592b_ +_Latest zig version supported: 0.14.0-dev.2643+fb43e91b2_ ### Requirements - Since this is built with Zig, you should be able to build buzz on a wide variety of architectures even though this has only been tested on x86/M1. diff --git a/build.zig b/build.zig index fd3a5eb2..af25f51f 100644 --- a/build.zig +++ b/build.zig @@ -100,7 +100,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.14.0-dev.2634+b36ea592b") catch return; + const min_zig = std.SemanticVersion.parse("0.14.0-dev.2643+fb43e91b2") 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 })); } diff --git a/src/vm.zig b/src/vm.zig index da9bfc3e..f313603e 100644 --- a/src/vm.zig +++ b/src/vm.zig @@ -17,8 +17,7 @@ const JIT = if (!is_wasm) @import("Jit.zig") else void; const Token = @import("Token.zig"); const Reporter = @import("Reporter.zig"); const FFI = if (!is_wasm) @import("FFI.zig") else void; -// TODO: put back .always_tail once https://github.com/ziglang/zig/issues/22474 is fixed -const dispatch_call_modifier: std.builtin.CallModifier = .auto; //if (!is_wasm) .always_tail else .auto; +const dispatch_call_modifier: std.builtin.CallModifier = if (!is_wasm) .always_tail else .auto; const io = @import("io.zig"); const ObjType = _obj.ObjType;