From b786345347d6abf0b2053dfdc70e501940277e62 Mon Sep 17 00:00:00 2001 From: David Wood Date: Thu, 14 Apr 2022 11:47:26 +0100 Subject: [PATCH] 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 --- compiler/rustc_codegen_ssa/src/back/link.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_ssa/src/back/link.rs b/compiler/rustc_codegen_ssa/src/back/link.rs index cf32d558d4a..4d20ed841d4 100644 --- a/compiler/rustc_codegen_ssa/src/back/link.rs +++ b/compiler/rustc_codegen_ssa/src/back/link.rs @@ -987,7 +987,7 @@ fn link_natively<'a, B: ArchiveBuilder<'a>>( // On MSVC packed debug information is produced by the linker itself so // there's no need to do anything else here. - SplitDebuginfo::Packed if sess.target.is_like_msvc => {} + SplitDebuginfo::Packed if sess.target.is_like_windows => {} // ... and otherwise we're processing a `*.dwp` packed dwarf file. //