Skip to content

Commit

Permalink
Update magic numbers for 4.14.1-24
Browse files Browse the repository at this point in the history
  • Loading branch information
goldfirere committed Nov 6, 2023
1 parent 320e261 commit 4cba1ad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions src/ocaml/typing/magic_numbers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ module Cmi = struct
| "Caml1999I511" -> Some "4.14.1-18"
| "Caml1999I512" -> Some "4.14.1-19"
| "Caml1999I513" -> Some "4.14.1-22"
| "Caml1999I514" -> Some "4.14.1-24"
| _ -> None

open Format
Expand Down
22 changes: 11 additions & 11 deletions src/ocaml/utils/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,28 @@ let version = Sys.ocaml_version

let flambda = false

let exec_magic_number = "Caml1999X512"
let exec_magic_number = "Caml1999X513"
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
and cmi_magic_number =
(* When bumping this number, be sure to also update ../typing/magic_numbers.ml *)
"Caml1999I513"
and cmo_magic_number = "Caml1999O513"
and cma_magic_number = "Caml1999A513"
"Caml1999I514"
and cmo_magic_number = "Caml1999O514"
and cma_magic_number = "Caml1999A514"
and cmx_magic_number =
if flambda then
"Caml2021y515"
"Caml2021y516"
else
"Caml2021Y515"
"Caml2021Y516"
and cmxa_magic_number =
if flambda then
"Caml2021z515"
"Caml2021z516"
else
"Caml2021Z515"
"Caml2021Z516"
and ast_impl_magic_number = "Caml1999M031"
and ast_intf_magic_number = "Caml1999N031"
and cmxs_magic_number = "Caml1999D514"
and cmt_magic_number = "Caml1999T513"
and cms_magic_number = "Caml1999S511"
and cmxs_magic_number = "Caml1999D515"
and cmt_magic_number = "Caml1999T514"
and cms_magic_number = "Caml1999S512"

let interface_suffix = ref ".mli"

Expand Down

0 comments on commit 4cba1ad

Please sign in to comment.