rustwasm / walrus

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

Support the Tail Call Proposal #272

Closed CryZe closed 1 month ago

CryZe commented 2 months ago

This adds support for the Tail Call proposal.

guybedford commented 2 months ago

Thanks for posting, let me know when it is ready to review with tests and I'd be happy to approve and release further.

CryZe commented 1 month ago

I added roundtrip tests for both instructions. I'm not sure if this is sufficient or if you are looking for more tests. The test infrastructure also seems a bit confusing, so I wasn't entirely sure on how to make it fully work and what tests are generally needed here.

CryZe commented 1 month ago

Nice, thank you :)