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 <david.wood@huawei.com>
This commit is contained in:
David Wood 2022-04-14 11:47:26 +01:00
parent 1d207bbd51
commit b786345347

View File

@ -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.
//