alexcrichton opened PR #14943 from alexcrichton:fixup-some-capi-things to bytecodealliance:main:
This commit is a few changes related to various aborts in the C API. The changes made here are:
Many
wasm.hfunctions are now documented as aborting the process. This is due to the fact thatwasm.hhas not been updated to support wasm proposals like memory64, simd, etc. Alternatives that do not abort aswasmtime_*are recommended or added where possible.Conversion to
Valfor components is now fallible to handle the case of invalid UTF-8 being passed from the host.A minor issue related to async and callbacks was fixed.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton removed the review request for wasmtime-core-reviewers from PR #14943.
alexcrichton requested pchickey for a review on PR #14943.
alexcrichton requested wasmtime-core-reviewers for a review on PR #14943.
alexcrichton updated PR #14943.
github-actions[bot] added the label wasmtime:c-api on PR #14943.
:thumbs_up: pchickey submitted PR review.
alexcrichton added PR #14943 Document, adjust, and refactor some aborts in the C API to the merge queue.
:check: alexcrichton merged PR #14943.
alexcrichton removed PR #14943 Document, adjust, and refactor some aborts in the C API from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC