275-fix-random-sigsegv #302

Merged
sb10q merged 9 commits from 275-fix-random-sigsegv into master 2022-07-04 18:06:36 +08:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 8d88ad2dae - Show all commits

View File

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

View File

@ -1,6 +1,9 @@
#![warn(clippy::all)]
#![allow(dead_code)]
#[macro_use]
extern crate lazy_static;
Outdated
Review

Can't you just do use lazy_static in codegen/mod.rs?

IIRC recent Rust can treat macros like other imports.

Can't you just do ``use lazy_static`` in ``codegen/mod.rs``? IIRC recent Rust can treat macros like other imports.
pub mod codegen;
pub mod symbol_resolver;
pub mod toplevel;