summaryrefslogtreecommitdiff
path: root/test/example/c-api-unused-mem.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/example/c-api-unused-mem.txt')
-rw-r--r--test/example/c-api-unused-mem.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/example/c-api-unused-mem.txt b/test/example/c-api-unused-mem.txt
index 56cd3a948..6a4188994 100644
--- a/test/example/c-api-unused-mem.txt
+++ b/test/example/c-api-unused-mem.txt
@@ -1,11 +1,10 @@
(module
- (type $rustfn-0-3 (func))
- (type $__wasm_start (func))
+ (type $none_=>_none (func))
(memory $0 1024 1024)
(export "memory" (memory $0))
(export "main" (func $main))
(export "rust_entry" (func $__wasm_start))
- (func $main (; 0 ;) (type $rustfn-0-3)
+ (func $main (; 0 ;)
(local $0 i32)
(local $1 i32)
(local $2 i64)
@@ -29,7 +28,7 @@
)
)
)
- (func $__wasm_start (; 1 ;) (type $__wasm_start)
+ (func $__wasm_start (; 1 ;)
(i32.store
(i32.const 0)
(i32.const 65535)
@@ -39,12 +38,12 @@
)
148
(module
- (type $0 (func))
+ (type $none_=>_none (func))
(memory $0 1024 1024)
(export "memory" (memory $0))
(export "main" (func $main))
(export "rust_entry" (func $__wasm_start))
- (func $main (; 0 ;) (type $0)
+ (func $main (; 0 ;)
(local $0 i32)
(local $1 i32)
(local $2 i64)
@@ -69,7 +68,7 @@
(unreachable)
)
)
- (func $__wasm_start (; 1 ;) (type $0)
+ (func $__wasm_start (; 1 ;)
(i32.store
(i32.const 0)
(i32.const 65535)