File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ pub fn init_env_logger(env: &str) -> Result<(), Error> {
83
83
. with_verbose_exit ( verbose_entry_exit)
84
84
. with_verbose_entry ( verbose_entry_exit)
85
85
. with_indent_amount ( 2 ) ;
86
- #[ cfg( parallel_compiler) ]
86
+ #[ cfg( all ( parallel_compiler, debug_assertions ) ) ]
87
87
let layer = layer. with_thread_ids ( true ) . with_thread_names ( true ) ;
88
88
89
89
let subscriber = tracing_subscriber:: Registry :: default ( ) . with ( filter) . with ( layer) ;
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ fn init_logging() {
203
203
. with_verbose_exit ( true )
204
204
. with_verbose_entry ( true )
205
205
. with_indent_amount ( 2 ) ;
206
- #[ cfg( parallel_compiler) ]
206
+ #[ cfg( all ( parallel_compiler, debug_assertions ) ) ]
207
207
let layer = layer. with_thread_ids ( true ) . with_thread_names ( true ) ;
208
208
209
209
use tracing_subscriber:: layer:: SubscriberExt ;
You can’t perform that action at this time.
0 commit comments