$ rbwasm --mapdir /lib::@ruby_root/lib -o static/ruby.wasm
info: installing wasi-sdk 14.0 into ".rbwasm/downloads/wasi-sdk-14.0"
info: installing rb-wasm-support 0.4.0 into ".rbwasm/downloads/rb-wasm-support-0.4.0"
info: downloading CRuby source into ".rbwasm/build/ruby-1eab6a92fee0ac78"
info: running ./autogen.sh
info: running ./configure
info: running make install
info: generating vfs image
info: running linker
info: running asyncify
$ wasmtime static/ruby.wasm -- -e "require 'rbconfig'; puts RbConfig::CONFIG['platform']" -I/embd-root/lib/ruby/3.1.0 -I/embd-root/lib/ruby/3.1.0/wasm32-wasi
wasm32-wasi
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
kateinoigakukun/rbwasm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published