Skip to content

Commit

Permalink
Merge commit '15c8d31392b9fbab3b3368b67acc4bbe5983115a' into cranelif…
Browse files Browse the repository at this point in the history
…t-rebase
  • Loading branch information
XAMPPRocky committed Apr 30, 2021
2 parents 9d07b92 + 15c8d31 commit ef53ebc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion compiler/rustc_codegen_cranelift/src/debuginfo/unwind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,10 @@ impl UnwindContext {
}
}

#[cfg(feature = "jit")]
#[cfg(all(feature = "jit", windows))]
pub(crate) unsafe fn register_jit(self, _jit_module: &cranelift_jit::JITModule) {}

#[cfg(all(feature = "jit", not(windows)))]
pub(crate) unsafe fn register_jit(self, jit_module: &cranelift_jit::JITModule) {
let mut eh_frame = EhFrame::from(super::emit::WriterRelocate::new(self.endian));
self.frame_table.write_eh_frame(&mut eh_frame).unwrap();
Expand Down

0 comments on commit ef53ebc

Please sign in to comment.