diff options
Diffstat (limited to 'examples/rubyvm-on-php-on-wasm')
| -rw-r--r-- | examples/rubyvm-on-php-on-wasm/php-wasm.php | 2 |
1 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 73c0f19..492d91e 100644 --- a/examples/rubyvm-on-php-on-wasm/php-wasm.php +++ b/examples/rubyvm-on-php-on-wasm/php-wasm.php @@ -133,7 +133,7 @@ foreach ($imports as $moduleName => $moduleImports) { } } -$runtime = Runtime::instantiate($store, $module, $linker->resolve($module)); +$runtime = Runtime::instantiate($module, $linker); $codePtr = allocateStringOnWasmMemory($runtime, strtr(PHP_HELLO_WORLD, ['%DIR%' => __DIR__])); $results = $runtime->invoke("php_wasm_run", [$codePtr]); |
