wasm-c-api
wasm-c-api copied to clipboard
C API: u8 in Rust corresponds to unsigned char* in C
Related to https://github.com/wasmerio/wasmer/pull/3597/
Wouldn't it be more appropriate to fix the typedef for byte_t instead?
I thought about it. byte_t is used in different places, and I didn't know if it would impact a lot of the codebase/users.
If you confirm it is fine, I agree with changing.
@rossberg thoughts on this 👆?
Yes, confirmed. Thanks. :)
@dannywillems should we update then the byte_t typedef so this PR can be merged?