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 <heruoqing@iscas.ac.cn>
This commit is contained in:
Ruoqing He 2024-10-20 17:44:13 +08:00 committed by Rob Bradford
parent 0e209edb1d
commit ebfc8df9f0

View File

@ -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;