refractor the import statement

This commit is contained in:
z78078 2022-07-04 18:02:09 +08:00
parent c0e035f2f8
commit af99915ead
2 changed files with 3 additions and 3 deletions

View File

@ -52,6 +52,9 @@ pub struct StaticValueStore {
pub type VarValue<'ctx> = (PointerValue<'ctx>, Option<Arc<dyn StaticValue + Send + Sync>>, 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

View File

@ -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;