diff --git a/sixtyfps_runtime/corelib/tests.rs b/sixtyfps_runtime/corelib/tests.rs index 60a397f16..9db725a6a 100644 --- a/sixtyfps_runtime/corelib/tests.rs +++ b/sixtyfps_runtime/corelib/tests.rs @@ -98,6 +98,8 @@ cfg_if::cfg_if! { } #[macro_export] + /// This macro allows producing debug output that will appear on stderr in regular builds + /// and in the console log for wasm builds. macro_rules! debug_log { ($($t:tt)*) => ($crate::tests::log(&format_args!($($t)*).to_string())) }