Skip to content

Commit

Permalink
Use AOT snapshot of kernel_worker
Browse files Browse the repository at this point in the history
  • Loading branch information
a-siva committed Feb 22, 2025
1 parent ee65f5c commit 886fc8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_common/lib/sdk_asset_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class SdkAssetGenerator {
];

_logger.fine('Executing dart ${args.join(' ')}');
final process = await Process.start(sdkLayout.dartPath, args,
final process = await Process.start(sdkLayout.dartAotRuntimePath, args,
workingDirectory: sdkLayout.sdkDirectory);

final output = <String>[];
Expand Down
2 changes: 1 addition & 1 deletion test_common/lib/test_sdk_layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class TestSdkLayout {
sdkLayout.sdkDirectory,
'bin',
'snapshots',
'kernel_worker.dart.snapshot',
'kernel_worker_aot.dart.snapshot',
),
devToolsDirectory: p.join(
sdkLayout.sdkDirectory,
Expand Down

0 comments on commit 886fc8b

Please sign in to comment.