File tree 1 file changed +0
-7
lines changed
1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -200,13 +200,6 @@ pub fn run<F>(run_compiler: F) -> isize
200
200
}
201
201
202
202
fn load_backend_from_dylib ( path : & Path ) -> fn ( ) -> Box < dyn CodegenBackend > {
203
- // Note that we're specifically using `open_global_now` here rather than
204
- // `open`, namely we want the behavior on Unix of RTLD_GLOBAL and RTLD_NOW,
205
- // where NOW means "bind everything right now" because we don't want
206
- // surprises later on and RTLD_GLOBAL allows the symbols to be made
207
- // available for future dynamic libraries opened. This is currently used by
208
- // loading LLVM and then making its symbols available for other dynamic
209
- // libraries.
210
203
let lib = DynamicLibrary :: open ( Some ( path) ) . unwrap_or_else ( |err| {
211
204
let err = format ! ( "couldn't load codegen backend {:?}: {:?}" , path, err) ;
212
205
early_error ( ErrorOutputType :: default ( ) , & err) ;
You can’t perform that action at this time.
0 commit comments