From 8d88ad2dae3d99fe7a404f2fa9ad43614c930ce7 Mon Sep 17 00:00:00 2001 From: z78078 Date: Mon, 4 Jul 2022 16:02:58 +0800 Subject: [PATCH] Bring lazy_static to the nac3core project --- nac3core/Cargo.toml | 1 + nac3core/src/lib.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/nac3core/Cargo.toml b/nac3core/Cargo.toml index ec4cd3c1..12a72484 100644 --- a/nac3core/Cargo.toml +++ b/nac3core/Cargo.toml @@ -10,6 +10,7 @@ crossbeam = "0.8.1" parking_lot = "0.11.1" rayon = "1.5.1" nac3parser = { path = "../nac3parser" } +lazy_static = "1.4.0" [dependencies.inkwell] git = "https://github.com/TheDan64/inkwell.git" diff --git a/nac3core/src/lib.rs b/nac3core/src/lib.rs index bff6b5cc..ec45cbe9 100644 --- a/nac3core/src/lib.rs +++ b/nac3core/src/lib.rs @@ -1,6 +1,9 @@ #![warn(clippy::all)] #![allow(dead_code)] +#[macro_use] +extern crate lazy_static; + pub mod codegen; pub mod symbol_resolver; pub mod toplevel;