Skip to content

Commit 94a88fe

Browse files
committed
Lock accesses to the LLVM TargetRegistry.
1 parent 59cd261 commit 94a88fe

File tree

3 files changed

+421
-339
lines changed

3 files changed

+421
-339
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ libc = "0.2"
6363
llvm-sys = "80.1"
6464
regex = "1"
6565
static-alloc = { version = "0.1", optional = true }
66+
lazy_static = "1.3.0"
6667

6768
[badges]
6869
travis-ci = { repository = "TheDan64/inkwell" }

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ extern crate libc;
1616
extern crate llvm_sys;
1717
#[macro_use]
1818
extern crate inkwell_internal_macros;
19+
#[macro_use]
20+
extern crate lazy_static;
1921

2022
#[macro_use]
2123
pub mod support;

0 commit comments

Comments
 (0)