Tools covers builds, package management, editors, documentation and JavaScript compilation.
Tools repository summaries
6 active · 3 unchanged
ocaml/dune
PermalinkFeatures
-
Dune OxCaml parameterized libraries: Merged detection of the
parameterised_modulescompiler config flag and exposure of theoxconfig parameter. The feature requires OxCaml; standard OCaml is unaffected. (#12393, #12236) -
Dune RPC formatting: Merged support for formatting dune files via RPC while the watch server is running. Enables editor integrations to format without stopping the build. (#12064)
-
Dune TUI: Open PR adds horizontal mouse scrolling to the scrollbox widget, making large messages easier to view. Tested with a trackpad. (#12386)
Fixes
-
Dune pkg compiler cache: Since 3.20.0,
dune buildrebuilds the OCaml compiler on every run because the toolchain is non-relocatable. Workaround: avoiddune clean; userm -rf _build/defaultinstead. (#12390) -
Dune pkg lock:
dune pkg lockcan select packages requiring a newer dune language version than the running dune, causing build failures. Reported withdune-configurator.3.20.1under dune 3.19.1. (#12381)
Compatibility and Releases
-
Dune 3.20.2: Released with fixes for jsoo separate compilation with
modules_without_implementation,runtest-jsdependency resolution, empty.cram.test.tdirectory cleanup, and Cygwin bootstrap. (release) -
Dune pkg lock directories: Open WIP PR copies lock directories into the build folder before package rules. Prerequisite for moving lock dirs to
_buildby default, reducing worktree pollution. (#12394) -
Dune documentation: Merged an "edit on GitHub" button on all documentation pages, linking to the main branch. Lowers the barrier for community doc contributions. (#12398)
ocaml/merlin
PermalinkFeatures
- Merlin (proposal, PR #1951): adds a
locate_type_multiquery returning a tree of identifier locations for compound types (e.g.a -> (b * c)), extending the existinglocate_typewhich only resolves top-levelTconstrnames. Opened by @liam923 for VSCode "Go to Type Definition" support; still open, not merged.
ocaml/ocaml-lsp
PermalinkFixes
ocaml-lsp v1.23.0: hover on method calls returns "No information available" with OCaml 5.3.0. Reported in issue #1552; type-enclosing yields the correct type.
ocaml/odoc
PermalinkFixes
- Odoc 3.1.0: Open issue reports that
odoc_driverresolves relative page links (e.g.{{!page-index}}) to a library-generated page rather than the.mldfile, unlikedune build @doc. No fix merged yet. #1384
ocaml/opam
PermalinkFeatures
opam update (PR #6614, open): Loads only changed .opam files during opam update instead of the full repository. Reduces update time from ~10 s to ~0.01 s on Windows and ~3.5 s to 1 ms on Unix. Link
opam OCaml 5.5 support (PR #6670, open): Adds build and test-matrix support for the OCaml 5.5 beta. Queued behind other pending changes. Link
OpamHash.check_string (PR #6661, merged): Adds a check_string function to the OpamHash module, extracted from the larger pkg:opamfile fix. Link
Compatibility and Releases
opam lock file enrichment (issue #6668, open): Proposes embedding a hash of each .opam file in lock files so CI can detect same-version metadata changes. Marked as an opam 3.0 design item. Link
Fixes
opam remove --force (PR #6672, open): Prevents opam remove --force from executing removal commands in the current working directory. Fixes #6570. Link
pkg:opamfile computation (PR #6659, open): Corrects the pkg:opamfile variable so its value matches the documented specification. Fixes #5346. Link
0install solver on Windows (issue #6674, open): The default builtin-0install solver installs mingw-w64-shims and an extra C compiler that builtin-mccs+glpk does not, producing inconsistent dependency sets. Link
flexlink missing on Windows (issue #6669, open): A fresh opam 2.4.1 install on Windows 11 leaves flexlink.exe absent, causing all native linking to fail. opam switch reinstall restores the binary. Link
ocsigen/js_of_ocaml
PermalinkFeatures
-
js_of_ocaml (wasm): Merged number unboxing within functions (#2069). Avoids boxing numeric values that are never used as boxed, speeding up benchmarks such as almabench and fft.
-
js_of_ocaml (wasm): Opened number unboxing across function calls (#2101). Extends the within-function unboxing to propagate unboxed numbers through call boundaries.
-
js_of_ocaml (wasm): Opened exception optimisation (#2098). Aims to reduce the cost of exception handling in the Wasm backend.
-
js_of_ocaml runtime: Opened direct access to runtime-exported values (#2086). Addresses #177; Wasm compatibility still under review.
Fixes
Compatibility and Releases
- js_of_ocaml (wasm): Opened tightening of Wasm primitive type signatures (#2100). Makes the types of several runtime primitives more precise, which may affect code that pattern-matches on those values.