DescriptionAdd Kernel Isolate, second attempt
To run a script with the Dart->Kernel parser, use the -dfe option:
dart --dfe=runtime/tools/kernel-service.dart --packages=/src/d2/sdk/.packages foo.dart
The front end expects a directory named patched_sdk in the build directory (patched_sdk should be a sibling of the directory that contains the dart executable.)
Warning: using a debug build dart executable is very slow. It takes 2 minutes to run Hello World in a debug build, and about 7 seconds in a release build.
BUG=
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/f5ab173c770a8fd26de7c236937cfa3be9035da1
Patch Set 1 #
Total comments: 4
Patch Set 2 : wip #
Total comments: 9
Messages
Total messages: 10 (5 generated)
|