From 0458a1e694196c6d0959a96c732b8daf4d30c306 Mon Sep 17 00:00:00 2001 From: bfredl Date: Thu, 7 Aug 2025 11:36:21 +0200 Subject: build(ci): bump zig to 0.15.1 and add more platforms - Bump zig version to 0.15.1 and workaround zig fetch hang (ziglang/zig#24916) - add mac os zig build (currently without luajit, linker failure) - Add windows zig build, currently with very limited testing --- src/gen/gen_api_dispatch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gen/gen_api_dispatch.lua') diff --git a/src/gen/gen_api_dispatch.lua b/src/gen/gen_api_dispatch.lua index b62f1bfeb6..72df33b970 100644 --- a/src/gen/gen_api_dispatch.lua +++ b/src/gen/gen_api_dispatch.lua @@ -171,7 +171,7 @@ local ui_options_text = nil for i = pre_args + 1, #arg do local full_path = arg[i] local parts = {} --- @type string[] - for part in full_path:gmatch('[^/]+') do + for part in full_path:gmatch('[^/\\]+') do parts[#parts + 1] = part end headers[#headers + 1] = parts[#parts - 1] .. '/' .. parts[#parts] -- cgit