summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-04-07 00:55:09 +0800
committerruki <[email protected]>2023-04-07 00:55:09 +0800
commit383d68f4015b5906db0396adfe4ef3c3875298b2 (patch)
tree716a091a647d291c709a5f53608a8f886936b26d
parent70200e67d717c4b04d792ae61d297e454d09aef6 (diff)
add os.is_arch
-rw-r--r--xmake/core/sandbox/modules/os.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua
index b935f47fb..85ee61a64 100644
--- a/xmake/core/sandbox/modules/os.lua
+++ b/xmake/core/sandbox/modules/os.lua
@@ -39,6 +39,10 @@ sandbox_os.host = os.host
sandbox_os.arch = os.arch
sandbox_os.subhost = os.subhost
sandbox_os.subarch = os.subarch
+sandbox_os.is_host = os.is_host
+sandbox_os.is_arch = os.is_arch
+sandbox_os.is_subhost = os.is_subhost
+sandbox_os.is_subarch = os.is_subarch
sandbox_os.syserror = os.syserror
sandbox_os.strerror = os.strerror
sandbox_os.exit = os.exit