Skip to content

Commit

Permalink
Fix encoding for GC rec. (#776)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurydelendik authored Sep 23, 2022
1 parent 1d03334 commit f847265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/wast/src/core/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ impl Encode for Rec<'_> {
return;
}

e.push(0x45);
e.push(0x4f);
self.types.len().encode(e);
for ty in &self.types {
ty.encode(e);
Expand Down

0 comments on commit f847265

Please sign in to comment.