We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7fef1 commit a175969Copy full SHA for a175969
src/librustc_driver/lib.rs
@@ -207,7 +207,7 @@ fn load_backend_from_dylib(path: &Path) -> fn() -> Box<dyn CodegenBackend> {
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
- let lib = DynamicLibrary::open_global_now(path).unwrap_or_else(|err| {
+ let lib = DynamicLibrary::open(Some(path)).unwrap_or_else(|err| {
211
let err = format!("couldn't load codegen backend {:?}: {:?}", path, err);
212
early_error(ErrorOutputType::default(), &err);
213
});
0 commit comments