mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-28 22:21:50 +00:00
Initial external decorator for annotating explicit import names; Use file name as default module name in imports; Emit empty memory if there are no static segments; Update TLSF and examples accordingly
This commit is contained in:
15
tests/compiler/external.untouched.wat
Normal file
15
tests/compiler/external.untouched.wat
Normal file
@ -0,0 +1,15 @@
|
||||
(module
|
||||
(type $v (func))
|
||||
(import "external" "foo" (func $external/foo))
|
||||
(import "foo" "bar" (func $external/foo.bar))
|
||||
(import "external" "bar" (func $external/two))
|
||||
(import "foo" "baz" (func $external/three))
|
||||
(import "foo" "var" (global $external/var_ i32))
|
||||
(global $HEAP_BASE i32 (i32.const 8))
|
||||
(memory $0 0)
|
||||
(export "foo" (func $external/foo))
|
||||
(export "foo.bar" (func $external/foo.bar))
|
||||
(export "two" (func $external/two))
|
||||
(export "three" (func $external/three))
|
||||
(export "memory" (memory $0))
|
||||
)
|
Reference in New Issue
Block a user