Skip to content

Commit

Permalink
libpanic_unwind for Miri: make sure we have the SEH lang items when n…
Browse files Browse the repository at this point in the history
…eeded
  • Loading branch information
RalfJung committed Nov 15, 2019
1 parent 9e8c4e6 commit b6d93d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libpanic_unwind/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ cfg_if::cfg_if! {
if #[cfg(miri)] {
#[path = "miri.rs"]
mod imp;
// On MSVC we need the SEH lang items as well...
#[cfg(all(target_env = "msvc", not(target_arch = "aarch64")))]
#[allow(unused)]
mod seh;
} else if #[cfg(target_os = "emscripten")] {
#[path = "emcc.rs"]
mod imp;
Expand Down

0 comments on commit b6d93d9

Please sign in to comment.