no-mangle-if-debug 0.1.0

Attribute macro that does #[no_mangle] only in debug mode.
Documentation
1
2
3
4
5
6
7
8
use no_mangle_if_debug::no_mangle_if_debug;

#[no_mangle_if_debug]
fn testing() {}

fn main() {
    testing();
}