fix build: deptopt on mtime for trace-core.util

This commit is contained in:
Simon Cruanes 2024-01-10 10:45:58 -05:00
parent 43cc061096
commit a9fdc58904
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
3 changed files with 6 additions and 0 deletions

View file

@ -18,6 +18,8 @@
(depends
(ocaml (>= 4.08))
dune)
(depopts
(mtime (>= 2.0)))
(tags
(trace tracing observability profiling)))

View file

@ -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)

View file

@ -14,6 +14,9 @@ depends: [
"dune" {>= "2.9"}
"odoc" {with-doc}
]
depopts: [
"mtime" {>= "2.0"}
]
build: [
["dune" "subst"] {dev}
[