wa-lang.org/wazero@v1.0.2/internal/integration_test/spectest/v1/testdata/exports.json (about) 1 {"source_filename": "./exports.wast", 2 "commands": [ 3 {"type": "module", "line": 3, "filename": "exports.0.wasm"}, 4 {"type": "module", "line": 4, "filename": "exports.1.wasm"}, 5 {"type": "module", "line": 5, "filename": "exports.2.wasm"}, 6 {"type": "module", "line": 7, "filename": "exports.3.wasm"}, 7 {"type": "module", "line": 8, "filename": "exports.4.wasm"}, 8 {"type": "module", "line": 9, "filename": "exports.5.wasm"}, 9 {"type": "module", "line": 10, "filename": "exports.6.wasm"}, 10 {"type": "module", "line": 11, "filename": "exports.7.wasm"}, 11 {"type": "module", "line": 12, "filename": "exports.8.wasm"}, 12 {"type": "module", "line": 13, "filename": "exports.9.wasm"}, 13 {"type": "module", "line": 14, "filename": "exports.10.wasm"}, 14 {"type": "module", "line": 16, "name": "$Func", "filename": "exports.11.wasm"}, 15 {"type": "assert_return", "line": 22, "action": {"type": "invoke", "field": "e", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "43"}]}, 16 {"type": "assert_return", "line": 23, "action": {"type": "invoke", "module": "$Func", "field": "e", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "43"}]}, 17 {"type": "module", "line": 24, "filename": "exports.12.wasm"}, 18 {"type": "module", "line": 25, "name": "$Other1", "filename": "exports.13.wasm"}, 19 {"type": "assert_return", "line": 26, "action": {"type": "invoke", "module": "$Func", "field": "e", "args": [{"type": "i32", "value": "42"}]}, "expected": [{"type": "i32", "value": "43"}]}, 20 {"type": "assert_invalid", "line": 29, "filename": "exports.14.wasm", "text": "unknown function", "module_type": "binary"}, 21 {"type": "assert_invalid", "line": 33, "filename": "exports.15.wasm", "text": "duplicate export name", "module_type": "binary"}, 22 {"type": "assert_invalid", "line": 37, "filename": "exports.16.wasm", "text": "duplicate export name", "module_type": "binary"}, 23 {"type": "assert_invalid", "line": 41, "filename": "exports.17.wasm", "text": "duplicate export name", "module_type": "binary"}, 24 {"type": "assert_invalid", "line": 45, "filename": "exports.18.wasm", "text": "duplicate export name", "module_type": "binary"}, 25 {"type": "assert_invalid", "line": 49, "filename": "exports.19.wasm", "text": "duplicate export name", "module_type": "binary"}, 26 {"type": "module", "line": 56, "filename": "exports.20.wasm"}, 27 {"type": "module", "line": 57, "filename": "exports.21.wasm"}, 28 {"type": "module", "line": 58, "filename": "exports.22.wasm"}, 29 {"type": "module", "line": 60, "filename": "exports.23.wasm"}, 30 {"type": "module", "line": 61, "filename": "exports.24.wasm"}, 31 {"type": "module", "line": 62, "filename": "exports.25.wasm"}, 32 {"type": "module", "line": 63, "filename": "exports.26.wasm"}, 33 {"type": "module", "line": 64, "filename": "exports.27.wasm"}, 34 {"type": "module", "line": 65, "filename": "exports.28.wasm"}, 35 {"type": "module", "line": 67, "name": "$Global", "filename": "exports.29.wasm"}, 36 {"type": "assert_return", "line": 71, "action": {"type": "get", "field": "e"}, "expected": [{"type": "i32", "value": "42"}]}, 37 {"type": "assert_return", "line": 72, "action": {"type": "get", "module": "$Global", "field": "e"}, "expected": [{"type": "i32", "value": "42"}]}, 38 {"type": "module", "line": 73, "filename": "exports.30.wasm"}, 39 {"type": "module", "line": 74, "name": "$Other2", "filename": "exports.31.wasm"}, 40 {"type": "assert_return", "line": 75, "action": {"type": "get", "module": "$Global", "field": "e"}, "expected": [{"type": "i32", "value": "42"}]}, 41 {"type": "assert_invalid", "line": 78, "filename": "exports.32.wasm", "text": "unknown global", "module_type": "binary"}, 42 {"type": "assert_invalid", "line": 82, "filename": "exports.33.wasm", "text": "duplicate export name", "module_type": "binary"}, 43 {"type": "assert_invalid", "line": 86, "filename": "exports.34.wasm", "text": "duplicate export name", "module_type": "binary"}, 44 {"type": "assert_invalid", "line": 90, "filename": "exports.35.wasm", "text": "duplicate export name", "module_type": "binary"}, 45 {"type": "assert_invalid", "line": 94, "filename": "exports.36.wasm", "text": "duplicate export name", "module_type": "binary"}, 46 {"type": "assert_invalid", "line": 98, "filename": "exports.37.wasm", "text": "duplicate export name", "module_type": "binary"}, 47 {"type": "module", "line": 105, "filename": "exports.38.wasm"}, 48 {"type": "module", "line": 106, "filename": "exports.39.wasm"}, 49 {"type": "module", "line": 110, "filename": "exports.40.wasm"}, 50 {"type": "module", "line": 111, "filename": "exports.41.wasm"}, 51 {"type": "module", "line": 112, "filename": "exports.42.wasm"}, 52 {"type": "module", "line": 113, "filename": "exports.43.wasm"}, 53 {"type": "module", "line": 114, "filename": "exports.44.wasm"}, 54 {"type": "module", "line": 115, "filename": "exports.45.wasm"}, 55 {"type": "module", "line": 116, "filename": "exports.46.wasm"}, 56 {"type": "module", "line": 117, "filename": "exports.47.wasm"}, 57 {"type": "module", "line": 118, "filename": "exports.48.wasm"}, 58 {"type": "module", "line": 119, "filename": "exports.49.wasm"}, 59 {"type": "module", "line": 120, "filename": "exports.50.wasm"}, 60 {"type": "module", "line": 121, "filename": "exports.51.wasm"}, 61 {"type": "assert_invalid", "line": 126, "filename": "exports.52.wasm", "text": "unknown table", "module_type": "binary"}, 62 {"type": "assert_invalid", "line": 130, "filename": "exports.53.wasm", "text": "duplicate export name", "module_type": "binary"}, 63 {"type": "assert_invalid", "line": 139, "filename": "exports.54.wasm", "text": "duplicate export name", "module_type": "binary"}, 64 {"type": "assert_invalid", "line": 143, "filename": "exports.55.wasm", "text": "duplicate export name", "module_type": "binary"}, 65 {"type": "assert_invalid", "line": 147, "filename": "exports.56.wasm", "text": "duplicate export name", "module_type": "binary"}, 66 {"type": "module", "line": 154, "filename": "exports.57.wasm"}, 67 {"type": "module", "line": 155, "filename": "exports.58.wasm"}, 68 {"type": "module", "line": 159, "filename": "exports.59.wasm"}, 69 {"type": "module", "line": 160, "filename": "exports.60.wasm"}, 70 {"type": "module", "line": 161, "filename": "exports.61.wasm"}, 71 {"type": "module", "line": 162, "filename": "exports.62.wasm"}, 72 {"type": "module", "line": 163, "filename": "exports.63.wasm"}, 73 {"type": "module", "line": 164, "filename": "exports.64.wasm"}, 74 {"type": "module", "line": 165, "filename": "exports.65.wasm"}, 75 {"type": "module", "line": 166, "filename": "exports.66.wasm"}, 76 {"type": "module", "line": 167, "filename": "exports.67.wasm"}, 77 {"type": "module", "line": 168, "filename": "exports.68.wasm"}, 78 {"type": "module", "line": 169, "filename": "exports.69.wasm"}, 79 {"type": "module", "line": 170, "filename": "exports.70.wasm"}, 80 {"type": "assert_invalid", "line": 175, "filename": "exports.71.wasm", "text": "unknown memory", "module_type": "binary"}, 81 {"type": "assert_invalid", "line": 179, "filename": "exports.72.wasm", "text": "duplicate export name", "module_type": "binary"}, 82 {"type": "assert_invalid", "line": 188, "filename": "exports.73.wasm", "text": "duplicate export name", "module_type": "binary"}, 83 {"type": "assert_invalid", "line": 192, "filename": "exports.74.wasm", "text": "duplicate export name", "module_type": "binary"}, 84 {"type": "assert_invalid", "line": 196, "filename": "exports.75.wasm", "text": "duplicate export name", "module_type": "binary"}]}