Skip to content

Commit

Permalink
Make it work with ocaml < 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrm committed Jul 4, 2024
1 parent 36b8f5c commit c8c980d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,12 @@
(name multicore-magic-dscheck)
(synopsis
"A implementation of multicore-magic API using the atomic module of DScheck to make DScheck tests possible in libraries using multicore-magic")
(allow_empty)
(depends
(ocaml
(>= 4.12.0))
;; Test dependencies
(multicore-magic
(>= 2.2.0))
(dscheck (= dev))))
(dscheck
(= dev))))
4 changes: 3 additions & 1 deletion src/dscheck/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
(library
(name multicore_magic_dscheck)
(public_name multicore-magic-dscheck)
(libraries multicore-magic dscheck))
(libraries multicore-magic dscheck)
(enabled_if
(>= %{ocaml_version} 5)))

0 comments on commit c8c980d

Please sign in to comment.