We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d07b92 + 15c8d31 commit ef53ebcCopy full SHA for ef53ebc
compiler/rustc_codegen_cranelift/src/debuginfo/unwind.rs
@@ -71,7 +71,10 @@ impl UnwindContext {
71
}
72
73
74
- #[cfg(feature = "jit")]
+ #[cfg(all(feature = "jit", windows))]
75
+ pub(crate) unsafe fn register_jit(self, _jit_module: &cranelift_jit::JITModule) {}
76
+
77
+ #[cfg(all(feature = "jit", not(windows)))]
78
pub(crate) unsafe fn register_jit(self, jit_module: &cranelift_jit::JITModule) {
79
let mut eh_frame = EhFrame::from(super::emit::WriterRelocate::new(self.endian));
80
self.frame_table.write_eh_frame(&mut eh_frame).unwrap();
0 commit comments