Closed wngr closed 2 years ago
I guess this doesn't matter much, as the wasm stack machine does not support u8 num types. For dart we still use u8.
Well in the unlikely case someone really wants to return a u8 there's nothing stopping them, and they'll run into trouble. Maybe we can lower u8 and u16 as i32 on wasm?
https://github.com/cloudpeers/ffi-gen/pull/33#discussion_r762188059