- dartaotruntime
dartaotruntime
Use the dartaotruntime
command to run AOT (ahead-of-time) compiled programs,called AOT snapshots.This tool is supported on Windows, macOS, and Linux.
To produce AOT snapshots, use the dart2native
command.
Here’s an example of using dartaotruntime
to run an AOT snapshot named main.aot
:
$ dartaotruntime main.aot
Hello from Dart.
For information on command-line options, use the —help
flag:
$ dartaotruntime --help