Skip to content

Commit f847265

Browse files
authored
Fix encoding for GC rec. (bytecodealliance#776)
1 parent 1d03334 commit f847265

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/wast/src/core/binary.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ impl Encode for Rec<'_> {
202202
return;
203203
}
204204

205-
e.push(0x45);
205+
e.push(0x4f);
206206
self.types.len().encode(e);
207207
for ty in &self.types {
208208
ty.encode(e);

0 commit comments

Comments
 (0)