Skip to content

ml_sources: index dune files under group roots#13100

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

ml_sources: index dune files under group roots#13100
anmonteiro merged 1 commit intoocaml: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
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@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
30 checks passed
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 <anmonteiro@gmail.com>
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