275-fix-random-sigsegv #302
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Can't you just do
use lazy_static
incodegen/mod.rs
?IIRC recent Rust can treat macros like other imports.