Skip to content

Commit

Permalink
flambda-backend: Bump magic numbers for 4.14.1-7 (ocaml-flambda#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
gretay-js authored Apr 17, 2023
1 parent 6470400 commit cf82708
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
Binary file modified boot/ocamlc
Binary file not shown.
Binary file modified boot/ocamllex
Binary file not shown.
2 changes: 1 addition & 1 deletion runtime/caml/exec.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct exec_trailer {

/* Magic number for this release */

#define EXEC_MAGIC "Caml1999X502"
#define EXEC_MAGIC "Caml1999X503"

#endif /* CAML_INTERNALS */

Expand Down
26 changes: 13 additions & 13 deletions utils/config.mlp
Original file line number Diff line number Diff line change
Expand Up @@ -99,28 +99,28 @@ let poll_insertion = %%POLL_INSERTION%%
(* When artifacts are incompatible with upstream OCaml, ocaml-jst uses
magic numbers ending in 5xx. (The AST remains
compatible, so use upstream numbers) *)
let exec_magic_number = "Caml1999X502"
let exec_magic_number = "Caml1999X503"
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
and cmi_magic_number = "Caml1999I503"
and cmo_magic_number = "Caml1999O503"
and cma_magic_number = "Caml1999A503"
and cmi_magic_number = "Caml1999I504"
and cmo_magic_number = "Caml1999O504"
and cma_magic_number = "Caml1999A504"
and cmx_magic_number =
if flambda || flambda2 then
"Caml2021y505"
"Caml2021y506"
else
"Caml2021Y505"
"Caml2021Y506"
and cmxa_magic_number =
if flambda || flambda2 then
"Caml2021z505"
"Caml2021z506"
else
"Caml2021Z505"
"Caml2021Z506"
and ast_impl_magic_number = "Caml1999M031"
and ast_intf_magic_number = "Caml1999N031"
and cmxs_magic_number = "Caml1999D504"
and cmt_magic_number = "Caml1999T503"
and cms_magic_number = "Caml1999S501"
and linear_magic_number = "Caml1999L503"
and cfg_magic_number = "Caml2021G503"
and cmxs_magic_number = "Caml1999D505"
and cmt_magic_number = "Caml1999T504"
and cms_magic_number = "Caml1999S502"
and linear_magic_number = "Caml1999L504"
and cfg_magic_number = "Caml2021G504"

let interface_suffix = ref ".mli"

Expand Down

0 comments on commit cf82708

Please sign in to comment.