about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorTaylor Cramer <cramertj@google.com>2017-06-11 22:40:14 -0700
committerTaylor Cramer <cramertj@google.com>2017-06-14 00:13:33 -0700
commit328c6c81bf7c1093b6bca34286d86f193a7d054e (patch)
treed10d785c96b6980a7d0bb56a6e617bde1cbf293f /src/librustc_driver
parent532a08b94726a399a4203b54536e63f7b634d36d (diff)
downloadrust-328c6c81bf7c1093b6bca34286d86f193a7d054e.tar.gz
rust-328c6c81bf7c1093b6bca34286d86f193a7d054e.zip
on-demand dylib dependency formats
Diffstat (limited to 'src/librustc_driver')
-rw-r--r--src/librustc_driver/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/driver.rs b/src/librustc_driver/driver.rs
index ac26b04cb7a..527fc04fe92 100644
--- a/src/librustc_driver/driver.rs
+++ b/src/librustc_driver/driver.rs
@@ -1049,7 +1049,7 @@ pub fn phase_4_translate_to_llvm<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
 
     time(time_passes,
          "resolving dependency formats",
-         || dependency_format::calculate(&tcx.sess));
+         || dependency_format::calculate(tcx));
 
     let translation =
         time(time_passes,