From 49bf92a7aaf10a4777ea512303e442588f4ce2e5 Mon Sep 17 00:00:00 2001 From: Nathan Ringo Date: Sun, 15 Sep 2024 03:25:30 -0500 Subject: Start of serious allocator work. --- crates/utils/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/utils/src/lib.rs') diff --git a/crates/utils/src/lib.rs b/crates/utils/src/lib.rs index 1e8ddfb..2181046 100644 --- a/crates/utils/src/lib.rs +++ b/crates/utils/src/lib.rs @@ -134,10 +134,10 @@ impl_FromEndianBytes!(i8, i16, i32, i64, isize, u8, u16, u32, u64, usize); /// Runs the body block the first time it is encountered. #[macro_export] macro_rules! first_time { - ($($stmt:stmt)*) => {{ + ($($stmt:stmt;)*) => {{ use spin::lazy::Lazy; static LAZY: Lazy<()> = Lazy::new(|| { - $($stmt)* + $($stmt;)* }); *Lazy::force(&LAZY) }}; -- cgit v1.2.3