Skip to content

Commit eef75dd

Browse files
committed
Update libloading to 0.7.3
This was previously done in bfcf97b, but got reverted due to a bug. The bug seems to be fixed now. Fixes #1137
1 parent 2231545 commit eef75dd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object = { version = "0.29.0", default-features = false, features = ["std", "rea
2020

2121
ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
2222
indexmap = "1.9.1"
23-
libloading = { version = "0.6.0", optional = true }
23+
libloading = { version = "0.7.3", optional = true }
2424
once_cell = "1.10.0"
2525
smallvec = "1.8.1"
2626

src/driver/jit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ fn dep_symbol_lookup_fn(
318318
let imported_dylibs = Box::leak(
319319
dylib_paths
320320
.into_iter()
321-
.map(|path| libloading::Library::new(&path).unwrap())
321+
.map(|path| unsafe { libloading::Library::new(&path).unwrap() })
322322
.collect::<Box<[_]>>(),
323323
);
324324

0 commit comments

Comments
 (0)