Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial adaptation to automatic wasm32/64 offsets #1035

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

cpetig
Copy link

@cpetig cpetig commented Aug 20, 2024

Very minimal adaptation to the new wasm32/64 offset calculation of wit-parser, the generated code is likely still incorrect as the default Display implementation isn't language independent.

alexcrichton added a commit to alexcrichton/witx-bindgen that referenced this pull request Aug 22, 2024
This notably updates to handle bytecodealliance/wasm-tools#1711 but this
is done in a way that is not intended to replace bytecodealliance#1035 but instead makes
the update "as easy as possible" by just adding calls to
`.{size,align}_wasm32()` where needed. Full support is expected to land
in bytecodealliance#1035.
alexcrichton added a commit to alexcrichton/witx-bindgen that referenced this pull request Aug 22, 2024
This notably updates to handle bytecodealliance/wasm-tools#1711 but this
is done in a way that is not intended to replace bytecodealliance#1035 but instead makes
the update "as easy as possible" by just adding calls to
`.{size,align}_wasm32()` where needed. Full support is expected to land
in bytecodealliance#1035.
This notably updates to handle bytecodealliance/wasm-tools#1711 but this
is done in a way that is not intended to replace bytecodealliance#1035 but instead makes
the update "as easy as possible" by just adding calls to
`.{size,align}_wasm32()` where needed. Full support is expected to land
in bytecodealliance#1035.
@alexcrichton
Copy link
Member

As a heads up I'm updating the wasm-tools deps in #1036 and that'll conflict with this but feel free to discard all the changes from #1036 as my goal there is to just update the dependencies and let this tackle the real change afterwards.

@cpetig
Copy link
Author

cpetig commented Aug 22, 2024

Thank you, I hope #1036 wasn't too much of an effort, I am still working on finishing this.

@alexcrichton
Copy link
Member

No problem!

github-merge-queue bot pushed a commit that referenced this pull request Aug 23, 2024
* Update wasm-tools dependencies

This notably updates to handle bytecodealliance/wasm-tools#1711 but this
is done in a way that is not intended to replace #1035 but instead makes
the update "as easy as possible" by just adding calls to
`.{size,align}_wasm32()` where needed. Full support is expected to land
in #1035.

* More sizing updates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants