Skip to content

Commit

Permalink
compat with trace 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Oct 29, 2024
1 parent 93ca091 commit 5c5d997
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
(authors "Bartosz Taudul" "Simon Cruanes")
(depends
(ocaml (>= 4.08))
(trace (and (>= 0.6) (< 0.9))))
(trace (and (>= 0.6) (< 0.10))))
(synopsis "Client bindings to the Tracy profiler (v0.10)"))
1 change: 1 addition & 0 deletions src/trace/tracy_client_trace.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module C () : Trace.Collector.S = struct
Trace.Collector.dummy_explicit_span

let exit_manual_span _es : unit = ()
let extension_event _ = ()
end

let collector () : Trace.collector =
Expand Down
2 changes: 1 addition & 1 deletion tracy-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bug-reports: "https://github.com/imandra-ai/ocaml-tracy/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.08"}
"trace" {>= "0.6" & < "0.9"}
"trace" {>= "0.6" & < "0.10"}
"odoc" {with-doc}
]
build: [
Expand Down

0 comments on commit 5c5d997

Please sign in to comment.