Skip to content

Commit 44a71e5

Browse files
committed
Fix i686-pc-windows-gnu missing dbghelp module
1 parent 3c5ca12 commit 44a71e5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,11 @@ mod lock {
192192
}
193193
}
194194

195-
#[cfg(all(windows, target_env = "msvc", not(target_vendor = "uwp")))]
195+
#[cfg(all(
196+
windows,
197+
any(target_env = "msvc", all(target_env = "gnu", target_arch = "x86")),
198+
not(target_vendor = "uwp")
199+
))]
196200
mod dbghelp;
197201
#[cfg(windows)]
198202
mod windows;

0 commit comments

Comments
 (0)