Skip to content

simplify dart 2.0 command line execution  #31808

Description

@a-siva

Currently we have numerous options that need to be set when invoking dart 2.0 on the command line.

  1. Need to specify platform binaries location
  2. Need to specify location of the front end snapshot

Would be more ideal if we

  • generated the front end snapshot as part of the sdk
  • linked in the platform binaries into the executable
  • auto located the front end snapshot from the sdk

Would also be ideal if we could generate a core snapshot of platform binaries and linked it
into the executable instead of the platform binaries. This has the issue of figuring out how
we provide the platform binaries to the front end which requires it for incremental compilations.
(the snapshot has the kernel representation of all the core libraries, maybe the interface to the
FE can be changed to allow dart to specify the platform binaries from the snapshot).

Activity

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

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failuresarea-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