YJIT: Fix unread field lint in release builds
``` warning: fields `blue_begin` and `blue_end` are never read ```
This commit is contained in:
parent
9fe06cc035
commit
d53e4545f4
Notes:
git
2024-12-11 22:45:01 +00:00
@ -7,6 +7,7 @@ use crate::options::DumpDisasm;
|
||||
|
||||
use std::fmt::Write;
|
||||
|
||||
#[cfg_attr(not(feature = "disasm"), allow(dead_code))]
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct TerminalColor {
|
||||
pub blue_begin: &'static str,
|
||||
|
@ -152,7 +152,6 @@ pub enum DumpDisasm {
|
||||
// Dump to stdout
|
||||
Stdout,
|
||||
// Dump to "yjit_{pid}.log" file under the specified directory
|
||||
#[cfg_attr(not(feature = "disasm"), allow(dead_code))]
|
||||
File(std::os::unix::io::RawFd),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user