mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 21:49:06 +02:00
Add a missing use for release build
This commit is contained in:
parent
bf565fd418
commit
93f67e24d2
Notes:
git
2025-04-18 13:48:41 +00:00
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ fn parse_option(options: &mut Options, str_ptr: *const std::os::raw::c_char) ->
|
||||||
/// Macro to print a message only when --zjit-debug is given
|
/// Macro to print a message only when --zjit-debug is given
|
||||||
macro_rules! debug {
|
macro_rules! debug {
|
||||||
($($msg:tt)*) => {
|
($($msg:tt)*) => {
|
||||||
|
use crate::options::get_option;
|
||||||
if get_option!(debug) {
|
if get_option!(debug) {
|
||||||
eprintln!($($msg)*);
|
eprintln!($($msg)*);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue