Thicket thicket
ocaml
REPOS 1

Core covers the OCaml compiler and language RFCs.

W07.2026 · 9–15 Febocaml/ocaml

Features

OCaml GC: merged an Idle phase for the major GC, reducing CPU usage when the heap is nearly empty. Cherry-picked to the 5.5 branch. (#14365)

OCaml stdlib: merged String.drop_prefix and String.drop_suffix, returning Some t when the string starts or ends with the given prefix/suffix. (#14487)

OCaml stdlib: open proposal for an Atomic.Array module providing get, set, exchange, compare_and_set, and fetch_and_add on unboxed atomic arrays. (#14380)

Fixes

OCaml compiler: merged a change that prints GADT equations as hints when error messages reference variables introduced by those equations, e.g. Hint: "$0" is a type variable introduced in the equation "a M.t" = "$0 M.t". (#14142)

OCaml compiler: merged a fix so inclusion-check errors reference the original source file rather than a ppx intermediate (e.g. foo.ml instead of foo.pp.ml). (#14205)

OCaml toplevel: merged a fix for Load_path.remove_dir destroying auto_include_callback, which caused open Str to fail after a prior #remove_directory. (#14551)

OCaml bytecode: open fix for the PUSHENVACC4 opcode never being emitted due to a n < 4 vs n <= 4 off-by-one in the peephole pass. (#14534)

OCaml s390x: open fix replacing PLT calls with GOT-indirect calls to prevent the dynamic linker trampoline from corrupting the OCaml fiber stack when using libasmrun_shared.so. (#14547)