wasm: fix remaining tests for capacity

This commit is contained in:
Brian Carroll 2022-03-11 19:20:57 +00:00
parent 38b8c45b23
commit ad5da76588
3 changed files with 10 additions and 5 deletions

View file

@ -31,12 +31,12 @@ impl Wasm32Sized for () {
}
impl Wasm32Sized for RocStr {
const SIZE_OF_WASM: usize = 8;
const SIZE_OF_WASM: usize = 12;
const ALIGN_OF_WASM: usize = 4;
}
impl<T: Wasm32Sized + ReferenceCount> Wasm32Sized for RocList<T> {
const SIZE_OF_WASM: usize = 8;
const SIZE_OF_WASM: usize = 12;
const ALIGN_OF_WASM: usize = 4;
}