Change WASM_ANYREF to WASM_EXTERNREF (#3426)
wasm-c-api wasm.h had changed WASM_ANYREF to WASM_EXTERNREF, we had better change it in WAMR also: https://github.com/WebAssembly/wasm-c-api/blob/2ce1367c9d1271c83fb63bef26d896a2f290cd23/include/wasm.h#L185
This commit is contained in:
@@ -61,7 +61,7 @@ class BasicTestSuite(unittest.TestCase):
|
||||
|
||||
def test_wasm_valkind(self):
|
||||
self.assertEqual(
|
||||
[WASM_I32, WASM_I64, WASM_F32, WASM_F64, WASM_ANYREF, WASM_FUNCREF],
|
||||
[WASM_I32, WASM_I64, WASM_F32, WASM_F64, WASM_EXTERNREF, WASM_FUNCREF],
|
||||
[0, 1, 2, 3, 128, 129],
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user