ocaml-trace/src/subscriber/dune
Simon Cruanes a1837e402e
trace.subscriber: define custom span, simplify subscriber callbacks
- custom span carries around all the required data, including mutable
args
- no more manual enter/exit callbacks
- use record for callbacks
- no more big Span_tbl
2026-01-14 21:56:09 -05:00

18 lines
399 B
Text

(library
(name trace_subscriber)
(public_name trace.subscriber)
(private_modules time_ thread_)
(libraries
(re_export trace.core)
(select
thread_.ml
from
(threads -> thread_.real.ml)
(-> thread_.dummy.ml))
(select
time_.ml
from
(mtime mtime.clock.os -> time_.mtime.ml)
(mtime mtime.clock.jsoo -> time_.mtime.ml)
(unix -> time_.unix.ml)
(-> time_.dummy.ml))))