diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-12-18 20:33:10 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2019-01-02 11:34:08 -0800 |
| commit | fa4f014110fdd111742d75f7976ffc754f7720da (patch) | |
| tree | 43568f9075f8cacd95453490715cdbc8b2426642 /src | |
| parent | 82a1bb331438f0a1432f13a08cb431475dab9907 (diff) | |
| download | rust-fa4f014110fdd111742d75f7976ffc754f7720da.tar.gz rust-fa4f014110fdd111742d75f7976ffc754f7720da.zip | |
Remove now stray comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_driver/lib.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 62f4895354f..1ec14fbb06c 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -200,13 +200,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); |
