wit-bindgen
wit-bindgen copied to clipboard
JS host generator uses native endianness when copying "canonical" lists
Currently it just uses slices of the underlying array buffer and doesn't attempt to swap endianness, which means that little-endian integers from wasm will be exposed as native-endian integers in JS, which means that on big-endian this will all be backwards.