Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 612 Bytes
title description toc
dartaotruntime
Command-line tool for running AOT-compiled snapshots of Dart code.
false

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
You can’t perform that action at this time.