Merged OCaml fixes resolve a segfault from stale return addresses after minor-collection promotion of continuations and align major-GC work counters to exclude free blocks from sweep. Open PRs toward RFC 53 add --with-relative-libdir and related configure options for relocatable installations.
Features
OCaml relocatable: Open PRs (#14243–#14246) implementing RFC 53 add --with-relative-libdir, --enable-suffixing, and --enable-runtime-search to configure. Bytecode executables receive version-suffixed names to disambiguate installations.
OCaml include functor: Open proposal (#14177) adds include functor F as a structure item, applying a single-parameter functor to the current module. Multi-parameter functors are rejected with an error.
Dune runtest: Open PR (#12689) adds dune runtest src/of/test.ml to run individual (tests) and (inline_tests) targets by source file path.
opam 2.5: Merged PRs (#6670, #6786) add OCaml 5.5 to the build and test matrix, backported to the 2.5 branch.
Js_of_ocaml Wasm: Open PR (#1831) adds a WASI runtime; wasm_of_ocaml --enable wasi produces Wasm runnable by wasmtime or the Wizard engine.
OxCaml SIMD: Merged PR (#4964) adds float16x8, float16x16, and float16x32 vector types with F16C and FMA intrinsics. All FMA intrinsics map to the 213 instruction form.
Fixes
OCaml runtime: Merged fix (#14337) resolves a segfault when a continuation allocated during caml_callback is promoted by a minor collection and then dropped, leaving a stale return address.
OCaml GC: Merged fixes (#14329, #14336) align major-GC work counters: caml_darken marking counts toward the slice, free blocks are excluded from sweep work, and ephemeron marking drops a quadratic term.
opam macOS sandbox: Merged fix (#4797, #6775) permits writes to /var/folders/ and /var/db/mds/, resolving security find-certificate failures during package builds.
Js_of_ocaml ppx: Merged fix (#2120) restores labelled-argument calls on Js.meth methods broken in 6.2.0.
Compatibility
OCaml Unix C API: Merged deprecation (#14310) of union sock_addr_union and socklen_param_type in favour of struct sockaddr_storage and socklen_t, with a C11 _Generic macro preserving source compatibility.
opam-core: Merged change (#6755, #6756) vendors cmdliner 1.3.0 as OpamCmdliner; downstream library consumers must update references.