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

Dart documentation inside the compiled kernel / .dill file #59806

Open
LesYampolskyi opened this issue Dec 26, 2024 · 1 comment
Open

Dart documentation inside the compiled kernel / .dill file #59806

LesYampolskyi opened this issue Dec 26, 2024 · 1 comment
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@LesYampolskyi
Copy link

After version [email protected] the compiled .dill file contains dart documentation and its size is increased up to 8mb.

dart compile kernel hello.dart

Open the compiled hello.dill in text editor. All documentation text is appended to the file.

Dart 3.5.4 (stable) (Wed Oct 16 16:18:51 2024 +0000) on "macos_x64"

@dart-github-bot
Copy link
Collaborator

Summary: Dart 3.3.4+ .dill files include embedded Dart documentation, significantly increasing file size (up to 8MB). This is a new behavior impacting compiled kernel files.

@dart-github-bot dart-github-bot added area-front-end Use area-front-end for front end / CFE / kernel format related issues. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-front-end Use area-front-end for front end / CFE / kernel format related issues. triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants