summaryrefslogtreecommitdiff
path: root/wasm/README.md
AgeCommit message (Collapse)Author
2022-11-11wasm/README.md: Add a note about the Ruby built for wasm. [ci skip]Jun Aruga
The Ruby built for wasm cannot be execute without a WebAssembly runtime. ``` $ ruby-wasm32-wasi/usr/local/bin/ruby -e 'puts "a"' bash: ruby-wasm32-wasi/usr/local/bin/ruby: cannot execute binary file: Exec format error ``` 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. ``` $ file ruby-wasm32-wasi/usr/local/bin/ruby ruby-wasm32-wasi/usr/local/bin/ruby: WebAssembly (wasm) binary module version 0x1 (MVP) $ file /usr/local/ruby-3.2.0-preview2/bin/ruby /usr/local/ruby-3.2.0-preview2/bin/ruby: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=a37822085e285c0971159982e7642dda88cea606, for GNU/Linux 3.2.0, with debug_info, not stripped ``` Notes: Merged: https://github.com/ruby/ruby/pull/6707
2022-07-06[wasm] get rid of workaround use of older binaryen and update to latestYuta Saito
We no longer need to use older version of binaryen since the blocker issue has been resolved https://github.com/WebAssembly/binaryen/issues/4401 Notes: Merged: https://github.com/ruby/ruby/pull/6091
2022-03-15wasm/README.md: add manual config.guess download and autoconf stepsYuta Saito
Autoconf distributed with Ubuntu 22.04 is very old and doesn't support WASI as an OS, so add instructions to download the latest config.guess, then run `./autogen.sh`. See also: https://github.com/ruby/chkbuild/commit/2297012efd6364f6fde45f54531b6fc0f0838ec9 Notes: Merged: https://github.com/ruby/ruby/pull/5659
2022-01-19[wasm] wasm/README.md: write a brief instruction to cross buildYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5407