Skip to content

cleaning up old SDK's kernel files from the CLI's kernel cache #49707

@michaelRichards99

Description

@michaelRichards99

Users that use pub's precompile pipeline and the new --resident mode with the dart run CLI command keep kernel files in the .dart_tool directory of the package the compilation took place in. These kernel files have a suffix in their names that indicate which version of the SDK they were produced for to prevent any version mismatching.

When the Dart version is upgraded, the old version's kernel files are left in the .dart_tool directory. These should be cleaned up somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.dart-cli-runIssues related to 'dart run'

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions