Thicket thicket
ocaml
REPOS 2

Core covers the OCaml compiler and language RFCs.

W20.2025 · 12–18 MayCore

Features

OCaml generational stack scanning: Merged 2025-05-18. Minor GC stops scanning at unchanged stack frames; supported on ARM64/Linux, POWER, RISC-V, and ARM64/macOS (~0.5% overhead). #13594

OCaml Sys.runtime_executable: Merged 2025-05-15. New function returns the path of the executing runtime binary, distinct from Sys.executable_name which reports the bytecode image. #13728

OCaml let structure-item in expressions: Open proposal (2025-05-16). Extends the parser to accept structure items (let type, let class, let module type, let external) inside let … in expressions, excluding let bindings and include. #14040

Fixes

OCaml local structure-item attributes: Merged 2025-05-16. Breaking change: attributes on let module, let exception, and let open now attach to the structure item; place them after let to target the let itself. #14009

OCaml Dynlink on Windows: Merged 2025-05-14. Updates FlexDLL to 0.44 with a global lock on the loaded-units list, re-enabling the lib-dynlink-domains test disabled since 5.2. #14032

OCaml ocamltest environment variables: Merged 2025-05-14. Fixes a bug where set on a variable in one parallel test block leaked into sibling blocks, causing "Variable already in the environment" errors. #13961

OCaml Format break-hint placement: Merged 2025-05-16. Corrects misattribution of horizontal content length to the preceding break hint, so b/hov boxes now fit content on the line as specified. #13853

OCaml -short-paths non-termination: Reported 2025-05-15. ocamlopt -short-paths loops indefinitely on recursive modules with cyclic type abbreviations; a cycle-detection fix is proposed but not yet merged. #14036, #14037