playdate_build_utils/
lib.rs

1#[cfg(feature = "log")]
2extern crate log;
3
4#[cfg(feature = "log")]
5#[allow(unused_imports)]
6use log::{info, trace, debug, warn, error};
7
8#[cfg(not(feature = "log"))]
9#[allow(unused_imports)]
10use std::{println as info, println as warn, eprintln as error};
11
12#[cfg(not(feature = "log"))]
13#[macro_export(local_inner_macros)]
14macro_rules! no_op { ($($arg:tt)+) => (( { core::format_args!($($arg)+); } /* no-op */)); }
15#[cfg(not(feature = "log"))]
16use self::{no_op as trace, no_op as debug};
17
18pub mod compile;
19pub mod consts;
20pub mod toolchain {
21	pub mod sdk;
22	pub mod gcc;
23}