diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2021-08-12 16:46:58 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2021-08-15 15:17:37 -0500 |
| commit | 1bfa59afe042e03371c7c62860e94db1e20bd657 (patch) | |
| tree | aaea26c6a17098c250327e1f586d21687a10c1de | |
| parent | 74b17685fe6d73189dcaf105bc2f4405f6719e7b (diff) | |
| download | rust-1bfa59afe042e03371c7c62860e94db1e20bd657.tar.gz rust-1bfa59afe042e03371c7c62860e94db1e20bd657.zip | |
Update rustc_codegen_cratelift for working_dir change
| -rw-r--r-- | src/debuginfo/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debuginfo/mod.rs b/src/debuginfo/mod.rs index ceef65d5478..c471da83de2 100644 --- a/src/debuginfo/mod.rs +++ b/src/debuginfo/mod.rs @@ -66,7 +66,7 @@ impl<'tcx> DebugContext<'tcx> { rustc_interface::util::version_str().unwrap_or("unknown version"), cranelift_codegen::VERSION, ); - let comp_dir = tcx.sess.working_dir.to_string_lossy(false).into_owned(); + let comp_dir = tcx.sess.opts.working_dir.to_string_lossy(false).into_owned(); let (name, file_info) = match tcx.sess.local_crate_source_file.clone() { Some(path) => { let name = path.to_string_lossy().into_owned(); |
