ruby / TryRuby

This 4th iteration of TryRuby is a website where you can learn the Ruby language.
https://try.ruby-lang.org
MIT License
224 stars 97 forks source link

Hotfix broken integration test for playground #147

Closed kateinoigakukun closed 1 year ago

kateinoigakukun commented 1 year ago

The playground engines load multiple versions of ruby binary, but they uses the same ruby-head-wasm-wasi version for them. The latest @next version of ruby binary is no longer compatible with the older one, so raised the following exception:

WebAssembly.instantiate(): Import #6 module=\"rb-js-abi-host\" function=\"float-to-js-number...(value: float64) -> handle<js-abi-value>\" error: function import requires a callable (Exception)

This is just a hotfix to unblock the CI for now. Follow-up fix will be made soon.