You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 08056a9
Browse filesBrowse the repository at this point in the historyBrowse files
Recompile dependents of a changed CMJ in the OCaml build system
Why:
The OCaml build system, now the default `rescript`, recompiled
dependents only when a module's CMI changed. An `@inline(crossModule)`
body lives in the CMJ and can change while the CMI stays the same, so
callers kept the old inlined code, during a build and on the next build
after the dependency was compiled separately. Rust rewatch already
compares CMJ digests since the previous commits.
Publishing a byte-different CMJ now marks dependents dirty like a changed
CMI, and the startup freshness check compares a dependent's CMT with the
later of its dependency's CMI and CMJ.
Review: Does every implementation change now recompile dependents? Only
those whose CMJ bytes change, matching the Rust implementation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kbf3gKsWykY6KH4QSJ9Wrs
Signed-off-by: Christoph Knittel <ck@cca.io>
0 commit comments