macovedj opened PR #7888 from macovedj:finish-types-without-reflection
to bytecodealliance:main
:
<!--
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
-->As referenced in this PR, the addition of component type reflection support breaks jco's current dependence on
wasmtime-environ
, and since jco doesn't leverage anEngine
, I'm not sure immediately aware of a good way to adapt jco. So this PR just does the simple thing and reintroduces the oldfinish
function the new namefinish_sans_reflection
, right next to the one that was updated for reflection support, though if there's a way I'm missing to adapt jco, then this could be reconsidered.
macovedj requested alexcrichton for a review on PR #7888.
macovedj requested wasmtime-core-reviewers for a review on PR #7888.
guybedford submitted PR review.
macovedj edited PR #7888:
<!--
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
-->As referenced in this PR, the addition of component type reflection support breaks jco's current dependence on
wasmtime-environ
, and since jco doesn't leverage anEngine
, I'm not immediately aware of a good way to adapt jco. So this PR just does the simple thing and reintroduces the oldfinish
function the new namefinish_sans_reflection
, right next to the one that was updated for reflection support, though if there's a way I'm missing to adapt jco, then this could be reconsidered.
macovedj edited PR #7888:
<!--
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
-->As referenced in this PR, the addition of component type reflection support breaks jco's current dependence on
wasmtime-environ
, and since jco doesn't leverage anEngine
, I'm not immediately aware of a good way to adapt jco. So this PR just does the simple thing and reintroduces the oldfinish
function with the new namefinish_sans_reflection
, right next to the one that was updated for reflection support, though if there's a way I'm missing to adapt jco, then this could be reconsidered.
guybedford commented on PR #7888:
Can confirm this gets the tests in the JCO upgrade PR to pass on https://github.com/bytecodealliance/jco/pull/368.
alexcrichton commented on PR #7888:
Thanks! Would it be possible to call
finish
as-is though? I think passing an emptyPrimaryMap
and empty iterators should preserve the same behavior for jco?
macovedj commented on PR #7888:
Thanks! Would it be possible to call
finish
as-is though? I think passing an emptyPrimaryMap
and empty iterators should preserve the same behavior for jco?Yeah it seems you're right. Just pushed to the jco branch and have it pointing at
wasmtime
main with emptyPrimaryMap
and iterators.
macovedj closed without merge PR #7888.
Last updated: Dec 23 2024 at 12:05 UTC