From 574696fdcc02010adeae89146edcd82aafdc8aee Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 3 Nov 2025 22:49:40 +0800 Subject: improve vstool --- xmake/modules/lib/detect/check_cxsnippets.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/modules/lib') diff --git a/xmake/modules/lib/detect/check_cxsnippets.lua b/xmake/modules/lib/detect/check_cxsnippets.lua index ad0310082..ab767faba 100644 --- a/xmake/modules/lib/detect/check_cxsnippets.lua +++ b/xmake/modules/lib/detect/check_cxsnippets.lua @@ -273,8 +273,8 @@ function main(snippets, opt) } -- remove some files - os.tryrm(objectfile) - os.tryrm(binaryfile) + os.tryrm(objectfile, {async = true, detach = true}) + os.tryrm(binaryfile, {async = true, detach = true}) -- trace if opt.verbose or option.get("verbose") or option.get("diagnosis") then -- cgit v1.3.1