about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-12-18 20:33:10 -0800
committerAlex Crichton <alex@alexcrichton.com>2018-12-18 20:33:10 -0800
commit0feb680ac9393fc3db2e6771cf847b3101f21bad (patch)
tree9c397ceb89b8d3ec0df858f3cca94ba9c02221d9
parent1c8d8af316f97e712c40870b0746a2d1ac073c2e (diff)
downloadrust-0feb680ac9393fc3db2e6771cf847b3101f21bad.tar.gz
rust-0feb680ac9393fc3db2e6771cf847b3101f21bad.zip
Remove now stray comment
-rw-r--r--src/librustc_driver/lib.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs
index 56a3a0efcd8..77b1c2310ae 100644
--- a/src/librustc_driver/lib.rs
+++ b/src/librustc_driver/lib.rs
@@ -219,13 +219,6 @@ pub fn run<F>(run_compiler: F) -> isize
 }
 
 fn load_backend_from_dylib(path: &Path) -> fn() -> Box<dyn CodegenBackend> {
-    // Note that we're specifically using `open_global_now` here rather than
-    // `open`, namely we want the behavior on Unix of RTLD_GLOBAL and RTLD_NOW,
-    // where NOW means "bind everything right now" because we don't want
-    // surprises later on and RTLD_GLOBAL allows the symbols to be made
-    // available for future dynamic libraries opened. This is currently used by
-    // loading LLVM and then making its symbols available for other dynamic
-    // libraries.
     let lib = DynamicLibrary::open(Some(path)).unwrap_or_else(|err| {
         let err = format!("couldn't load codegen backend {:?}: {:?}", path, err);
         early_error(ErrorOutputType::default(), &err);