Skip to content

Conversation

@alexcrichton
Copy link
Member

This commit changes the ABI for variants such as union { f32, f64 }
which in the prior version of the canonical ABI would look like i32 f64 but with the current canonical ABI draft it would instead look like
i32 i64. The previous unify function is updated to the new name used
in the canonical ABI explainer, join, the contents are modified, and
one form of bitcast was removed as a result.

Additionally I updated the bless'd output for wasmlink to ensure
everything has newlines at the end since I was getting some otherwise
odd changes locally. This is hopefully a one-time change for those
baselines.

This commit changes the ABI for variants such as `union { f32, f64 }`
which in the prior version of the canonical ABI would look like `i32
f64` but with the current canonical ABI draft it would instead look like
`i32 i64`. The previous `unify` function is updated to the new name used
in the canonical ABI explainer, `join`, the contents are modified, and
one form of bitcast was removed as a result.

Additionally I updated the bless'd output for `wasmlink` to ensure
everything has newlines at the end since I was getting some otherwise
odd changes locally. This is hopefully a one-time change for those
baselines.
@alexcrichton alexcrichton mentioned this pull request Apr 20, 2022
21 tasks
@alexcrichton alexcrichton merged commit a51f4f8 into bytecodealliance:main Apr 20, 2022
@alexcrichton alexcrichton deleted the change-variant-join branch April 20, 2022 22:01
willemneal pushed a commit to theahaco/wit-bindgen that referenced this pull request May 31, 2022
This commit changes the ABI for variants such as `union { f32, f64 }`
which in the prior version of the canonical ABI would look like `i32
f64` but with the current canonical ABI draft it would instead look like
`i32 i64`. The previous `unify` function is updated to the new name used
in the canonical ABI explainer, `join`, the contents are modified, and
one form of bitcast was removed as a result.

Additionally I updated the bless'd output for `wasmlink` to ensure
everything has newlines at the end since I was getting some otherwise
odd changes locally. This is hopefully a one-time change for those
baselines.
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