• en

OCaml 4.13.1

This page describes OCaml 4.13.1, released on Oct 1, 2021. This is a bug-fix release of OCaml 4.13.0.

Configuration options

The configuration of the installed opam switch can be tuned with the following options:

  • ocaml-option-32bit: set OCaml to be compiled in 32-bit mode for 64-bit Linux and OS X hosts
  • ocaml-option-afl: set OCaml to be compiled with afl-fuzz instrumentation
  • ocaml-option-bytecode-only: compile OCaml without the native-code compiler
  • ocaml-option-default-unsafe-string: set OCaml to be compiled without safe strings by default
  • ocaml-option-flambda: set OCaml to be compiled with flambda activated
  • ocaml-option-fp: set OCaml to be compiled with frame-pointers enabled
  • ocaml-option-musl: set OCaml to be compiled with musl-gcc
  • ocaml-option-nnp : set OCaml to be compiled with --disable-naked-pointers
  • ocaml-option-nnpchecker: set OCaml to be compiled with --enable-naked-pointers-checker
  • ocaml-option-no-flat-float-array: set OCaml to be compiled with --disable-flat-float-array
  • ocaml-option-static :set OCaml to be compiled with musl-gcc -static

For instance, one can install a switch with both flambda and the naked-pointer checker enabled with

opam switch create 4.13.1+flambda+nnpchecker --package=ocaml-variants.4.13.1+options,ocaml-option-flambda,ocaml-option-nnpchecker

or with opam 2.1:

opam switch create 4.13.1+flambda -ocaml-variants.4.13.1+options ocaml-option-flambda

Source distribution

  • Source tarball (.tar.gz) for compilation under Unix (including Linux and macOS) and Microsoft Windows (including Cygwin).
  • Also available in .zip format.
  • The official development repo is hosted on GitHub.

Changes

Regression fix

  • #10661, #10662: fix a bug with classes named "row" (Gabriel Scherer, report by Nicolás Ojeda Bär)