blob: 256c3acaa56a38b9a88b1ac1d90beac3dc4859d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
;;; TOOL: run-gen-wasm
;;; ERROR: 1
magic
version
section(TYPE) { count[1] function params[0] results[1] i32 }
section(FUNCTION) { count[1] type[0] }
section(CODE) {
count[1]
func {
locals[decl_count[1] i32_count[1] i32]
get_local 0
}
}
section("name") {
subsection[1]
length[1] ;; length is too short
func_count[1]
index[0]
str("$F0")
}
(;; STDERR ;;;
Error running "wasm-validate":
0000027: error: unable to read u32 leb128: function index
Error running "wasm2wat":
0000027: error: unable to read u32 leb128: function index
;;; STDERR ;;)
|