Resolve wasm traps to unit source
This commit is contained in:
@@ -182,6 +182,9 @@ def main() -> int:
|
||||
for needle in required:
|
||||
if needle not in abi_text:
|
||||
errors.append(f"uce.abi missing {needle!r}")
|
||||
module_payloads = customs.get("uce.module", [])
|
||||
if not module_payloads or not module_payloads[-1]:
|
||||
errors.append("missing uce.module custom section")
|
||||
export_names = {name for name, _ in exports}
|
||||
forbidden_exports = {"uce_alloc", "uce_free"}
|
||||
for name in sorted(export_names & forbidden_exports):
|
||||
|
||||
Reference in New Issue
Block a user