mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 09:21:35 +00:00
Fix imported memory fallback and add common stdlib imports to loader
This commit is contained in:
@ -59,3 +59,6 @@ assert.strictEqual(fn(2), 4);
|
||||
// should be able to create a new function and call it from WASM
|
||||
ptr = module.newFunction(module.varadd);
|
||||
assert.strictEqual(module.calladd(ptr, 2, 3), 5);
|
||||
|
||||
// should be able to use trace
|
||||
module.dotrace(42);
|
||||
|
Reference in New Issue
Block a user