Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
Dune OxCaml: merged support for js_of_ocaml with parameterised libraries, enabling separate compilation for OxCaml projects. Closes #12564 via #13414.
Dune pkg: open proposal to detect relocatable OCaml compilers (5.5 or the relocatable-compiler meta-package) and build them as regular packages, eliminating toolchain rebuilds. See #13321 and tracking issue #13229.
Dune pkg: three open issues split from #11868 to unify portable lock directory solving into a single SAT pass, default the platform set to the current OS, and enforce cross-platform version consistency (#13645, #13646, #13647).
Compatibility and Releases
Dune 3.21.1: release branch merged to main on 2026-02-19 via #13627. A NetBSD build fix was found to be missing from the vendored LMDB; the changelog is being amended (#13076).
Fixes
Dune C stubs: build rules now declare dependencies on *.h files in the OCaml runtime directory, so switching compilers under the same prefix triggers C stub recompilation. Merged in #13652, fixing #13651.
Dune Rocq: multiple rocq.extraction stanzas in one directory no longer produce a "multiple rules" error. Merged in #13531, fixing #8042.
Dune pkg: the := and =: operators in withenv now add trailing/leading separators when the variable is unset, matching opam's documented semantics. Merged in #13634, fixing #10440.
Dune jsoo: library archive rules are generated on demand per requested configuration instead of upfront for all variants, reducing rule volume and enabling more incremental builds. Merged in #13611.
ocaml/merlin
PermalinkFeatures
-
Merlin
enclosingcommand: open RFC (#2029) proposes a-stopflag soenclosingreturns only nodes spanning a range rather than a single point. Intended to fixlocate-typesandannotate-typeLSP actions that currently select the wrong sub-expression. -
Merlin code actions: open issue (#2037) requests that the "Destruct-line (enumerate-cases, use existing match)" action be available on the
matchtoken itself, not only on individual pattern lines. Currently, jumping to a diagnostic onmatchdoes not surface the fix.
Fixes
-
Merlin signature help: merged (#2032, 2026-02-18) corrects signature-help output when labelled or optional parameters are present in the function being called.
-
Merlin signature help (
let..in): open PR (#2036) addresses incorrect signature-help results forlet..inbindings. CI shows a regression in theissue_fun_nametest; the PR is not yet merged.
ocaml/ocaml-lsp
PermalinkFeatures
- ocaml-lsp (PR #1584): proposes a custom LSP request exposing Merlin's
locate-typesdata, including a compact field-set of all reachable types. Still open; not yet merged.
Fixes
- ocaml-lsp (issue #1588): the "Construct an expression" code action sends the VSCode-specific command
editor.action.triggerSuggest, which Helix and other editors reject. Discussion suggests restricting the action to clients that declare support. Open. - ocaml-lsp (issue #1587): hover does not trigger for
some_classorsuperin class inheritance syntax (e.g.inherit [some_ty] some_class as super). Open.
ocaml/odoc
Permalinkocaml/opam
PermalinkFixes
-
opam (PR #6489, merged): Depexts availability is now computed during
opam update(repository cache reload) instead of on demand. Resolves theopam showslowdown from 2.0.7 to 2.1.0-alpha and aligns depexts support across platforms. -
opam (PR #6860, merged): Adds a regression test confirming
opam switch linkdoes not corrupt an existing local_opamswitch.
Features
- opam (PR #6859, open): Proposes the
opam initshell hook update the switch bin directory in place withinPATHrather than prepending it, preserving the user's original directory ordering. Does not affecteval $(opam env).
Compatibility and Releases
- opam (issue #6857, open): Reports
opam switch linksilently breaking an existing_opamswitch. A comment notes the latest opam version handles this correctly; the issue remains open pending confirmation.
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml variable coalescing (PR #2166): Open proposal to merge variables with disjoint lifespans in generated JavaScript. Reduces V8 stack slots by 74–91% and gzip size by 10–16% on benchmarks. Affects output size and runtime stack pressure for large programs.
-
js_of_ocaml
--build-config/--apply-build-config(PR #2177): Open proposal adding two compiler flags.--build-configprints build-relevant settings as key=value pairs;--apply-build-configoverrides them, taking precedence over other flags. Enables coherent compilation when linking units that must share settings. -
js_of_ocaml Wasm dynlink/toplevel (PR #2187): Open proposal to support dynlink and toplevel execution in the Wasm backend. References existing
compiler/tests-toplevelandtoplevel/examples/lwt_toplevelas test targets. -
js_of_ocaml Wasm native effects (PR #2189): Open proposal to emit native Wasm effects, extending the Wasm backend's capability set.
Fixes
-
js_of_ocaml Wasm string/arraybuffer (PR #2124): Merged 2026-02-17. Optimises string conversion and copy operations to and from
ArrayBufferin the Wasm backend. -
js_of_ocaml Wasm safepoint table (PR #2165): Open workaround for V8 safepoint-table bloat caused by large
array.new_fixedcalls. Introduces a 100-element threshold above which explicit stores replace inline initialisation, reducing safepoint size from 8.5 MB to 435 KB on the PRT benchmark. A Chrome 147 canary commit may make the workaround unnecessary. -
js_of_ocaml stack overflow with menhir parsers (issue #2122): Open bug, updated 2026-02-19. Menhir-generated AArch64 parsers trigger stack overflow in Firefox on macOS with js_of_ocaml 5.5.0; other browsers and platforms work. A fix in PR #2166 did not resolve the Firefox/macOS case.