summaryrefslogtreecommitdiff
path: root/xmake/core/tool/toolchain.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-21 22:39:06 +0800
committerruki <[email protected]>2020-05-21 09:54:38 +0800
commit38b0a926dfdab29c5c1aaeb182bdba6bda5a2970 (patch)
tree36cfd99fc5731a8ca1a83e078880cff888533572 /xmake/core/tool/toolchain.lua
parentf42509d5a1f4b98ef789bcd1a12cc436e3dc43b1 (diff)
improve set_formats
Diffstat (limited to 'xmake/core/tool/toolchain.lua')
-rw-r--r--xmake/core/tool/toolchain.lua8
1 files changed, 2 insertions, 6 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua
index 3644fa8c0..894dfb879 100644
--- a/xmake/core/tool/toolchain.lua
+++ b/xmake/core/tool/toolchain.lua
@@ -272,7 +272,8 @@ function toolchain._apis()
, keyvalues =
{
-- toolchain.set_xxx
- "toolchain.set_toolsets"
+ "toolchain.set_formats"
+ , "toolchain.set_toolsets"
-- toolchain.add_xxx
, "toolchain.add_runenvs"
}
@@ -282,11 +283,6 @@ function toolchain._apis()
"toolchain.on_load"
, "toolchain.on_check"
}
- , dictionary =
- {
- -- toolchain.set_xxx
- "toolchain.set_formats"
- }
}
end