Semantic Diff

#9448 Keep the rules that fill the platform packages in packages/dune

4 commits

6a468b995b0bad4c1014b64f3e62fd56ab5efa62..pr-9448

10cfd73eb · cknitt + Claude · Nov 27, 2026, 06:22 UTC

Keep the rules that fill the platform packages in packages/dune

compiler/sync held only the dune rules that strip and copy every executable (bsc, rescript, the editor analysis and rescript-tools) into packages/@rescript/<platform>/bin. That is packaging, not compiler code, and "sync" did not say so. The rules now sit next to the packages they fill; (dirs) keeps dune out of the npm packages.

9d24300b1 · cknitt + Claude · Nov 27, 2026, 06:42 UTC

Drop the fallback to tests/dependencies in the benchmarks

The base of this pull request already has tests/fixtures.

c1a4df062 · cknitt + Claude · Nov 27, 2026, 07:29 UTC

Drop the benchmarks' fallback to tests/dependencies again

The base of this pull request already has packages/rescript-react.

96af59706 · cknitt + Claude · Nov 27, 2026, 09:04 UTC

Rebuild through make when packages/dune changes

Make reran dune only for changes in the directories it scans, which covered compiler/sync/dune but not packages/dune, so editing the packaging rules alone left the binaries as they were. The root dune and dune-project, which hold the shared flags, were not tracked either.

Answers the Codex review on #9448.