about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-09-01 15:36:12 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2022-09-01 15:52:48 +0000
commiteef75dde3ba669044e1f2c85d83ebd448efb97c7 (patch)
tree862f3b22e8cff40be8787a0194825ff1b194fca1 /src
parent2231545ebf83901ced90d469b891b04a1fe89b97 (diff)
downloadrust-eef75dde3ba669044e1f2c85d83ebd448efb97c7.tar.gz
rust-eef75dde3ba669044e1f2c85d83ebd448efb97c7.zip
Update libloading to 0.7.3
This was previously done in bfcf97bd8360931eb088d65f247fc9e1016f8199, but got
reverted due to a bug. The bug seems to be fixed now.

Fixes #1137
Diffstat (limited to 'src')
-rw-r--r--src/driver/jit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/jit.rs b/src/driver/jit.rs
index 4ad859b6d83..6a430b5215e 100644
--- a/src/driver/jit.rs
+++ b/src/driver/jit.rs
@@ -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<[_]>>(),
     );