Thicket thicket
ocaml
REPOS 27

W29.2026 · 13–19 JulAll

Dune 3.25 removes Melange extension version 0.1, requiring projects to update to (using melange 1.0). The OCaml compiler now emits stlr for non-atomic stores on arm64, yielding 4–50× speedups on FEAT_LRCPC2 cores, and Dune's digest database records ctime to prevent stale builds after same-size edits.

Features

  • Frame-pointer support is now available on RISC-V (s0/x8 as CFA). Tested on Spacemit X60; works with and without C frame pointers. (#14506, merged)

  • --sandbox-actions now supports sandbox-exec on macOS alongside bubblewrap on Linux. The profile denies writes to the shared cache while preserving normal filesystem access. (#15500, merged)

  • ftruncate, fdatasync, fsync, shutdown, socket, bind, and listen now use io_uring when available, reducing syscalls on the hot path. (#850, merged)

  • js_of_ocaml compile --esm, build-runtime --esm, and link --esm emit .mjs files with named imports/exports instead of IIFE globals. link --esm --bundle produces a single tree-shaken module. (#2402, open, RFC)

Compatibility and Releases

  • Breaking (Dune 3.25): Melange extension version 0.1 is removed. Only (using melange 1.0) is accepted; projects using 0.1 must update their dune-project language version. (#14574, merged)

  • opam 2.6.0~alpha1 released. (#7046)

  • Five compiler releases added to the oxcaml opam repository, including experimental 5.4.0-ox1 and 5.4.0-ox2. 5.2.0minus-39 (Jane 130.106+341) is the recommended release. (#54, merged)

  • New --ignore-available-on flag (and OPAMIGNOREAVAILABLE env var) forces installation of packages whose available constraint is unmet, for compatibility testing. (#6836, merged)

Fixes

  • ocamlopt now emits stlr for non-atomic assignment stores on all arm64 targets, replacing dmb ishld; str. On FEAT_LRCPC2 cores this is 4–50× faster; configure auto-detects and falls back for Cortex-A53/A72. (#14922, merged)

  • The runtime now queries sysconf(_SC_MINSIGSTKSZ) at startup instead of using the compile-time SIGSTKSZ constant. Fixes a fatal error on Alpine 3.24 (musl 1.2.6) with Intel Xeon Platinum 8488C. (#14933, merged)

  • The persistent digest database now records ctime alongside mtime and size. Same-size edits that restore mtime no longer produce stale builds. (#15495, merged)

  • GADT parameter value kinds were taken from the first case only; a caller selecting a different case passed an immediate where a tuple was expected, segfaulting at -O3. The fix joins layouts across all cases. (#6533, open)