Merge remote-tracking branch 'origin/trunk' into fix-nested-imports

This commit is contained in:
Richard Feldman 2022-07-10 08:52:38 -04:00
commit c45e3ec4b4
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
93 changed files with 3258 additions and 4416 deletions

View file

@ -95,8 +95,10 @@ impl<T: FromWasmerMemory + Clone> FromWasmerMemory for RocList<T> {
}
}
impl<T: FromWasmerMemory + Wasm32Sized, E: FromWasmerMemory + Wasm32Sized> FromWasmerMemory
for RocResult<T, E>
impl<T, E> FromWasmerMemory for RocResult<T, E>
where
T: FromWasmerMemory + Wasm32Sized,
E: FromWasmerMemory + Wasm32Sized,
{
fn decode(memory: &wasmer::Memory, offset: u32) -> Self {
let tag_offset = Ord::max(T::ACTUAL_WIDTH, E::ACTUAL_WIDTH);