wasm: Ensure TableSection matches ElementSection

This commit is contained in:
Brian Carroll 2022-04-02 15:23:13 +01:00
parent 8620cdf75c
commit b1f15799e3
4 changed files with 157 additions and 44 deletions

View file

@ -91,7 +91,7 @@ impl Align {
if (max_align >= Align::Bytes2) && (offset & 1 == 0) {
return Align::Bytes2;
}
return Align::Bytes1;
Align::Bytes1
}
}