Skip to content

Commit f6d0e14

Browse files
committed
Fix dead code warning on windows
1 parent 6b4e640 commit f6d0e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/debuginfo/emit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl WriterRelocate {
6767
}
6868

6969
/// Perform the collected relocations to be usable for JIT usage.
70-
#[cfg(feature = "jit")]
70+
#[cfg(all(feature = "jit", not(windows)))]
7171
pub(super) fn relocate_for_jit(mut self, jit_module: &cranelift_jit::JITModule) -> Vec<u8> {
7272
for reloc in self.relocs.drain(..) {
7373
match reloc.name {

0 commit comments

Comments
 (0)