From 5c5d9979f129c4e00fe8fcd9a96717b4139090a1 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 29 Oct 2024 09:14:06 -0400 Subject: [PATCH] compat with trace 0.9 --- dune-project | 2 +- src/trace/tracy_client_trace.ml | 1 + tracy-client.opam | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dune-project b/dune-project index 8039bf0..fe5a34f 100644 --- a/dune-project +++ b/dune-project @@ -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)")) diff --git a/src/trace/tracy_client_trace.ml b/src/trace/tracy_client_trace.ml index 9ccd8ac..95f79ac 100644 --- a/src/trace/tracy_client_trace.ml +++ b/src/trace/tracy_client_trace.ml @@ -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 = diff --git a/tracy-client.opam b/tracy-client.opam index 76f239b..8f38737 100644 --- a/tracy-client.opam +++ b/tracy-client.opam @@ -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: [