-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.
Description
asiva-desktop[sdk]>out/ReleaseX64/dart compile aot-snapshot /tmp/hello.dart
Could not find an option named "platform".
Usage: dart [<vm-flags>] <command|dart-file> [<arguments>]
Global options:
-h, --help Print this usage information.
-v, --verbose Show additional command output.
--version Print the Dart SDK version.
--enable-analytics Enable anonymous analytics.
--disable-analytics Disable anonymous analytics.
--enable-experiment=<experiment> Enable one or more experimental features.
[extension-methods, non-nullable, nonfunction-type-aliases, triple-shift, variance]
Available commands:
analyze Analyze the project's Dart code.
compile Compile Dart to various formats.
create Create a new project.
format Format Dart source code.
migrate Perform a null safety migration on a project or package.
pub Work with packages.
run Run a Dart file.
test Runs tests in this project.
Run "dart help <command>" for more information about a command.
Error: AOT compilation failed
Generating AOT kernel dill failed!
Doing a help using dart compile aot-snapshot --help does not list any platform option in it.
It is unclear what platform option is to be passed in, why not have some defaults and indicate an AOT snapshot
was generated for that default configuration (e.g: iOS, arm64)
Metadata
Metadata
Assignees
Labels
area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.Use area-dart-cli for issues related to the 'dart' command like tool.