Skip to content

Move BuildFileCls and RootModule.Info out of codegen to instead be instantiated reflectively#6985

Merged
lihaoyi merged 15 commits intocom-lihaoyi:mainfrom
lihaoyi:no-codegen-buildfilecls
Apr 4, 2026
Merged

Move BuildFileCls and RootModule.Info out of codegen to instead be instantiated reflectively#6985
lihaoyi merged 15 commits intocom-lihaoyi:mainfrom
lihaoyi:no-codegen-buildfilecls

Conversation

@lihaoyi
Copy link
Copy Markdown
Member

@lihaoyi lihaoyi commented Apr 4, 2026

This should help reduce the amount of stuff that we end up codegening and avoid bloating the build.mill compile phase. After this, the Compiling XXX Scala Files message that appears when compiling your build should match the actual number of build files you have, and no longer be a confusingly higher number

@lihaoyi lihaoyi changed the title Move BuildFileCls out of codegen to instead be instantiated reflectively Move BuildFileCls and RootModule.Info out of codegen to instead be instantiated reflectively Apr 4, 2026
@lihaoyi lihaoyi force-pushed the no-codegen-buildfilecls branch from 883207c to d29df12 Compare April 4, 2026 09:41
@lihaoyi lihaoyi merged commit 53fd1ec into com-lihaoyi:main Apr 4, 2026
36 checks passed
@lefou lefou added this to the 1.1.6 milestone Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants