From ebfc8df9f000e49919b3d2ddca254d1b02a9434a Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Sun, 20 Oct 2024 17:44:13 +0800 Subject: [PATCH] misc: Allow shared reference to mutable static We know what we are doing within `tracer` crate, disable lint on these shared reference to mutable static. Signed-off-by: Ruoqing He --- tracer/src/tracer.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tracer/src/tracer.rs b/tracer/src/tracer.rs index c49077b29..02d251ae5 100644 --- a/tracer/src/tracer.rs +++ b/tracer/src/tracer.rs @@ -3,6 +3,8 @@ // SPDX-License-Identifier: Apache-2.0 // +#![allow(static_mut_refs)] + use std::collections::HashMap; use std::fs::File; use std::io::Write;