From 2e4971d23ddbf385eb734f9cbdcf7aa998ff4657 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 26 Dec 2023 21:27:31 -0500 Subject: [PATCH] chore: we don't actually depend on `atomic` --- dune-project | 2 -- src/fuchsia/write/buf_pool.ml | 2 +- src/fuchsia/write/dune | 2 +- src/tef/dune | 2 +- trace-fuchsia.opam | 1 - trace-tef.opam | 1 - 6 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dune-project b/dune-project index b355550..c65eada 100644 --- a/dune-project +++ b/dune-project @@ -41,7 +41,6 @@ (trace (= :version)) (mtime (>= 2.0)) base-unix - atomic dune) (tags (trace tracing catapult))) @@ -54,7 +53,6 @@ (trace (= :version)) (mtime (>= 2.0)) base-unix - atomic dune) (tags (trace tracing fuchsia))) diff --git a/src/fuchsia/write/buf_pool.ml b/src/fuchsia/write/buf_pool.ml index fc9cf45..961a2d3 100644 --- a/src/fuchsia/write/buf_pool.ml +++ b/src/fuchsia/write/buf_pool.ml @@ -1,5 +1,5 @@ open struct - module A = Atomic + module A = Trace_core.Internal_.Atomic_ exception Got_buf of Buf.t end diff --git a/src/fuchsia/write/dune b/src/fuchsia/write/dune index 9b8634d..b728e53 100644 --- a/src/fuchsia/write/dune +++ b/src/fuchsia/write/dune @@ -6,4 +6,4 @@ (ocamlopt_flags :standard -S ;-dlambda ) - (libraries trace.core atomic threads)) + (libraries trace.core threads)) diff --git a/src/tef/dune b/src/tef/dune index 89b8e9a..156eec1 100644 --- a/src/tef/dune +++ b/src/tef/dune @@ -3,4 +3,4 @@ (name trace_tef) (public_name trace-tef) (synopsis "Simple and lightweight tracing using TEF/Catapult format, in-process") - (libraries trace.core trace.private.util mtime mtime.clock.os atomic unix threads)) + (libraries trace.core trace.private.util mtime mtime.clock.os unix threads)) diff --git a/trace-fuchsia.opam b/trace-fuchsia.opam index 25428ba..20fa305 100644 --- a/trace-fuchsia.opam +++ b/trace-fuchsia.opam @@ -14,7 +14,6 @@ depends: [ "trace" {= version} "mtime" {>= "2.0"} "base-unix" - "atomic" "dune" {>= "2.9"} "odoc" {with-doc} ] diff --git a/trace-tef.opam b/trace-tef.opam index 464cee8..d984efa 100644 --- a/trace-tef.opam +++ b/trace-tef.opam @@ -14,7 +14,6 @@ depends: [ "trace" {= version} "mtime" {>= "2.0"} "base-unix" - "atomic" "dune" {>= "2.9"} "odoc" {with-doc} ]