Skip to content

Commit

Permalink
Fix build of thumbv7a-pc-windows-msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosi committed Nov 4, 2022
1 parent c2a5c3a commit 7c60236
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/panic_unwind/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ cfg_if::cfg_if! {
// L4Re is unix family but does not yet support unwinding.
#[path = "dummy.rs"]
mod real_imp;
} else if #[cfg(target_env = "msvc")] {
} else if #[cfg(all(target_env = "msvc", not(target_arch = "arm")))] {
// LLVM does not support unwinding on 32 bit ARM msvc (thumbv7a-pc-windows-msvc)
#[path = "seh.rs"]
mod real_imp;
} else if #[cfg(any(
Expand Down

0 comments on commit 7c60236

Please sign in to comment.