Files
wasmtime/tests/all
Ulrich Weigand 83007b79e3 Fix access to VMMemoryDefinition::current_length on big-endian (#3013)
The current_length member is defined as "usize" in Rust code,
but generated wasm code refers to it as if it were "u32".
While this happens to mostly work on little-endian machines
(as long as the length is < 4GB), it will always fail on
big-endian machines.

Fixed by making current_length "u32" in Rust as well, and
ensuring the actual memory size is always less than 4GB.
2021-06-23 11:45:32 -05:00
..
2021-06-21 12:26:44 -05:00
2021-06-21 12:26:44 -05:00
2021-06-21 12:26:44 -05:00