Skip to content

Commit

Permalink
flambda-backend: Bump magic numbers for 5.1.1minus-8
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Jan 5, 2024
1 parent 2b421a9 commit 6f47b41
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 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 "Caml1999X521"
#define EXEC_MAGIC "Caml1999X522"

#endif /* CAML_INTERNALS */

Expand Down
2 changes: 1 addition & 1 deletion runtime4/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 "Caml1999X521"
#define EXEC_MAGIC "Caml1999X522"

#endif /* CAML_INTERNALS */

Expand Down
26 changes: 13 additions & 13 deletions utils/config.common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,28 @@ let standard_library =
(* 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 = "Caml1999X521"
let exec_magic_number = "Caml1999X522"
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
and cmi_magic_number = "Caml1999I521"
and cmo_magic_number = "Caml1999O521"
and cma_magic_number = "Caml1999A521"
and cmi_magic_number = "Caml1999I522"
and cmo_magic_number = "Caml1999O522"
and cma_magic_number = "Caml1999A522"
and cmx_magic_number =
if flambda || flambda2 then
"Caml2021y522"
"Caml2021y523"
else
"Caml2021Y521"
"Caml2021Y522"
and cmxa_magic_number =
if flambda || flambda2 then
"Caml2021z522"
"Caml2021z523"
else
"Caml2021Z521"
"Caml2021Z522"
and ast_impl_magic_number = "Caml1999M033"
and ast_intf_magic_number = "Caml1999N033"
and cmxs_magic_number = "Caml1999D521"
and cmt_magic_number = "Caml1999T521"
and cms_magic_number = "Caml1999S521"
and linear_magic_number = "Caml1999L521"
and cfg_magic_number = "Caml2021G521"
and cmxs_magic_number = "Caml1999D522"
and cmt_magic_number = "Caml1999T522"
and cms_magic_number = "Caml1999S522"
and linear_magic_number = "Caml1999L522"
and cfg_magic_number = "Caml2021G522"

let safe_string = true
let default_safe_string = true
Expand Down

0 comments on commit 6f47b41

Please sign in to comment.