From f805465c47b02906a7420ec844be16caa63dccc2 Mon Sep 17 00:00:00 2001 From: xjd Date: Mon, 23 Sep 2024 14:33:57 +0800 Subject: [PATCH] Remove cfg(std) from debug native simulator must have std enabled. --- src/debug.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/debug.rs b/src/debug.rs index e15e0d8..f78de62 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -47,11 +47,9 @@ macro_rules! debug { macro_rules! debug { ($fmt:literal) => { - #[cfg(std)] println!("{}", format!($fmt)); }; ($fmt:literal, $($args:expr),+) => { - #[cfg(std)] println!("{}", format!($fmt, $($args), +)); }; }