Closed
Description
We currently need wrapper.c
because dart:ffi
does not support passing structs by value yet (#540).
However, we also have other things in wrapper.c
, for example having some process uuid and a stack.
We should investigate whether we can remove those things and do it in Dart. Or document why it is not possible to do it in only Dart + dart:ffi
. (That might tell us we need more features in dart:ffi
.)
Also, we could make a branch for this package which works on the locally built https://dart-review.googlesource.com/c/sdk/+/140290, so that we can merge that brach after structs-by-value lands and is released in stable.