Chase Latta 215cf2b6c4 Add user main trampoline for dart_runner. (flutter/engine#30980)
The dart_runner was invoking main directly which was working fine in JIT
mode but when we switch to aot snapshots invoking main would fail. This
was due to user's not marking their main as a vm entrypoint. Rather than
having user's mark this entrypoint we add a trampoline through the
dart:fuchsia package which is marked as an entrypoint and avoids the
main functions being tree shaken.

BUG: fxbug.dev/64153
2022-01-21 13:31:09 -08:00
..