From 0bfc6ac0e22d40fb2c3c41dd4357c16ad0934e3b Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 30 Jan 2021 16:52:19 +0800 Subject: improve zig toolchain --- xmake/toolchains/zig/xmake.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xmake/toolchains/zig/xmake.lua b/xmake/toolchains/zig/xmake.lua index b22d771f4..3be2fdf45 100644 --- a/xmake/toolchains/zig/xmake.lua +++ b/xmake/toolchains/zig/xmake.lua @@ -25,9 +25,6 @@ toolchain("zig") set_homepage("https://ziglang.org/") set_description("Zig Programming Language Compiler") - -- mark as standalone toolchain - set_kind("standalone") - -- on check on_check(function (toolchain) import("lib.detect.find_tool") @@ -40,7 +37,7 @@ toolchain("zig") end local zig = get_config("zc") if not zig then - zig = find_tool("zig", {paths = paths}) + zig = find_tool("zig", {force = true, paths = paths}) if zig and zig.program then zig = zig.program end -- cgit v1.3.1