Skip to content

Commit fa4f014

Browse files
committed
Remove now stray comment
1 parent 82a1bb3 commit fa4f014

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
@@ -200,13 +200,6 @@ pub fn run<F>(run_compiler: F) -> isize
200200
}
201201

202202
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.
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);

0 commit comments

Comments
 (0)