Skip to content

Commit

Permalink
Add stdcmpat dependency
Browse files Browse the repository at this point in the history
Allows us to use more recent stdlib methods while maintaining
compat with older versions of the compiler.
  • Loading branch information
shonfeder committed Sep 5, 2022
1 parent d3535dc commit 03cb3fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ extension mechanism, and some other features. Note that the opam
package installs both the OMD library and the command line tool `omd`.")
(tags (org:ocamllabs org:mirage))
(depends (ocaml (>= 4.05))
stdcompat
uutf
uucp
uunf
Expand Down
1 change: 1 addition & 0 deletions omd.opam
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ bug-reports: "https://github.com/ocaml/omd/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.05"}
"stdcompat"
"uutf"
"uucp"
"uunf"
Expand Down
2 changes: 1 addition & 1 deletion src/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(library
(name omd)
(public_name omd)
(libraries uutf uucp uunf)
(libraries uutf uucp uunf stdcompat)
(flags :standard -w -30))

(rule
Expand Down

0 comments on commit 03cb3fb

Please sign in to comment.