c7306aaf41
This CL does not yet roll `package:ffi` to use `Allocator`, because that breaks the checked in Dart in Flutter in g3. Instead, this uses the copy of `_CallocAllocator` from `package:ffi` in `calloc.dart` in tests/ffi. New API landed in: https://dart-review.googlesource.com/c/sdk/+/177705 Issue: https://github.com/dart-lang/sdk/issues/44621 Issue: https://github.com/dart-lang/sdk/issues/38721 Change-Id: Iedfc4a11d4606915a324c824372bca643016f5a3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/178994 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Aske Simon Christensen <askesc@google.com>