diff options
author | Kevin Menard <[email protected]> | 2024-06-17 16:29:43 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2024-06-17 17:14:29 -0400 |
commit | 91bbb7831301f405c56b5de1bd9e7a79f4d302b5 (patch) | |
tree | 4e5830436f1e7a619788f1413e1e359a9299c6c7 /yjit/src | |
parent | 657c8db8deb06741ca4b6a8b6635230f68c6d263 (diff) |
YJIT: Fix an unused field warning in `DumpDisasm`.
Diffstat (limited to 'yjit/src')
-rw-r--r-- | yjit/src/options.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/src/options.rs b/yjit/src/options.rs index ca57da2566..5d654f1ee0 100644 --- a/yjit/src/options.rs +++ b/yjit/src/options.rs @@ -125,6 +125,7 @@ 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), } |