File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 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
200200}
201201
202202fn 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.
210203 let lib = DynamicLibrary :: open ( Some ( path) ) . unwrap_or_else ( |err| {
211204 let err = format ! ( "couldn't load codegen backend {:?}: {:?}" , path, err) ;
212205 early_error ( ErrorOutputType :: default ( ) , & err) ;
You can’t perform that action at this time.
0 commit comments