summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2017-10-10 22:30:58 +0800
committerruki <[email protected]>2017-10-10 09:05:52 +0800
commit04daf89d3f76d473de14878d0c19b35267993663 (patch)
tree5df4849958ff4a31dd48002aa6ee202d142c6aeb /xmake/core
parent6a282c696b0d14b894b19c3c6df9f1431c70ea51 (diff)
fix archs menu
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/core/platform/platform.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/xmake/core/sandbox/modules/import/core/platform/platform.lua b/xmake/core/sandbox/modules/import/core/platform/platform.lua
index 4421947a4..49e96aa8b 100644
--- a/xmake/core/sandbox/modules/import/core/platform/platform.lua
+++ b/xmake/core/sandbox/modules/import/core/platform/platform.lua
@@ -52,13 +52,7 @@ end
-- get the all architectures for the given platform
function sandbox_core_platform.archs(plat)
-
- -- get it
- local archs = platform.archs(plat)
- assert(archs)
-
- -- ok
- return archs
+ return platform.archs(plat)
end
-- get the current platform configure