diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2023-12-06 02:08:39 +0100 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2023-12-06 02:08:39 +0100 |
| commit | 5f928b74d20717342074bb29797c97d75120c21f (patch) | |
| tree | 528390a6cdeb102e3cb1c403389221f28d914ea4 /crates/types/src | |
| parent | ef4dbf261d13a72931887dad8db02d53a695a810 (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.rs | 12 |
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; |
