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 @@ -219,13 +219,6 @@ pub fn run<F>(run_compiler: F) -> isize
219
219
}
220
220
221
221
fn load_backend_from_dylib ( path : & Path ) -> fn ( ) -> Box < dyn CodegenBackend > {
222
- // Note that we're specifically using `open_global_now` here rather than
223
- // `open`, namely we want the behavior on Unix of RTLD_GLOBAL and RTLD_NOW,
224
- // where NOW means "bind everything right now" because we don't want
225
- // surprises later on and RTLD_GLOBAL allows the symbols to be made
226
- // available for future dynamic libraries opened. This is currently used by
227
- // loading LLVM and then making its symbols available for other dynamic
228
- // libraries.
229
222
let lib = DynamicLibrary :: open ( Some ( path) ) . unwrap_or_else ( |err| {
230
223
let err = format ! ( "couldn't load codegen backend {:?}: {:?}" , path, err) ;
231
224
early_error ( ErrorOutputType :: default ( ) , & err) ;
You can’t perform that action at this time.
0 commit comments