Skip to content

ml_sources: index dune files under group roots - #13100

Merged
anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:anmonteiro/ml-sources-consider-child-dirs
Dec 30, 2025
Merged

anmonteiro merged 1 commit into
ocaml:mainfrom
anmonteiro:anmonteiro/ml-sources-consider-child-dirs

Conversation

@anmonteiro

Copy link
Copy Markdown
Collaborator

No description provided.

@anmonteiro
anmonteiro requested a review from rgrinberg December 29, 2025 05:05
@anmonteiro
anmonteiro force-pushed the anmonteiro/ml-sources-consider-child-dirs branch 2 times, most recently from d7a0244 to 80cd91a Compare December 29, 2025 10:06
@anmonteiro
anmonteiro force-pushed the anmonteiro/ml-sources-consider-child-dirs branch from 80cd91a to 41661d5 Compare December 29, 2025 20:23
@anmonteiro
anmonteiro force-pushed the anmonteiro/ml-sources-consider-child-dirs branch from 41661d5 to 41d655f Compare December 30, 2025 05:33
@anmonteiro
anmonteiro merged commit b88a060 into ocaml:main Dec 30, 2025
anmonteiro added a commit that referenced this pull request Dec 30, 2025
depends on #13100 and #13103

### Summary:

- `Ml_sources` now indexes the `ocamllex` stanzas and deduces the
targets based on that
- Dune records the modules that are generated by `ocamllex` such that we
can query their source information when generating corresponding rules.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@Alizter Alizter added this to the 3.22.0 milestone Jul 9, 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.

3 participants