Skip to content

Commit

Permalink
Fixes #2943. Use name dartaotruntime instead of `dart_precompiled_r…
Browse files Browse the repository at this point in the history
…untime` (#2973)
  • Loading branch information
sgrekhov authored Nov 11, 2024
1 parent 5b8762f commit 5a073e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utils/test_mode_check.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bool checkResolvedExecutable(CheckFunction function) {

/// Checks that application runs in dart precompiled runtime mode.
bool get isDartkp =>
checkResolvedExecutable(((String s) => s == "dart_precompiled_runtime"));
checkResolvedExecutable(((String s) => s == "dartaotruntime"));

/// Checks that application runs in AOT mode.
bool get isAot => checkResolvedExecutable(((String str) => str != "dart"));

0 comments on commit 5a073e6

Please sign in to comment.