diff options
| author | ruki <[email protected]> | 2023-03-01 23:15:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-01 23:15:58 +0800 |
| commit | ad7a01c625f1c381374850c280d7c9e87b5ec062 (patch) | |
| tree | eba90b64a84de7b8bb035449c1fd7b07d8534d7e | |
| parent | 1a1b910c141ee7e6416b552b97afd149cf4743b8 (diff) | |
improve toolchain list #3436
| -rw-r--r-- | xmake/actions/config/xmake.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/actions/config/xmake.lua b/xmake/actions/config/xmake.lua index 861c0531d..464afa662 100644 --- a/xmake/actions/config/xmake.lua +++ b/xmake/actions/config/xmake.lua @@ -135,8 +135,12 @@ function _target_values(complete, opt) return import("private.utils.complete_helper.targets")(complete, opt) end +-- the toolchains is too much, so we just show all for menuconf and auto-complete mode. +-- @see https://github.com/xmake-io/xmake/issues/3436 +-- function _toolchain_values(complete, opt) - if complete then + opt = opt or {} + if complete or opt.menuconf then import("core.tool.toolchain") return toolchain.list() end |
