summaryrefslogtreecommitdiff
path: root/xmake/modules/private/service/message.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-15 13:43:11 +0800
committerruki <[email protected]>2022-05-15 13:43:11 +0800
commit7cc01191aa786e67e3e35ffd552a6fbfff962182 (patch)
treef6211d84fe457eba6ebd5b4c22939f0f5124b399 /xmake/modules/private/service/message.lua
parent7130b7d34d42b4f544134b1d0aaa66554be055ec (diff)
pass tool info
Diffstat (limited to 'xmake/modules/private/service/message.lua')
-rw-r--r--xmake/modules/private/service/message.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmake/modules/private/service/message.lua b/xmake/modules/private/service/message.lua
index 82ec2e6ff..e4af25945 100644
--- a/xmake/modules/private/service/message.lua
+++ b/xmake/modules/private/service/message.lua
@@ -214,13 +214,17 @@ function new_data(session_id, size, opt)
end
-- new compile command message
-function new_compile(session_id, compiler, flags, sourcename, opt)
+function new_compile(session_id, toolname, toolkind, plat, arch, toolchain, flags, sourcename, opt)
opt = opt or {}
return _new({
code = message.CODE_COMPILE,
session_id = session_id,
token = opt.token,
- compiler = compiler,
+ toolname = toolname,
+ toolkind = toolkind,
+ plat = plat,
+ arch = arch,
+ toolchain = toolchain,
flags = flags,
sourcename = sourcename
})