diff options
| author | Michael Goulet <michael@errs.io> | 2025-04-06 23:37:30 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-04-07 20:48:40 +0000 |
| commit | effef88ac70f2d12229b77b8e428037df8028b7e (patch) | |
| tree | d120831677ff170df3a2a3538693a070a0bc83d2 /compiler/rustc_codegen_llvm/src/debuginfo | |
| parent | e643f59f6da3a84f43e75dea99afaa5b041ea6bf (diff) | |
| download | rust-effef88ac70f2d12229b77b8e428037df8028b7e.tar.gz rust-effef88ac70f2d12229b77b8e428037df8028b7e.zip | |
Simplify temp path creation a bit
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/debuginfo')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs index 2eaaf127e41..4b0ec4a6415 100644 --- a/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs +++ b/compiler/rustc_codegen_llvm/src/debuginfo/metadata.rs @@ -910,7 +910,7 @@ pub(crate) fn build_compile_unit_di_node<'ll, 'tcx>( && let Some(f) = output_filenames.split_dwarf_path( tcx.sess.split_debuginfo(), tcx.sess.opts.unstable_opts.split_dwarf_kind, - Some(codegen_unit_name), + codegen_unit_name, ) { // We get a path relative to the working directory from split_dwarf_path Some(tcx.sess.source_map().path_mapping().to_real_filename(f)) |
