Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
Dune private modules: PR opened to replace include-flag hiding with OCaml's
-Hcompiler flag for private modules, ensuring the compiler always sees hidden modules. #12511 -
Dune cram tests: Feature request to emit a warning when merge conflict markers (
<<<<<<<) are detected in.tfiles, preventing silent test promotion of conflicted content. #12512
Compatibility and Releases
-
Dune
(modes js): Issue closed clarifying that(modes js)is not valid on(library)stanzas; libraries compile to JS without any special declaration. #12503 -
Dune pkg dev tools: Issue opened reporting that
dune tools install ocamllsprebuilds the OCaml compiler from scratch even when the same compiler is already built as a project dependency. #12491
Fixes
-
Dune pkg build time: Merged change removes backtracking from the lockdir parser by selecting portable or non-portable syntax via the
solved_for_platformsfield, reducing null-build time from ~8 s to ~4 s. #12487 -
Dune melange: Merged fix stops emitting empty
.jsfiles for module aliases, eliminating spurious build artifacts. #12464 -
Dune pkg toolchain hash: PR opened to replace
Digest.genericwith a deterministic package hash for toolchain directory names, preventing duplicate toolchain directories and unnecessary compiler rebuilds. #12495 -
Dune pkg fetch errors: Merged change corrects typos and wording in package fetch error messages. #12490
ocaml/merlin
PermalinkFeatures
- Merlin (proposal, PR #1948): adds a
refactoring-extract-regioncommand to the Merlin protocol, allowing an editor to extract an expression into a freshletbinding. Still open; test coverage was extended on 2025-09-26. Not yet merged or released.
ocaml/ocaml-lsp
PermalinkFixes
- ocaml-lsp: Nix build on master resolved;
nix build .#previously failed with a missingyojsondependency injsonrpc. Issue #1544 closed 2025-09-25.
ocaml/odoc
PermalinkFeatures
- odoc: Open proposal to reduce navigation between sibling modules from three clicks to one, similar to Rustdoc's navigation menu. Issue opened 2025-09-28, no resolution yet. (#1386)
ocaml/opam
PermalinkFeatures
opam update (PR #6614, open): Loads only changed .opam files during opam update instead of reloading the full repository. Reduces repository-load time from ~10 s to ~0.01 s on Windows and ~3.5 s to ~1 ms on Unix. Link
OPAMAUTOANSWER (PR #6709, open): Adds an internal OPAMAUTOANSWER environment variable that auto-answers OpamConsole.confirm prompts. Intended for CI and test harnesses; not yet a public API. Link
OpamFile.OPAM API (PR #6679, open): Restructures OpamFile.OPAM.get_extra_files to return file lists directly rather than a directory path, preparing the API for non-directory repository backends. Link
Fixes
Pinned depends on simulated pins (PR #6611, open, queued): Corrects opam ignoring pinned-package dependencies when simulating a pin. Backported to 2.4 in PR #6612. Link
Windows GHA re-run failure (issue #6711, open): opam init --no-git-location fails on re-run with git fetch exit code 128 in GitHub Actions on Windows. Rebuilding the cache does not resolve it. Link
Compatibility and Releases
OpenBSD static binaries (PR #6705, merged): ./configure --enable-static --with-vendored-deps now produces a statically linked opam binary on OpenBSD 7.7, removing runtime dependencies on libc++, libpthread, and libm. Link
Vendored dependency updates (PR #6700, merged): Bumps download-if-missing dependencies to dune 3.20.0, re 1.14.0, and menhir 20250903. Link
cmdliner 2.0.0 constraint (PR #6707, open): Adds upper-bound constraints to exclude cmdliner 2.0.0, which breaks the build. Link
ocsigen/js_of_ocaml
PermalinkFeatures
- Wasm_of_ocaml WASI runtime: proposes
--enable wasiflag producing WASI binaries runnable by Wizard engine;--enable exnrefadds wasmtime compatibility. Open, not merged. (#1831) - Wasm_of_ocaml Stack Switching: proposes effects via the Wasm Stack Switching proposal, requiring Binaryen dev build or v124. Open, not merged. (#1832)
- Js_of_ocaml benchmarking: adds benchmarks comparing Js_of_ocaml and Wasm_of_ocaml output ahead of planned optimizations. Open, not merged. (#2099)