ea4d2d05350511d5576dd7c40799eb2497e25b92
Currently, we create an immutable `GuestPtr` from `self` and call `as_raw` on it which correctly returns `*const u8`. However, since we're dealing with `GuestPtrMut` I thought it might make more sense to return `*mut u8` directly instead. This will be needed (and will save us from silly casts `*const _ as *mut _`) in plugging in `Iovec<'_>` into `std::io::IoSliceMut` in `fd_read` and `fd_pread` calls.
wiggle
An experimental implementation of bytecodealliance/wig crate which
generates Rust bindings from *.witx that are meant to be more idiomatic
and hopefully allowing for easier polyfilling between different WASI
snapshot versions in the future.
Description
Languages
Rust
77.8%
WebAssembly
20.6%
C
1.3%