Skip to content

Commit

Permalink
Update libloading to 0.7.3
Browse files Browse the repository at this point in the history
This was previously done in bfcf97b, but got
reverted due to a bug. The bug seems to be fixed now.

Fixes rust-lang#1137
  • Loading branch information
bjorn3 committed Sep 1, 2022
1 parent 2231545 commit eef75dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/driver/jit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<[_]>>(),
);

Expand Down

0 comments on commit eef75dd

Please sign in to comment.