From 35d81f6fdecafae6f1efd22a5f6cd68150bcdbb8 Mon Sep 17 00:00:00 2001 From: z78078 Date: Mon, 4 Jul 2022 18:05:40 +0800 Subject: [PATCH] refractor --- nac3core/src/codegen/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nac3core/src/codegen/mod.rs b/nac3core/src/codegen/mod.rs index 4e9ed219..a7be388b 100644 --- a/nac3core/src/codegen/mod.rs +++ b/nac3core/src/codegen/mod.rs @@ -31,6 +31,7 @@ use std::sync::{ Arc, }; use std::thread; +use lazy_static::lazy_static; pub mod concrete_type; pub mod expr; @@ -52,9 +53,6 @@ pub struct StaticValueStore { pub type VarValue<'ctx> = (PointerValue<'ctx>, Option>, i64); - -use lazy_static::lazy_static; - lazy_static!( // HACK: The Mutex is a work-around for issue // https://git.m-labs.hk/M-Labs/nac3/issues/275