diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-07-09 08:27:57 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-07-09 08:27:57 +0900 |
| commit | 925f7f4a11341fb950f4f6cd6390187b780ba419 (patch) | |
| tree | 78d1e1717234675da5e9ce36b6d3408cef586085 /examples/rubyvm-on-php-on-wasm | |
| parent | 61d6fdffb161c8b4130eb4982f021fbc0c77c445 (diff) | |
| download | php-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.php | 2 | ||||
| l---------[-rwxr-xr-x] | examples/rubyvm-on-php-on-wasm/php-wasm.wasm | bin | 4863136 -> 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 Binary files differindex 8e91021..4f254d7 100755..120000 --- a/examples/rubyvm-on-php-on-wasm/php-wasm.wasm +++ b/examples/rubyvm-on-php-on-wasm/php-wasm.wasm |
