Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions crates/wasmparser/src/validator/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2770,6 +2770,8 @@ impl ComponentState {
false => ValType::I32,
},
// Backwards compatibility: Assume `i32` memory if none was specified.
// FIXME(#2503): The spec requires `memory` if `realloc` is specified, but this
// may break existing code.
None => ValType::I32,
};
let ty_id = self.core_function_at(realloc_idx, offset)?;
Expand Down
Loading