Skip to content

Commit 3ad20c9

Browse files
authored
Merge pull request #33 from aya-rs/llvm-update
Bump llvm-sys to 191
2 parents 602b930 + 1986368 commit 3ad20c9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ readme = "README.md"
1111
edition = "2021"
1212

1313
[dependencies]
14-
once_cell = "1.18.0"
1514
libc = "0.2"
1615
libloading = "0.8.0"
17-
llvm-sys = { version = "^191.0.0-rc1", features = [
16+
llvm-sys = { version = "191.0.0", features = [
1817
"no-llvm-linking",
1918
"disable-alltargets-init",
2019
] }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use libloading::Library;
4343

4444
pub mod init;
4545

46-
static SHARED_LIB: once_cell::sync::Lazy<Library> = once_cell::sync::Lazy::new(|| {
46+
static SHARED_LIB: std::sync::LazyLock<Library> = std::sync::LazyLock::new(|| {
4747
for (var, is_bin) in [
4848
("LD_LIBRARY_PATH", false),
4949
("DYLD_FALLBACK_LIBRARY_PATH", false),

0 commit comments

Comments
 (0)