diff options
| author | bors <bors@rust-lang.org> | 2023-01-26 09:14:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-26 09:14:05 +0000 |
| commit | 40fda7b3fe2b10c6e1a0568b59516f5e7f381886 (patch) | |
| tree | ae294b803823ef3df187e049bbee2d16c0eddbc6 /compiler/rustc_codegen_ssa | |
| parent | e187f8871e3d553181c9d2d4ac111197a139ca0d (diff) | |
| parent | 3aeafca070dbb6234646714db2fe0b960d7e2d80 (diff) | |
| download | rust-40fda7b3fe2b10c6e1a0568b59516f5e7f381886.tar.gz rust-40fda7b3fe2b10c6e1a0568b59516f5e7f381886.zip | |
Auto merge of #107318 - matthiaskrgr:rollup-776kd81, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #97373 (impl DispatchFromDyn for Cell and UnsafeCell) - #106625 (Remove backwards compat for LLVM 12 coverage format) - #106779 (Avoid __cxa_thread_atexit_impl on Emscripten) - #106811 (Append .dwp to the binary filename instead of replacing the existing extension.) - #106836 (Remove optimistic spinning from `mpsc::SyncSender`) - #106946 (implement Hash for proc_macro::LineColumn) - #107074 (remove unnecessary check for opaque types) - #107287 (Improve fn pointer notes) - #107304 (Use `can_eq` to compare types for default assoc type error) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/link.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index b148e4185a6..0a7bf6ff00c 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -599,7 +599,8 @@ fn link_dwarf_object<'a>( cg_results: &CodegenResults, executable_out_filename: &Path, ) { - let dwp_out_filename = executable_out_filename.with_extension("dwp"); + let mut dwp_out_filename = executable_out_filename.to_path_buf().into_os_string(); + dwp_out_filename.push(".dwp"); debug!(?dwp_out_filename, ?executable_out_filename); #[derive(Default)] |
