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

fix(tests): update WAT used in tests #249

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

vados-cosmonic
Copy link
Contributor

@vados-cosmonic vados-cosmonic commented Oct 14, 2023

The excellent pre-existing test suite contains a lot of WAT files as test-cases that seem to have older syntax in them.

The breakage is introduced because the current test suite runs stable, latest and nightly versions of Rust while conducting tests. While the rest of the Wasm toolchain (binaryen, wabt, etc) are hard-coded to versions that should stay compatible with the WAT as they were written, the upstreaming of various changes to Rust itself seems to be causing failures when using the existing WAT for tests.

This PR updates the WAT (mostly operation renaming) that have changed in order to get the [stable|beta|nightly] tests passing again.

The excellent pre-existing test suite contains a lot of WAT files as
test-cases that seem to have older syntax in them.

The breakage is introduced because the current test suite runs stable,
latest and nightly versions of Rust while conducting tests. While the
rest of the Wasm toolchain (binaryen, wabt, etc) are hard-coded to versions that should
stay compatible with the WAT as they were written, the upstreaming of
various changes to Rust itself seems to be causing failures when using
the existing WAT for tests.

This PR updates the WAT (mostly operation renaming) that have changed
in order to get tests running again.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@guybedford
Copy link
Collaborator

Thank you so much @vados-cosmonic, great to see CI green again.

@guybedford guybedford merged commit e424d29 into rustwasm:main Oct 14, 2023
8 checks passed
@vados-cosmonic vados-cosmonic deleted the fix/tests/outdated-wat branch October 14, 2023 22:25
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.

None yet

2 participants