On Fri, Nov 25, 2022 at 5:41 PM Jun Aruga (he / him) <jaruga(a)redhat.com> wrote:
The Ruby new version 3.2.0 will start to support Web Assembly. It is
planned to release the official version next month.
https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/
https://github.com/ruby/ruby/blob/master/wasm/README.md
However, I had to build the necessary tools such as WASI-SDK and
wasmtime from the source to build Ruby as WebAssembly binaries at that
time.
Though I wrote about the situation on the email thread "Packaging a
cross-compilation environment (wasi-libc)" in the past.
I am looking forward to seeing the thrived RPM packages in the Web
Assembly! Thanks guys!
If you're interested in getting wasmtime packaged for Fedora, note
that the unclear license situation of some sub-components (i.e. the
WebAssembly System Interface WITX files) has still not been resolved:
https://github.com/bytecodealliance/wasmtime/issues/3912
https://github.com/WebAssembly/WASI/issues/182
Once these issues are resolved, I'll gladly resume work on packaging
wasmtime for Fedora. We should be able to re-use some of the work that
was already done, before it was abandoned due to the unclear legal
situation regarding these files.
Fabio