Ignore zero-sized types in wasm future-compat warning by alexcrichton · Pull Request #139498 · rust-lang/rust (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for ZSTs behavior isn't changing.

Yeah, that's a fair point, we don't have to warn about them.

But it seems quite concerning that wasm-bindgen would rely on unstable undocumented ABI guarantees without (apparently) any effort to make those things into stable guarantees. We don't guarantee that ZST are skipped in any form for any ABI, and I'm not even aware of an issue someone opened asking for this as a guarantee.