From f0bbf2b265f4173b011a46ad7178f63b7ac93d6f Mon Sep 17 00:00:00 2001 From: Liam Stevenson Date: Thu, 13 Jun 2024 14:49:16 -0400 Subject: [PATCH] Bump magic numbers --- src/ocaml/typing/magic_numbers.ml | 1 + src/ocaml/utils/config.ml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/ocaml/typing/magic_numbers.ml b/src/ocaml/typing/magic_numbers.ml index f453cc861..e994e4b73 100644 --- a/src/ocaml/typing/magic_numbers.ml +++ b/src/ocaml/typing/magic_numbers.ml @@ -46,6 +46,7 @@ module Cmi = struct | "Caml1999I529" -> Some "5.1.1minus-14" | "Caml1999I530" -> Some "5.1.1minus-16" | "Caml1999I531" -> Some "5.1.1minus-17" + | "Caml1999I532" -> Some "5.1.1minus-18" | "Caml1999I032" -> Some "5.0" | "Caml1999I033" -> Some "5.1" | _ -> None diff --git a/src/ocaml/utils/config.ml b/src/ocaml/utils/config.ml index 339c9f08b..a00ac1a0f 100644 --- a/src/ocaml/utils/config.ml +++ b/src/ocaml/utils/config.ml @@ -32,28 +32,28 @@ let version = Sys.ocaml_version let flambda = false -let exec_magic_number = "Caml1999X531" +let exec_magic_number = "Caml1999X532" (* 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 *) - "Caml1999I531" -and cmo_magic_number = "Caml1999O531" -and cma_magic_number = "Caml1999A531" + "Caml1999I532" +and cmo_magic_number = "Caml1999O532" +and cma_magic_number = "Caml1999A532" and cmx_magic_number = if flambda then - "Caml2021y532" + "Caml2021y533" else - "Caml2021Y531" + "Caml2021Y532" and cmxa_magic_number = if flambda then - "Caml2021z532" + "Caml2021z533" else - "Caml2021Z531" + "Caml2021Z532" and ast_impl_magic_number = "Caml1999M033" and ast_intf_magic_number = "Caml1999N033" -and cmxs_magic_number = "Caml1999D531" -and cmt_magic_number = "Caml1999T531" -and cms_magic_number = "Caml1999S531" +and cmxs_magic_number = "Caml1999D532" +and cmt_magic_number = "Caml1999T532" +and cms_magic_number = "Caml1999S532" let interface_suffix = ref ".mli"