summaryrefslogtreecommitdiff
path: root/xmake/modules/lib
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-03 22:49:40 +0800
committerruki <[email protected]>2025-11-07 15:01:56 +0800
commit574696fdcc02010adeae89146edcd82aafdc8aee (patch)
tree7c2d60f11dc3f0d85ae721e4f293d067af8fd15d /xmake/modules/lib
parentfa6b4470bd96c8f23133b43ba563af1a25c04a11 (diff)
improve vstool
Diffstat (limited to 'xmake/modules/lib')
-rw-r--r--xmake/modules/lib/detect/check_cxsnippets.lua4
1 files changed, 2 insertions, 2 deletions
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