Load deferred import libraries when building the snapshot
Without this, Dart will attempt to resolve deferred imports at runtime, which is not feasible in Flutter
This commit is contained in:
@@ -15,6 +15,7 @@ extern void* kDartIsolateSnapshotBuffer;
|
||||
|
||||
static const char* kDartArgs[] = {
|
||||
"--enable_mirrors=false",
|
||||
"--load_deferred_eagerly=true",
|
||||
};
|
||||
|
||||
void InitDartVM() {
|
||||
|
||||
Reference in New Issue
Block a user