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:
parent
0e209edb1d
commit
ebfc8df9f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue