Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Compilation with OCaml 5.0 #725

@LimitEpsilon

Description

@LimitEpsilon

Hi, with the release of OCaml 5.0, I have recently been trying out compilation of various codebases with 5.0.
However, since the file compiler-libs-406/obj.ml referenced primitives that are deprecated in 5.0, the code did not compile.

Therefore, I simply copied-and-pasted files from ~/.opam/5.0.0/lib/ocaml over to compiler-libs-406 and fixed some details.
As a result, compilation works for both OCaml 4.14.1 and 5.0. Link to code

Running testrunner on the newly compiled binary seems to be ok, but since I changed a considerable amount of code, I am cautious about suggesting this change. Would opening a PR be fine?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions