Skip to content

Commit

Permalink
Bump magic numbers for 5.1.1minus-11
Browse files Browse the repository at this point in the history
  • Loading branch information
mshinwell committed Feb 29, 2024
1 parent 1a3ad48 commit 6dd3ac7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
Binary file modified ocaml/boot/ocamlc
Binary file not shown.
Binary file modified ocaml/boot/ocamllex
Binary file not shown.
2 changes: 1 addition & 1 deletion ocaml/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 "Caml1999X524"
#define EXEC_MAGIC "Caml1999X525"

#endif /* CAML_INTERNALS */

Expand Down
2 changes: 1 addition & 1 deletion ocaml/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 "Caml1999X524"
#define EXEC_MAGIC "Caml1999X525"

#endif /* CAML_INTERNALS */

Expand Down
26 changes: 13 additions & 13 deletions ocaml/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 = "Caml1999X524"
let exec_magic_number = "Caml1999X525"
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
and cmi_magic_number = "Caml1999I524"
and cmo_magic_number = "Caml1999O524"
and cma_magic_number = "Caml1999A524"
and cmi_magic_number = "Caml1999I525"
and cmo_magic_number = "Caml1999O525"
and cma_magic_number = "Caml1999A525"
and cmx_magic_number =
if flambda || flambda2 then
"Caml2021y525"
"Caml2021y526"
else
"Caml2021Y524"
"Caml2021Y525"
and cmxa_magic_number =
if flambda || flambda2 then
"Caml2021z525"
"Caml2021z526"
else
"Caml2021Z524"
"Caml2021Z525"
and ast_impl_magic_number = "Caml1999M033"
and ast_intf_magic_number = "Caml1999N033"
and cmxs_magic_number = "Caml1999D524"
and cmt_magic_number = "Caml1999T524"
and cms_magic_number = "Caml1999S524"
and linear_magic_number = "Caml1999L524"
and cfg_magic_number = "Caml2021G524"
and cmxs_magic_number = "Caml1999D525"
and cmt_magic_number = "Caml1999T525"
and cms_magic_number = "Caml1999S525"
and linear_magic_number = "Caml1999L525"
and cfg_magic_number = "Caml2021G525"

let safe_string = true
let default_safe_string = true
Expand Down

0 comments on commit 6dd3ac7

Please sign in to comment.