wasm/README.md: Add a note about the Ruby built for wasm. [ci skip] #6707
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello,
I would like to update the current document about wasm, WebAssembly. Because I needed extra info to explain to other people that "the WASI feature only works with the WebAssembly runtime, but can't be used like normal Ruby without the WebAssembly runtime" .
The modified
README.md
is here.The Ruby built for wasm cannot be executed without a WebAssembly runtime.
Because the Ruby's file type is different from the one built normally, that is the
/usr/local/ruby-3.2.0-preview2/bin/ruby
below.Though perhaps this might be for another PR, I think another possible improvement is the following part in the current document - Steps. I have no idea what the
--with-ext=ripper,monitor
is dong.I did see the explanation.
I think adding one more
configure
script example as a typically used command example with the minimalconfigure
options in the document is helpful for users. This could be like this?I just checked the current CI for wasm, and the
--with-ext
is not used.ruby/.github/workflows/wasm.yml
Lines 88 to 97 in b7e8876
So, what do you think?