summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/nasm.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-21 22:54:29 +0800
committerruki <[email protected]>2025-11-21 22:54:29 +0800
commit0719de2b664bdfc82ce30534ed196bfc81fc072a (patch)
tree653d98166d0cf47bbe48859a91eb6c2c1bb1af32 /xmake/modules/core/tools/nasm.lua
parent35bc14eee3c7568bc45591b435fce4d70c28dca9 (diff)
fix progress output
Diffstat (limited to 'xmake/modules/core/tools/nasm.lua')
-rw-r--r--xmake/modules/core/tools/nasm.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/core/tools/nasm.lua b/xmake/modules/core/tools/nasm.lua
index a7ea1552d..b20678ff6 100644
--- a/xmake/modules/core/tools/nasm.lua
+++ b/xmake/modules/core/tools/nasm.lua
@@ -22,6 +22,7 @@
import("core.base.option")
import("core.project.policy")
import("core.language.language")
+import("utils.progress")
-- init it
function init(self)
@@ -123,7 +124,7 @@ function compile(self, sourcefile, objectfile, dependinfo, flags, opt)
if ok and errdata and policy.build_warnings(opt) then
errdata = errdata:trim()
if #errdata > 0 then
- cprint("${color.warning}%s", errdata)
+ progress.show_output("${color.warning}%s", errdata)
end
end
end