Stream: wit-bindgen

Topic: ✔ lowering lists and alignments


view this post on Zulip Scott Waye (Sep 11 2024 at 02:56):

When lowering a list, how should the list itself be aligned, to the alignment of the element type or 8 always?

view this post on Zulip Alex Crichton (Sep 11 2024 at 14:52):

Lists themselves, the pointer/length pair, have alignment 4 on 32-bit

view this post on Zulip Alex Crichton (Sep 11 2024 at 14:52):

the data pointer is then aligned appropriately for the contents of the list

view this post on Zulip Joel Dice (Sep 11 2024 at 14:52):

https://github.com/WebAssembly/component-model/blob/main/design/mvp/CanonicalABI.md#alignment

Repository for design and specification of the Component Model - WebAssembly/component-model

view this post on Zulip Scott Waye (Sep 13 2024 at 20:49):

Thanks, we have a bug then, I will submit the PR.

view this post on Zulip Notification Bot (Sep 13 2024 at 20:49):

Scott Waye has marked this topic as resolved.


Last updated: Nov 22 2024 at 17:03 UTC