stable: put macro debug flags behind feature gate
This enables tests to work on stable. To enable macro debugging, build with `--features macro-debug`. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#![feature(trace_macros)]
|
||||
#![feature(log_syntax)]
|
||||
#![cfg_attr(feature="macro-debug",feature(trace_macros))]
|
||||
#![cfg_attr(feature="macro-debug",feature(log_syntax))]
|
||||
#[cfg(feature="macro-debug")]
|
||||
trace_macros!{true}
|
||||
|
||||
/*
|
||||
@ -314,4 +315,4 @@ fn no_label() {
|
||||
);
|
||||
assert_eq!(mcode, [ 0xA9, 0xFB, 0xA9, 0xAB ]);
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
Reference in New Issue
Block a user