Skip to content

Support application snapshots in Dart 2 mode #33176

Closed
@nex3

Description

@nex3

It looks like the VM currently doesn't support application snapshots in Dart 2 mode. Given a file test.dart, when I run

$ dart --preview-dart-2 --snapshot=test.dart.snapshot --snapshot-kind=app-jit test.dart
$ dart --preview-dart-2 test.dart.snapshot

it prints "Missing root library" and exits with code 255. I've tested this with Dart 2.0.0-dev.55.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.customer-dart-sasscustomer-pubtype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions