Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This code assumes that the Dirent structure has the same memory layout on the host (Rust code) as in wasm code. This is not true if the host is big-endian, as wasm is always little-endian. Fixed by always byte-swapping Dirent fields to little-endian before passing them on to wasm code.
- Loading branch information