feat: some shit

This commit is contained in:
2026-01-23 13:40:31 +01:00
parent 39b8095497
commit 3be978ffb0
13 changed files with 253 additions and 45 deletions

View File

@@ -1,3 +1,4 @@
pub mod allocator;
mod encoding;
mod nodes;
mod tree;
@@ -11,7 +12,7 @@ extern "C" {
pub fn __nodarium_log(ptr: *const u8, len: usize);
}
#[cfg(debug_assertions)]
// #[cfg(debug_assertions)]
#[macro_export]
macro_rules! log {
($($t:tt)*) => {{
@@ -25,13 +26,13 @@ macro_rules! log {
}}
}
#[cfg(not(debug_assertions))]
#[macro_export]
macro_rules! log {
($($arg:tt)*) => {{
// This will expand to nothing in release builds
}};
}
// #[cfg(not(debug_assertions))]
// #[macro_export]
// macro_rules! log {
// ($($arg:tt)*) => {{
// // This will expand to nothing in release builds
// }};
// }
#[allow(dead_code)]
#[rustfmt::skip]