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:
parent
1d207bbd51
commit
b786345347
@ -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.
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user