This commit is contained in:
Simon Gardling
2022-02-28 11:07:06 -05:00
parent 4e0c425fa0
commit 2943270bbd
2 changed files with 7 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ pub fn log_helper(s: &str) {
}
#[cfg(debug_assertions)]
#[allow(dead_code)]
pub fn debug_log(s: &str) {
#[cfg(target_arch = "wasm32")]
log(s);
@@ -30,6 +31,7 @@ pub fn debug_log(s: &str) {
}
#[cfg(not(debug_assertions))]
#[allow(dead_code)]
pub fn debug_log(_s: &str) {}
/*