summaryrefslogtreecommitdiff
path: root/crates/types/src
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2023-12-06 02:08:39 +0100
committerHenry Gressmann <mail@henrygressmann.de>2023-12-06 02:08:39 +0100
commit5f928b74d20717342074bb29797c97d75120c21f (patch)
tree528390a6cdeb102e3cb1c403389221f28d914ea4 /crates/types/src
parentef4dbf261d13a72931887dad8db02d53a695a810 (diff)
feat: validate module opcodes, logging feature
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
Diffstat (limited to 'crates/types/src')
-rw-r--r--crates/types/src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/crates/types/src/lib.rs b/crates/types/src/lib.rs
index 875deaf..90c4f10 100644
--- a/crates/types/src/lib.rs
+++ b/crates/types/src/lib.rs
@@ -1,5 +1,17 @@
extern crate alloc;
+// log for logging (optional).
+// #[cfg(feature = "logging")]
+// #[allow(unused_imports)]
+// use log;
+
+// #[cfg(not(feature = "logging"))]
+// #[macro_use]
+// pub(crate) mod log {
+// // macro_rules! debug ( ($($tt:tt)*) => {{}} );
+// // pub(crate) use debug;
+// }
+
mod instructions;
use core::fmt::Debug;