forked from github/stack-graphs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebugging.rs
More file actions
19 lines (16 loc) · 720 Bytes
/
debugging.rs
File metadata and controls
19 lines (16 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- coding: utf-8 -*-
// ------------------------------------------------------------------------------------------------
// Copyright © 2021, stack-graphs authors.
// Licensed under either of Apache License, Version 2.0, or MIT license, at your option.
// Please see the LICENSE-APACHE or LICENSE-MIT files in this distribution for license details.
// ------------------------------------------------------------------------------------------------
#[cfg(feature = "copious-debugging")]
#[macro_export]
macro_rules! copious_debugging {
($($arg:tt)*) => {{ ::std::eprintln!($($arg)*); }}
}
#[cfg(not(feature = "copious-debugging"))]
#[macro_export]
macro_rules! copious_debugging {
($($arg:tt)*) => {};
}