Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michaelRichards99 opened this issue Aug 18, 2022 · 0 comments
Open
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run'

Comments

@michaelRichards99
Copy link
Contributor

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.

@michaelRichards99 michaelRichards99 added area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run' labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-cli Use area-dart-cli for issues related to the 'dart' command like tool. dart-cli-run Issues related to 'dart run'
Projects
None yet
Development

No branches or pull requests

1 participant