Skip to content

VM: report error if input .dill file is missing the sdk and --kernel-binaries was not provided #30151

Description

@peter-ahe-google
$ ./pkg/front_end/tool/fasta compile pkg/front_end/testcases/hello.dart
$ ./xcodebuild/ReleaseX64/dart pkg/front_end/testcases/hello.dart.dill 
$

No output, and no error. It should have printed "Hello, World!"

If I add --compile-sdk it works fine:

$ ./pkg/front_end/tool/fasta compile --compile-sdk=xcodebuild/ReleaseX64/patched_sdk/ pkg/front_end/testcases/hello.dart
$ ./xcodebuild/ReleaseX64/dart pkg/front_end/testcases/hello.dart.dill 
Hello, World!
$ 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions