File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22
33- feat: Allow overriding client environment with Dart define
44- fix: Searching parent directories for a ` pubspec.yaml ` file always halts now
5+ - fix: Only cross-compile with non-Flutter Dart SDKs
56- chore: Update dependencies
67
78## 1.0.13
Original file line number Diff line number Diff line change @@ -251,7 +251,10 @@ class Sdk {
251251
252252 /// Whether or not the current SDK supports cross-compilation.
253253 bool get supportsCrossCompilation {
254- return version >= _crossCompilationVersion;
254+ return version >= _crossCompilationVersion &&
255+ // TODO(dnys1): The version of `dart` bundled with the Flutter SDK leads
256+ // to VM snapshot errors when cross-compiling, so we don't support it.
257+ sdkType == SdkType .dart;
255258 }
256259}
257260
You can’t perform that action at this time.
0 commit comments