Skip to content

Commit

Permalink
fix build: deptopt on mtime for trace-core.util
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Jan 10, 2024
1 parent 43cc061 commit a9fdc58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
(depends
(ocaml (>= 4.08))
dune)
(depopts
(mtime (>= 2.0)))
(tags
(trace tracing observability profiling)))

Expand Down
1 change: 1 addition & 0 deletions src/util/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
(public_name trace.private.util)
(synopsis "internal utilities for trace. No guarantees of stability.")
(name trace_private_util)
(optional) ; depends on mtime
(libraries trace.core mtime mtime.clock.os unix threads
(select domain_util.ml from
(base-domain -> domain_util.real.ml)
Expand Down
3 changes: 3 additions & 0 deletions trace.opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ depends: [
"dune" {>= "2.9"}
"odoc" {with-doc}
]
depopts: [
"mtime" {>= "2.0"}
]
build: [
["dune" "subst"] {dev}
[
Expand Down

0 comments on commit a9fdc58

Please sign in to comment.