summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorCaleb Kiage <[email protected]>2023-07-14 00:12:58 +0300
committerCaleb Kiage <[email protected]>2023-07-14 00:12:58 +0300
commit3a9712b107411c445007fa1ef1230d92e97eeac3 (patch)
treeb49694695ea4b543b6b010f4afb9ee6404c48496 /xmake/core
parentd09a4327e317bf30370fad134be4c11cd23fb51b (diff)
use tmpfile on msys
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/base/os.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index 4327d9333..a8659d4f2 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -1024,7 +1024,7 @@ function os.nuldev(input)
end
return xmake._NULDEV_INPUT
else
- if os.host() == "windows" and not os.is_subhost("msys", "cygwin") then
+ if os.host() == "windows" then
-- @note cannot cache this file path to avoid multi-processes writing to the same file at the same time
return os.tmpfile()
else