Core covers the OCaml compiler and language RFCs.
Core repository summaries
1 active · 1 unchanged
ocaml/ocaml
PermalinkFixes
-
OCaml runtime:
Weak.setnow uses a proper memory barrier, fixing a data race that could publish uninitialised pointers across domains. Merged 2025-08-29; targeted for 5.4 backport. #14209 -
OCaml typechecker: fixes a variance-check bypass where private type aliases could be coerced across unrelated private types via variance annotations. Merged 2025-08-27; cherry-picked to 5.4. #14202
-
OCaml compiler:
Obj.magicand similar%identityprimitives are now recognised as nonexpansive, exempting them from the value restriction. Merged 2025-08-29. #14029 -
OCaml on NetBSD: fixes a missing cast in the
pthread_setname_npcall that broke compilation. Merged 2025-08-27; cherry-picked to 5.4. #14208 -
ocamldebug: inverts
BUILD_PATH_PREFIX_MAPwhen resolving source paths, restoring source-file lookup for dune-built programs. Merged 2025-08-25. #14055
Features
- OCaml stdlib: adds
List.split_with, a generalisedList.splitthat applies a function to each element before splitting. Merged 2025-08-29. #14185
Compatibility and Releases
- OCaml compiler: proposes allowing
-use-runtimetogether with-runtime-variant, removing a prior mutual-exclusion restriction. Opened 2025-08-28; not yet merged. #14211