rustwasm / walrus

Walrus is a WebAssembly transformation library 🌊🐘
https://docs.rs/walrus
Apache License 2.0
405 stars 62 forks source link

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

Closed vados-cosmonic closed 1 year ago

vados-cosmonic commented 1 year ago

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.

guybedford commented 1 year ago

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