Repository activity
40458 results across all weeks
fix(merlin): retain all copy destinations
Preserve all copy-line destinations across compilation modes, including sandboxed copies and source reassignment.
Antonio Nuno Monteiro (@anmonteiro)fix(rocq): honour enabled_if of rocq.theory
Description
Pwilke (@pwilke)fix(rocq): restrict Corelib dependencies to its theories directory
Description
Paolo G. Giarrusso (@pgiarrusso-sl)fix(sandbox): register sandbox directories with the scheduler
Register sandbox directories with the scheduler so they are always deleted on shutdown.
Chizy (@chizy7)fix(spawn): clean up initialized macOS state only
The POSIX spawn initializers return error numbers directly. On failure
Rudi Grinberg (@rgrinberg)fix(trace): disable tracing after write errors
Stop trace writes after an I/O failure without interrupting signal handling.
Ali Caglayan (@Alizter)fix: track private CMIs in OCaml compilation dependencies
Track private CMIs as compilation dependencies so wrapper aliases work in sandboxes and private interface changes rebuild consumers.
Antonio Nuno Monteiro (@anmonteiro)perf(cache): load metadata at its enumerated path
The trimmer already has each metadata file's path from enumeration. Load that path directly instead of reconstructing it from the filename digest and metadata version.
Rudi Grinberg (@rgrinberg)perf(melange): register all-alias dependencies once per context
Register Melange's @all dependencies once per nonempty compilation context.
Antonio Nuno Monteiro (@anmonteiro)perf(melange): tune GC defaults for source compilation
Tune GC defaults for Melange source compilation when its linked runtime supports them, preserving explicit runtime settings.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): batch library-directory construction
Batch Merlin library-directory collection while retaining parallel memoized reads for local source directories.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): defer configuration writes and share INDEX digests
Share context and compilation-mode INDEX digests, and serialize full Merlin configurations only when their write action runs.
Antonio Nuno Monteiro (@anmonteiro)perf(ocaml): enlarge minor heaps for release compiler actions
Revive the August compiler minor-heap experiment: default built-in OCaml compiler actions in the release profile to OCAMLRUNPARAM=s=2M (2,097,152 words, about 16 MiB on 64-bit OCaml). This includes --release and -p builds. Preserve explicit OCAMLRUNPARAM and CAMLRUNPARAM, including empty values and directory-specific overrides.
Rudi Grinberg (@rgrinberg)perf(process): avoid loading entire captures before truncation
Keep small captures on the fd-based read path through a new read_file_if_small helper. It uses the existing file-size check, without a preliminary stat or channel allocation.
Rudi Grinberg (@rgrinberg)perf(source): share Memo specifications across source-tree children
Add Memo.node_staged to create fresh nodes sharing one specification without a memoization table. Use it for physical and virtual source-tree children, preserving independent node identities and deferred virtual-path construction. Leave the singleton root unchanged.
Rudi Grinberg (@rgrinberg)perf: delay major GC marking on small heaps
Set small_heap_limit to 16,777,216 GC-work units for Dune on OCaml 5.5+, delaying major marking on small heaps. This is the nominal 128 MiB threshold on 64-bit OCaml, not a literal memory limit.
Rudi Grinberg (@rgrinberg)perf: lower action priority by default
Default Unix build actions to a relative +5 niceness adjustment using the configuration introduced in #16957. This favors Dune's coordinator when it competes with spawned work for CPU.
Rudi Grinberg (@rgrinberg)perf: tune GC defaults for compiler and ocamldep commands
Set GC defaults for Dune-generated OCaml compiler and ocamldep commands in every build profile:
Rudi Grinberg (@rgrinberg)prototype: add RPC-backed rule plugins
This prototype lets a project define its own stanza-like forms using a small OCaml program. For example, here's a (plugin.greet ...) form that generates a greeting file.
Rudi Grinberg (@rgrinberg)prototype: link ppx drivers with -no-pie on Linux
Description
Louis (@Khady)