alexcrichton opened PR #9125 from alexcrichton:refactor-with-code-builder
to bytecodealliance:main
:
This commit refactors
wasmtime run
andwasmtime compile
to unconditionally useCodeBuilder
internally. This will in theory help out in the future if more debug-related options are added toCodeBuilder
for example. This refactoring required some changes toCodeBuilder
to be able to support a query about whether the internal bytes were a component or a module. The text format is now converted to binary immediately when supplied rather than during the compilation phase. This in turn required some API changes to make the selection of supporting the text format a compile-time choice of method rather than a runtime value.<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-core-reviewers for a review on PR #9125.
alexcrichton requested fitzgen for a review on PR #9125.
alexcrichton updated PR #9125.
alexcrichton updated PR #9125.
fitzgen submitted PR review.
fitzgen merged PR #9125.
Last updated: Dec 23 2024 at 12:05 UTC