diff options
-rw-r--r-- | src/otel/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/otel/src/lib.rs b/src/otel/src/lib.rs index 363df4fb..8e59da86 100644 --- a/src/otel/src/lib.rs +++ b/src/otel/src/lib.rs @@ -36,6 +36,7 @@ pub type nxt_uint_t = usize; // Stored sender channel to send spans or a shutdown message to within the // Tokio runtime. +#[allow(static_mut_refs)] unsafe fn nxt_otel_rs_span_tx(destruct: bool) -> *const OnceLock<Sender<SpanMessage>> { static mut SPAN_TX: OnceLock<Sender<SpanMessage>> = OnceLock::new(); if destruct { |