From 39b0097ed272d320bd3072ccb5291ce917258e9c Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Thu, 3 Sep 2026 10:35:20 +0200 Subject: [PATCH] build: declare x86 fastcall convention explicitly --- experiments/wp24b-gc/main.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/experiments/wp24b-gc/main.zig b/experiments/wp24b-gc/main.zig index 51512e0..7528bdc 100644 --- a/experiments/wp24b-gc/main.zig +++ b/experiments/wp24b-gc/main.zig @@ -12,6 +12,7 @@ const std = @import("std"); const hook = @import("zhook"); const WINAPI = std.builtin.CallingConvention.winapi; +const X86_FASTCALL: std.builtin.CallingConvention = .{ .x86_fastcall = .{} }; const LUA_COLLECT_GARBAGE_ADDR: usize = 0x6F7340; const LUA_CLOSE_ADDR: usize = 0x6F6EF0;