Skip to content

Commit b7e2c70

Browse files
Link FIXME to its issue (bytecodealliance#2504)
* fixme * whitepsace
1 parent 60cf89d commit b7e2c70

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/wasmparser/src/validator/component.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2770,6 +2770,8 @@ impl ComponentState {
27702770
false => ValType::I32,
27712771
},
27722772
// Backwards compatibility: Assume `i32` memory if none was specified.
2773+
// FIXME(#2503): The spec requires `memory` if `realloc` is specified, but this
2774+
// may break existing code.
27732775
None => ValType::I32,
27742776
};
27752777
let ty_id = self.core_function_at(realloc_idx, offset)?;

0 commit comments

Comments
 (0)