File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ readme = "README.md"
11
11
edition = " 2018"
12
12
13
13
[dependencies ]
14
- libloading = " 0.5 "
14
+ libloading = " 0.7 "
15
15
lazy_static = " 1.0"
16
16
failure = " 0.1"
17
17
libc = " 0.2"
Original file line number Diff line number Diff line change 32
32
//!
33
33
//! ``` toml
34
34
//! [dependencies]
35
- //! rustc-llvm-proxy = "0.1 "
35
+ //! rustc-llvm-proxy = "0.4 "
36
36
//! ```
37
37
//!
38
38
//! ``` rust
@@ -67,12 +67,14 @@ lazy_static! {
67
67
}
68
68
} ;
69
69
70
- match Library :: new( lib_path) {
71
- Ok ( path) => path,
70
+ unsafe {
71
+ match Library :: new( lib_path) {
72
+ Ok ( path) => path,
72
73
73
- Err ( error) => {
74
- eprintln!( "Unable to open LLVM shared lib: {}" , error) ;
75
- panic!( ) ;
74
+ Err ( error) => {
75
+ eprintln!( "Unable to open LLVM shared lib: {}" , error) ;
76
+ panic!( ) ;
77
+ }
76
78
}
77
79
}
78
80
} ;
You can’t perform that action at this time.
0 commit comments