Skip to content

Commit b6d24cd

Browse files
committed
gate gimli usage on windows with gnu
1 parent 8bb67c7 commit b6d24cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/symbolize/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ cfg_if::cfg_if! {
471471
mod dbghelp;
472472
use dbghelp as imp;
473473
} else if #[cfg(all(
474-
any(unix, windows),
474+
any(unix, all(windows, target_env = "gnu")),
475475
not(target_vendor = "uwp"),
476476
not(target_os = "emscripten"),
477477
any(not(backtrace_in_libstd), feature = "backtrace"),

0 commit comments

Comments
 (0)