Skip to content

Commit c04a4c8

Browse files
authored
flambda-backend: Bump magic numbers for minus-4 (and update script) (#2159)
* update magic numbers script * bump magic numbers for minus-4
1 parent b3993f4 commit c04a4c8

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

boot/ocamlc

-362 Bytes
Binary file not shown.

boot/ocamllex

0 Bytes
Binary file not shown.

runtime/caml/exec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct exec_trailer {
6060

6161
/* Magic number for this release */
6262

63-
#define EXEC_MAGIC "Caml1999X520"
63+
#define EXEC_MAGIC "Caml1999X521"
6464

6565
#endif /* CAML_INTERNALS */
6666

runtime4/caml/exec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct exec_trailer {
6060

6161
/* Magic number for this release */
6262

63-
#define EXEC_MAGIC "Caml1999X520"
63+
#define EXEC_MAGIC "Caml1999X521"
6464

6565
#endif /* CAML_INTERNALS */
6666

utils/config.common.ml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ let standard_library =
3131
(* When artifacts are incompatible with upstream OCaml, ocaml-jst uses
3232
magic numbers ending in 5xx. (The AST remains
3333
compatible, so use upstream numbers) *)
34-
let exec_magic_number = "Caml1999X520"
34+
let exec_magic_number = "Caml1999X521"
3535
(* exec_magic_number is duplicated in runtime/caml/exec.h *)
36-
and cmi_magic_number = "Caml1999I520"
37-
and cmo_magic_number = "Caml1999O520"
38-
and cma_magic_number = "Caml1999A520"
36+
and cmi_magic_number = "Caml1999I521"
37+
and cmo_magic_number = "Caml1999O521"
38+
and cma_magic_number = "Caml1999A521"
3939
and cmx_magic_number =
4040
if flambda || flambda2 then
41-
"Caml2021y520"
41+
"Caml2021y521"
4242
else
43-
"Caml2021Y520"
43+
"Caml2021Y521"
4444
and cmxa_magic_number =
4545
if flambda || flambda2 then
46-
"Caml2021z520"
46+
"Caml2021z521"
4747
else
48-
"Caml2021Z520"
48+
"Caml2021Z521"
4949
and ast_impl_magic_number = "Caml1999M033"
5050
and ast_intf_magic_number = "Caml1999N033"
51-
and cmxs_magic_number = "Caml1999D520"
52-
and cmt_magic_number = "Caml1999T520"
53-
and cms_magic_number = "Caml1999S520"
54-
and linear_magic_number = "Caml1999L520"
55-
and cfg_magic_number = "Caml2021G520"
51+
and cmxs_magic_number = "Caml1999D521"
52+
and cmt_magic_number = "Caml1999T521"
53+
and cms_magic_number = "Caml1999S521"
54+
and linear_magic_number = "Caml1999L521"
55+
and cfg_magic_number = "Caml2021G521"
5656

5757
let safe_string = true
5858
let default_safe_string = true

0 commit comments

Comments
 (0)