From: "rkh (Konstantin Haase)" Date: 2022-05-23T11:01:37+00:00 Subject: [ruby-core:108657] [Ruby master Misc#18761] provide an example wasm project Issue #18761 has been updated by rkh (Konstantin Haase). grosser (Michael Grosser) wrote: > Neither the release notes nor the wasm/README.md include any runnable examples. > Please provide a docker image that can be used to generate a wasm binary (even if it's just "hello world"), > to show how this is supposed to work. I assume the final release will have an official .wasm file that ships with it. Note that the current approach isn't to compile Ruby scripts to wasm, but to compile CRuby itself to wasm and use WASI or a custom interface to run Ruby code (ie, the Ruby code is sent as source code to the wasm binary). You can find pre-compiled wasm files on GitHub: https://github.com/ruby/ruby.wasm/releases ---------------------------------------- Misc #18761: provide an example wasm project https://bugs.ruby-lang.org/issues/18761#change-97700 * Author: grosser (Michael Grosser) * Status: Open * Priority: Normal * Assignee: katei (Yuta Saito) ---------------------------------------- Neither the release notes nor the wasm/README.md include any runnable examples. Please provide a docker image that can be used to generate a wasm binary (even if it's just "hello world"), to show how this is supposed to work. -- https://bugs.ruby-lang.org/ Unsubscribe: