Skip to content

Commit 0feb680

Browse files
committed
Remove now stray comment
1 parent 1c8d8af commit 0feb680

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/librustc_driver/lib.rs

-7
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,6 @@ pub fn run<F>(run_compiler: F) -> isize
219219
}
220220

221221
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.
229222
let lib = DynamicLibrary::open(Some(path)).unwrap_or_else(|err| {
230223
let err = format!("couldn't load codegen backend {:?}: {:?}", path, err);
231224
early_error(ErrorOutputType::default(), &err);

0 commit comments

Comments
 (0)