aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/rubyvm-on-php-on-wasm
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-09 08:27:57 +0900
committernsfisis <nsfisis@gmail.com>2024-07-09 08:27:57 +0900
commit925f7f4a11341fb950f4f6cd6390187b780ba419 (patch)
tree78d1e1717234675da5e9ce36b6d3408cef586085 /examples/rubyvm-on-php-on-wasm
parent61d6fdffb161c8b4130eb4982f021fbc0c77c445 (diff)
downloadphp-waddiwasi-925f7f4a11341fb950f4f6cd6390187b780ba419.tar.gz
php-waddiwasi-925f7f4a11341fb950f4f6cd6390187b780ba419.tar.zst
php-waddiwasi-925f7f4a11341fb950f4f6cd6390187b780ba419.zip
feat: add examples/compile-php-to-wasm
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm')
-rw-r--r--examples/rubyvm-on-php-on-wasm/php-wasm.php2
l---------[-rwxr-xr-x]examples/rubyvm-on-php-on-wasm/php-wasm.wasmbin4863136 -> 36 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/rubyvm-on-php-on-wasm/php-wasm.php b/examples/rubyvm-on-php-on-wasm/php-wasm.php
index 61fe691..1efb89f 100644
--- a/examples/rubyvm-on-php-on-wasm/php-wasm.php
+++ b/examples/rubyvm-on-php-on-wasm/php-wasm.php
@@ -36,7 +36,6 @@ $hostFuncs = [
makeHostFunc('(i32, i32, i32) -> (i32)', hostFunc__env__invoke_iii(...)),
makeHostFunc('(i32, i32, i32, i32, i32) -> (i32)', hostFunc__env__invoke_iiiii(...)),
makeHostFunc('(i32) -> ()', hostFunc__env__invoke_v(...)),
- makeHostFunc('(i32, i32, i32, i32) -> (i32)', hostFunc__env__invoke_iiii(...)),
makeHostFunc('(i32, i32) -> (i32)', hostFunc__env__invoke_ii(...)),
makeHostFunc('() -> ()', hostFunc__env__abort(...)),
makeHostFunc('(i32) -> ()', hostFunc__env__exit(...)),
@@ -45,6 +44,7 @@ $hostFuncs = [
makeHostFunc('(i32, i32) -> ()', hostFunc__env__invoke_vi(...)),
makeHostFunc('(i32) -> (i32)', hostFunc__env__invoke_i(...)),
makeHostFunc('(i32, i32, i32, i32, i32, i32, i32) -> (i32)', hostFunc__env__invoke_iiiiiii(...)),
+ makeHostFunc('(i32, i32, i32, i32) -> (i32)', hostFunc__env__invoke_iiii(...)),
makeHostFunc('(i32, i32, i32, i32) -> ()', hostFunc__env____assert_fail(...)),
makeHostFunc('(i32, i32, i32, i32, i32) -> ()', hostFunc__env__invoke_viiii(...)),
makeHostFunc('(i32, i32, i32, i32, i32, i32) -> ()', hostFunc__env__invoke_viiiii(...)),
diff --git a/examples/rubyvm-on-php-on-wasm/php-wasm.wasm b/examples/rubyvm-on-php-on-wasm/php-wasm.wasm
index 8e91021..4f254d7 100755..120000
--- a/examples/rubyvm-on-php-on-wasm/php-wasm.wasm
+++ b/examples/rubyvm-on-php-on-wasm/php-wasm.wasm
Binary files differ