Skip to content

Commit

Permalink
Remove cfg(std) from debug
Browse files Browse the repository at this point in the history
native simulator must have std enabled.
  • Loading branch information
XuJiandong committed Sep 23, 2024
1 parent 1fb1185 commit f805465
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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), +));
};
}

0 comments on commit f805465

Please sign in to comment.