Fix std compile error for windows-gnu targets without backtrace
feature
This commit is contained in:
parent
9f3b09116b
commit
ce3f0719e6
@ -1228,7 +1228,7 @@ compat_fn! {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_env = "gnu")]
|
||||
#[cfg(all(target_env = "gnu", feature = "backtrace"))]
|
||||
mod gnu {
|
||||
use super::*;
|
||||
|
||||
@ -1256,5 +1256,5 @@ mod gnu {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_env = "gnu")]
|
||||
#[cfg(all(target_env = "gnu", feature = "backtrace"))]
|
||||
pub use self::gnu::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user