In #63649 (comment) I wrote:
The wasm-bindgen mismatch could've been avoided, had we validated the call ABI by comparing it with what Clang does, when it was initially implemented (to be clear, I think I dropped the ball here).
Irrespective of what happens to this PR, I think we should do an audit of all our call ABIs, and institute a policy to prevent this from happening again in the future.
cc @rust-lang/compiler @rust-lang/wg-codegen
The context there was that our wasm32 ABI has been wrong since it was added, and wasm-bindgen now relies on the wrong ABI.
I opened this issue so we don't lose track of this, because I'm sure I will.
In #63649 (comment) I wrote:
The context there was that our
wasm32ABI has been wrong since it was added, andwasm-bindgennow relies on the wrong ABI.I opened this issue so we don't lose track of this, because I'm sure I will.