diff options
| author | ruki <[email protected]> | 2020-12-16 23:45:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-16 23:45:37 +0800 |
| commit | acb182fce388de57b6f7262087e1e27ae3d71b41 (patch) | |
| tree | b7b38ee9ba7e86bc539c0b74a569bea63d36b0c8 /xmake/modules/private/detect/find_platform.lua | |
| parent | 207b4e753a4bed1f75836b78180411442103a9cd (diff) | |
improve to check config
Diffstat (limited to 'xmake/modules/private/detect/find_platform.lua')
| -rw-r--r-- | xmake/modules/private/detect/find_platform.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/private/detect/find_platform.lua b/xmake/modules/private/detect/find_platform.lua index a18849b82..26a09cc0e 100644 --- a/xmake/modules/private/detect/find_platform.lua +++ b/xmake/modules/private/detect/find_platform.lua @@ -110,9 +110,9 @@ end -- find default platform and architecture -- --- @param opt the argument options, e.g. {plat = "", arch = "", global = true} +-- @param opt the argument options, e.g. {plat = "", arch = "", global = true} -- --- @return {plat = "", arch = ""} +-- @return plat, arch -- -- @code -- @@ -142,5 +142,5 @@ function main(opt) cprint("checking for architecture ... ${color.success}%s", plat) end end - return {plat = plat, arch = arch} + return plat, arch end |
