diff --git a/nac3core/src/codegen/mod.rs b/nac3core/src/codegen/mod.rs index a0cbda1b..4e9ed219 100644 --- a/nac3core/src/codegen/mod.rs +++ b/nac3core/src/codegen/mod.rs @@ -52,6 +52,9 @@ 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 diff --git a/nac3core/src/lib.rs b/nac3core/src/lib.rs index ec45cbe9..bff6b5cc 100644 --- a/nac3core/src/lib.rs +++ b/nac3core/src/lib.rs @@ -1,9 +1,6 @@ #![warn(clippy::all)] #![allow(dead_code)] -#[macro_use] -extern crate lazy_static; - pub mod codegen; pub mod symbol_resolver; pub mod toplevel;