Skip to content

Commit b786345

Browse files
committed
ssa: don't pack debuginfo on windows not only msvc
Small fix that prevents `thorin` from running on platforms where it definitely shouldn't be running. Signed-off-by: David Wood <[email protected]>
1 parent 1d207bb commit b786345

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/link.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>(
987987

988988
// On MSVC packed debug information is produced by the linker itself so
989989
// there's no need to do anything else here.
990-
SplitDebuginfo::Packed if sess.target.is_like_msvc => {}
990+
SplitDebuginfo::Packed if sess.target.is_like_windows => {}
991991

992992
// ... and otherwise we're processing a `*.dwp` packed dwarf file.
993993
//

0 commit comments

Comments
 (0)