Repository activity
40458 results across all weeks
fix(nix): restrict the Windows cross binary to one output
The updated buildDunePackage declares out, dev, man, and doc outputs. Our custom cross installer only installs bin/dune.exe and skips fixup, so Nix rejects the otherwise successful build for missing outputs. Declare only out for this binary-only derivation.
Ali Caglayan (@Alizter)fix(odoc): avoid instantiating libs when generating rules
Description
Puneeth Chaganti (@punchagan)fix(promote): fix install file race condition
Description
Shon Feder (@shonfeder)fix(rpc-lwt): tolerate disconnected sockets during channel close
When Dune disconnects from a rule plugin, closing the plugin’s output channel can raise ENOTCONN from shutdown(SHUT_WR), notably on macOS. Treat this as an already-disconnected peer while preserving descriptor cleanup and reporting other shutdown errors.
Rudi Grinberg (@rgrinberg)fix(scheduler): preserve workspace cache on terminal hangup
Handle SIGHUP through the normal scheduler shutdown path, alongside SIGINT and SIGTERM. This lets exit hooks persist the workspace database instead of losing completed rule records after a terminal hangup.
Rudi Grinberg (@rgrinberg)fix(spawn): clean up initialized macOS state only
The POSIX spawn initializers return error numbers directly. On failure
Rudi Grinberg (@rgrinberg)fix(stdune): bootstrap with OxCaml ox15
Inherit the standard-library declarations for Either, Result, and Seq instead of restating constructor representations that changed in OxCaml 5.4.0-ox15. Include Either in the shared imports to preserve unqualified constructor access and keep the shared aliases equal to the standard-library types.
Ali Caglayan (@Alizter)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(melange): register all-alias dependencies once per context
Register Melange's @all dependencies once per nonempty compilation context.
Antonio Nuno Monteiro (@anmonteiro)perf(melange): reuse compiler GC defaults for source compilation
Reuse #16914's minor-heap and major-GC defaults for Melange source compilation, preserving explicit runtime settings.
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(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(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: 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: building dune with dune pkg
Here is the prototype branch for in&out.
Ali Caglayan (@Alizter)prototype: link ppx drivers with -no-pie on Linux
Description
Louis (@Khady)refactor(digest): share missing-path and broken-symlink classification
Extract Digest_result.stat to share missing-file and broken-symlink classification between digest refresh and digest-cache diagnostics. The helper only reads metadata; callers retain their existing handling of other filesystem errors.
Rudi Grinberg (@rgrinberg)