We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 602b930 + 1986368 commit 3ad20c9Copy full SHA for 3ad20c9
Cargo.toml
@@ -11,10 +11,9 @@ readme = "README.md"
11
edition = "2021"
12
13
[dependencies]
14
-once_cell = "1.18.0"
15
libc = "0.2"
16
libloading = "0.8.0"
17
-llvm-sys = { version = "^191.0.0-rc1", features = [
+llvm-sys = { version = "191.0.0", features = [
18
"no-llvm-linking",
19
"disable-alltargets-init",
20
] }
src/lib.rs
@@ -43,7 +43,7 @@ use libloading::Library;
43
44
pub mod init;
45
46
-static SHARED_LIB: once_cell::sync::Lazy<Library> = once_cell::sync::Lazy::new(|| {
+static SHARED_LIB: std::sync::LazyLock<Library> = std::sync::LazyLock::new(|| {
47
for (var, is_bin) in [
48
("LD_LIBRARY_PATH", false),
49
("DYLD_FALLBACK_LIBRARY_PATH", false),
0 commit comments