mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
4c135c298a
This reverts commit 25559ed077.
Reason for revert: broken in AOT mode.
@pragma('vm:entry-point') placed on a function only instructs
the compiler to retain the function itself, but does not tell
compiler to generate and retain tear-off for this function.
In this PR _runMainZoned was marked as an entry-point but C++
code was trying to tear it off and use a closure, instead of
invoking it directly, which is not supported.
Flutter Common
The bottom of the dependency graph for Flutter. Useful for static constants. Please don't put too much in here.