Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic numbers for cmx and cmxa files #118

Merged
merged 3 commits into from
Jul 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Magic numbers for cmx and cmxa files.
  • Loading branch information
xclerc committed Jul 26, 2021
commit c2fb6820d6589c433f9744d82533dd6feae469b4
12 changes: 6 additions & 6 deletions ocaml/utils/config.mlp
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ and cmi_magic_number = "Caml1999I029"
and cmo_magic_number = "Caml1999O029"
and cma_magic_number = "Caml1999A029"
and cmx_magic_number =
if flambda then
"Caml1999y029"
if flambda || flambda2 then
"Caml2021y029"
else
"Caml1999Y029"
"Caml2021Y029"
and cmxa_magic_number =
if flambda then
"Caml1999z029"
if flambda || flambda2 then
"Caml2021z029"
else
"Caml1999Z029"
"Caml2021Z029"
and ast_impl_magic_number = "Caml1999M029"
and ast_intf_magic_number = "Caml1999N029"
and cmxs_magic_number = "Caml1999D029"
Expand Down