diff options
| author | ruki <[email protected]> | 2025-12-06 23:39:08 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-07 17:15:58 +0800 |
| commit | 6902ff1501858cda51b4a1bf46eb76ffd4022b54 (patch) | |
| tree | b73ede6b240fb00144f7051289c1e9a71c225082 /xmake/modules | |
| parent | 435a3017657b15c08673e1fe239b7f958321e073 (diff) | |
fix return value
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/utils/bin2coff.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/private/utils/bin2coff.lua b/xmake/modules/private/utils/bin2coff.lua index e64162b03..305a1da65 100644 --- a/xmake/modules/private/utils/bin2coff.lua +++ b/xmake/modules/private/utils/bin2coff.lua @@ -52,10 +52,7 @@ function _do_bin2coff(binarypath, outputpath, opt) -- do dump if utils.bin2coff then - local ok, err = utils.bin2coff(binarypath, outputpath, symbol_prefix, arch, basename) - if not ok then - raise(err or "bin2coff: conversion failed") - end + utils.bin2coff(binarypath, outputpath, symbol_prefix, arch, basename) else raise("bin2coff: utils.bin2coff not available (C implementation not compiled)") end |
