Removee debug_msgs feature.

This commit is contained in:
Stephen Chung
2020-03-18 22:03:50 +08:00
parent 019e73bc7e
commit 0dc51f8e59
8 changed files with 6 additions and 52 deletions

View File

@@ -43,30 +43,6 @@
#[cfg(feature = "no_std")]
extern crate alloc;
// needs to be here, because order matters for macros
macro_rules! debug_println {
() => (
#[cfg(feature = "debug_msgs")]
{
print!("\n");
}
);
($fmt:expr) => (
#[cfg(feature = "debug_msgs")]
{
print!(concat!($fmt, "\n"));
}
);
($fmt:expr, $($arg:tt)*) => (
#[cfg(feature = "debug_msgs")]
{
print!(concat!($fmt, "\n"), $($arg)*);
}
);
}
#[macro_use]
mod stdlib;
mod any;
mod api;
mod builtin;
@@ -78,6 +54,7 @@ mod optimize;
mod parser;
mod result;
mod scope;
mod stdlib;
pub use any::{Any, AnyExt, Dynamic, Variant};
pub use call::FuncArgs;