Repository activity
40458 results across all weeks
ci: update Windows OCaml matrix to 5.5.2
Update the MSVC and MinGW opam compiler pins and cache prefixes to OCaml 5.5.2. Complements #16744.
Antonio Nuno Monteiro (@anmonteiro)ctypes: generated C type probes omit local header dependencies
Ctypes' generated C type probe does not depend on local headers. Sandboxing introduced by #16223 exposes this as fatal error: local.h: No such file or directory, including for generated headers and headers included through a preamble.
Ali Caglayan (@Alizter)doc(changes): document that actions must declare the packages they use
Description
Shon Feder (@shonfeder)doc: Add documentation for the package dir field
The dir field was added to the package stanza in #12614. This commit adds documentation for the field.
Puneeth Chaganti (@punchagan)doc: document test and Cram stanza fields
Document missing fields, defaults and version requirements for test/tests and cram, with targeted semantic corrections.
Ali Caglayan (@Alizter)dune cache size and trim stat every cache entry
dune cache size and dune cache trim list every file under db/files/v4 and stat each one, so both take time that grows with the number of cache entries.
Thomas Gazagnaire (@samoht)feat(artifacts): narrow binary lookups to declared dependencies
Description
Puneeth Chaganti (@punchagan)feat(fiber): add finalize_now for synchronous finalizers
Add Fiber.finalize_now for finalizers that return unit rather than a fiber. Run cleanup directly after collecting body errors, avoiding the extra error-collection context used by Fiber.finalize while preserving exception ordering.
Rudi Grinberg (@rgrinberg)feat(foreign): compile assembly sources
This PR adds as new foreign language for assembly sources. When using foreign stubs/archives stanzas with the (language asm) field, dune will recognise sources ending in .s/.S/.asm as assembly sources and pass them to an assembler.
Ali Caglayan (@Alizter)feat(foreign): make unguarded availability warnings fatal
Detect warning support in the existing compiler probe and add -Werror=unguarded-availability-new to standard C/C++ flags in all profiles. Preserve user overrides and avoid duplicating inherited flags, without introducing a new language-version guard.
Ali Caglayan (@Alizter)feat(melange): enable the extension by default in Dune 3.26
Enable Melange 1.0 by default in Dune language 3.26, preserving explicit declarations and older-language behavior.
Antonio Nuno Monteiro (@anmonteiro)feat(pkg): support workspace solver environment overrides
Add workspace_solver_env overrides and explicit workspace/dependency bindings in lock metadata. Consolidate environment resolution, metadata handling, and validated loading.
Ali Caglayan (@Alizter)feat(ppx): add a compilation-mode cookie
Pass the OCaml or Melange target to PPX rewriters through a compilation-mode cookie for (lang dune 3.26) and later.
Antonio Nuno Monteiro (@anmonteiro)feat(rpc): Show the number of jobs when building over RPCs.
Description
mefyl (@mefyl)feat(rpc): Show the progress when building over RPCs.
Description
mefyl (@mefyl)fix(action-plugin): lend job slots while building dependencies
Dynamic actions currently retain their scheduler reservation while waiting for dependencies. At -j 1, a dependency that needs another subprocess cannot start, so the build deadlocks.
Rudi Grinberg (@rgrinberg)fix(build): use the context stdlib for configuration scripts
Run the SHA/LMDB flag generators and setup-defaults configuration script with
Ali Caglayan (@Alizter)fix(config): fall back when a concurrency probe cannot spawn
When a CPU-count command such as nproc cannot be spawned, try the next detection command instead of retrying the same command indefinitely.
Rudi Grinberg (@rgrinberg)fix(ctypes): reuse foreign compilation arguments for type probes
Depends on #16836 (reproduction).
Ali Caglayan (@Alizter)fix(melange): preserve staged PPX emission dependencies
Preserve staged PPX configuration when discovering Melange JavaScript emission dependencies, including declared preprocessing inputs.
Antonio Nuno Monteiro (@anmonteiro)