Skip to content

Commit 5156ea3

Browse files
authored
Raise minimum supported OCaml compiler version to 5.3.0 (#1213)
This patch sets the minimum supported version of the OCaml compiler to 5.3.0. OCaml 5.3.0 introduced new syntax for effect handlers, so we need to set this lower bound if we want to take advantage of the syntax and at the same time distribute Links via OPAM.
1 parent af82f6b commit 5156ea3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
(name links)
3232
(synopsis "The Links Programming Language")
3333
(description "Links is a functional programming language designed to make web programming easier.")
34-
(depends (ocaml (>= 5.1.1))
34+
(depends (ocaml (>= 5.3.0))
3535
(dune-configurator (>= 3.8))
3636
ppx_deriving
3737
(ppx_deriving_yojson (>= 3.3))

links.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ doc: "https://links-lang.org/quick-help.html"
2323
bug-reports: "https://github.com/links-lang/links/issues"
2424
depends: [
2525
"dune" {>= "2.7"}
26-
"ocaml" {>= "5.1.1"}
26+
"ocaml" {>= "5.3.0"}
2727
"dune-configurator" {>= "3.8"}
2828
"ppx_deriving"
2929
"ppx_deriving_yojson" {>= "3.3"}

0 commit comments

Comments
 (0)