Update libloading to 0.7.3

This was previously done in bfcf97bd83, but got
reverted due to a bug. The bug seems to be fixed now.

Fixes #1137
This commit is contained in:
bjorn3
2022-09-01 15:36:12 +00:00
parent 2231545ebf
commit eef75dde3b
3 changed files with 4 additions and 4 deletions
Generated
+2 -2
View File
@@ -232,9 +232,9 @@ checksum = "505e71a4706fa491e9b1b55f51b95d4037d0821ee40131190475f692b35b009b"
[[package]]
name = "libloading"
version = "0.6.7"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "351a32417a12d5f7e82c368a66781e307834dae04c6ce0cd4456d52989229883"
checksum = "efbc0f03f9a775e9f6aed295c6a1ba2253c5757a9e03d55c6caa46a681abcddd"
dependencies = [
"cfg-if",
"winapi",
+1 -1
View File
@@ -20,7 +20,7 @@ object = { version = "0.29.0", default-features = false, features = ["std", "rea
ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg_clif_ranlib" }
indexmap = "1.9.1"
libloading = { version = "0.6.0", optional = true }
libloading = { version = "0.7.3", optional = true }
once_cell = "1.10.0"
smallvec = "1.8.1"
+1 -1
View File
@@ -318,7 +318,7 @@ fn dep_symbol_lookup_fn(
let imported_dylibs = Box::leak(
dylib_paths
.into_iter()
.map(|path| libloading::Library::new(&path).unwrap())
.map(|path| unsafe { libloading::Library::new(&path).unwrap() })
.collect::<Box<[_]>>(),
);